diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2016-11-01 15:22:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-16 10:33:35 +0000 |
commit | 0666c66b2719f59e556c12d5875dea696006ed0b (patch) | |
tree | c20a5f8e4c6a850cc13420fc48c819c56d178196 /meta/lib/oe/package_manager.py | |
parent | 8364558a2904d21c9b31d29bfb8f2d9cbeac8659 (diff) | |
download | openembedded-core-0666c66b2719f59e556c12d5875dea696006ed0b.tar.gz openembedded-core-0666c66b2719f59e556c12d5875dea696006ed0b.tar.bz2 openembedded-core-0666c66b2719f59e556c12d5875dea696006ed0b.zip |
package_manager.py: correctly remove all dependent packages
Do not use --force-depends when trying to remove all dependent packages,
as it removes only the selected package and not the dependent packages.
(From OE-Core rev: a82e8725902086dab785a0b14305927dae1e4e8d)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/lib/oe/package_manager.py')
-rw-r--r-- | meta/lib/oe/package_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 3cee9730a8..a9d216a88e 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -1776,7 +1776,7 @@ class OpkgPM(OpkgDpkgPM): def remove(self, pkgs, with_dependencies=True): if with_dependencies: - cmd = "%s %s --force-depends --force-remove --force-removal-of-dependent-packages remove %s" % \ + cmd = "%s %s --force-remove --force-removal-of-dependent-packages remove %s" % \ (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) else: cmd = "%s %s --force-depends remove %s" % \ |