]> code.ossystems Code Review - openembedded-core.git/commit
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:27:14 +0000 (12:27 +0100)
commit08a5ef44c7aa58ffcad0457e8dda3504f2c3192b
tree7bb92f2dd795816d038657acc4a17572a4a79acd
parent800b256390b22c3d3d8d6a69f6fb668376a5030b
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]

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