opkg: Add patch to fix removing packages with recommends
authorAndrei Gherzan <andrei@gherzan.ro>
Sun, 21 Oct 2012 15:40:40 +0000 (18:40 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 23 Oct 2012 11:28:32 +0000 (12:28 +0100)
commit289648bc2be3a225e026d825fba6b8645dcefb5d
treedf7c81cda9e933e2e7404085b17d012c885020d0
parentb0da446c579e3fbf36cc8959fd9f5496b05176e9
opkg: Add patch to fix removing packages with recommends

While removing a package with opkg, the process shouldn't be blocked if
another package RECOMMENDS the package wanted to be removed. This is
because, while generating the dependencies, opkg adds dependencies to
depended_upon_by even if dependency's type is RECOMMEND. The fix is to
skip dependencies of type RECOMMEND while constructing depended_upon_by.

[YOCTO: #2431]

(From OE-Core rev: 08a5ef44c7aa58ffcad0457e8dda3504f2c3192b)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg/don-t-add-recommends-pkgs-to-depended-upon-by.patch [new file with mode: 0644]
meta/recipes-devtools/opkg/opkg_svn.bb