]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rootfs_ipkg: fix BAD_RECOMMENDATIONS handling
authorRoss Burton <ross.burton@intel.com>
Tue, 19 Feb 2013 21:31:52 +0000 (21:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Feb 2013 22:37:51 +0000 (14:37 -0800)
commit6bf55c6e67b371c0467ae1be4d7f713d6a3dcf3b
treebb1328b6af091aa880c5fb16799b5f06fe0af9e5
parentdb0a02492c2a53c1917b753bcf21c4ee7c0ecf59
rootfs_ipkg: fix BAD_RECOMMENDATIONS handling

If multiple versions of the same package are in the package feed then the
generate status file would only contains a "deinstall" status for the last one,
which meant that BAD_RECOMMENDATIONS wouldn't actually work.

Use awk instead of grep and stop reading when we reach a newline, so we only
ever output a single stanza.

(From OE-Core rev: a5362de60c0051f16b88a40bd9cb41915bee0b0f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs_ipk.bbclass