]> code.ossystems Code Review - openembedded-core.git/commit
rootfs_ipk.bbclass: Ensure bad recommendations persist in the status file
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Nov 2011 08:36:55 +0000 (08:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Jan 2012 16:39:02 +0000 (16:39 +0000)
commit525743f5513feff67fb8fd2e4c7a1a05ae22ddc9
tree92793a299f36703f35cef42c851a41b2aaa9ab33
parent7fc9855421222eb671e414ef7bc190f53521e914
rootfs_ipk.bbclass: Ensure bad recommendations persist in the status file

Currently bad recommendations are added to the status file with status
"ok". After a single opkg command, whilst it will ignore the recommendation,
the status changes to "installed" even if the recommended package was not
installed. Whilst this is likely a glitch in opkg's logic, the correct
way to persist the information in the status file is to set the status
to "hold" as deinstall packages with that status remain. With this change
the bad recommendations persist accross multiple opkg runs and the system
behaves as expected.

[YOCTO #1758]

(From OE-Core rev: 215ff6b2e9676c8c7dd8acfd696151bcd0f1490f)

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