]> code.ossystems Code Review - openembedded-core.git/commit
rootfs_ipk: Ensure that BAD_RECOMMENDATIONS are honoured for all architectures
authorPhil Blundell <pb@pbcl.net>
Sun, 2 Feb 2014 12:38:07 +0000 (12:38 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 2 Feb 2014 22:37:24 +0000 (22:37 +0000)
commit12d7b44c817bdf6eea425bda607379594057c3fb
treec67444ef940ec227bd5e426a6e75ad0528b52b66
parentf606f69254097dc6b3517416b43ddbf80027a8c1
rootfs_ipk: Ensure that BAD_RECOMMENDATIONS are honoured for all architectures

Commit a5362de60c0051f16b88a40bd9cb41915bee0b0f restricted us to writing
only a single entry to the status file for any given package.  This
avoids writing garbage entries (with no Status) when multiple versions
of the same package exist in the feed.  However, in the case where the
same version exists for multiple architectures (for example, has been
built for both cortexa15 and generic armv7a), we do need to write out
status file entries for all of them since we can't trivially determine
which one opkg will decide to install.

Fix this by undoing a5362de60c0051f16b88a40bd9cb41915bee0b0f and writing
out an entry for everything that matches, but ensuring that we force the
Status to the correct value for each one.

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs_ipk.bbclass