[OpenWrt-Devel] [PATCH] mac80211: Add dependency on ip (iproute2) to cfg80211

Felix Fietkau nbd at openwrt.org
Tue Nov 17 07:03:43 EST 2015

On 2015-11-17 12:59, Luiz Angelo Daros de Luca wrote:
> Is there a way to add "provides" to a package? In RPM, I would solve
> this adding "Provides: ip" to busybox.
> This could also help when a kern module gets built-in. Kernel package
> could provide the incorporated kmod-xxx module. It would be better if
> both kernel and kmod-xxx could automatically provide every single module
> it provides, so packages could requires modules and not their packages,
> whether it is built-in or loadable module.
> Just like the case of busybox, if someone changes a module to not be
> built-in (a configuration), it will require a code (makefile) change in
> order to fix broken deps.
I personally think changing package metadata for this this is a waste of
time. There are so many different ways in which you can screw up a build
by customizing the busybox configuration, and it would be a futile
effort to try to add checks for them all.

People that customize their busybox config should just check the output
of ./scripts/diffconfig.sh for any missing options if they run into any
issues. Problematic changes are typically very easily visible there,
since the output contains very few items aside from changes directly
made by the user or options that went out of sync with the default

- Felix
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list