[LEDE-DEV] [PATCH v2] scripts: metadata: always resolve dependencies through provides list

Matthias Schiffer mschiffer at universe-factory.net
Thu Jul 20 12:52:35 PDT 2017


On 07/08/2017 09:18 PM, Matthias Schiffer wrote:
> Instead of adding virtual packages to the normal package list, keep a
> separate list for provides, make each package provide itself, and resolve
> all dependencies through this list. This allows to use PROVIDES to replace
> existing packages.
> 
> A side effect of the changes in the makefile dependency logic is that
> build dependencies are now always interpreted as source package names,
> instead of putting build and runtime dependencies into the same list.
> 
> Fixes FS#837.
> 
> Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>

The patch has been tested in Gluon for a while now and it seems to work
correctly. It may break some feed packages that are incorrectly specifying
binary instead of source package names in PKG_BUILD_DEPENDS; these packages
will need to be fixed when we notice them.

If nobody vetoes, I'd like to push it to master soon. The patch is also in
my staging tree for everybody to test.

Matthias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20170720/ad742f52/attachment.sig>


More information about the Lede-dev mailing list