summaryrefslogtreecommitdiff
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2016-11-01 15:22:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-06 23:35:17 +0000
commita82e8725902086dab785a0b14305927dae1e4e8d (patch)
treeaac48f5b873531bd9b4654407177fa60d39db976 /meta/lib/oe
parentddbab61f47efd9b4fde38ef8f0f3482c78abe37c (diff)
downloadopenembedded-core-a82e8725902086dab785a0b14305927dae1e4e8d.tar.gz
openembedded-core-a82e8725902086dab785a0b14305927dae1e4e8d.tar.bz2
openembedded-core-a82e8725902086dab785a0b14305927dae1e4e8d.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. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/package_manager.py2
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" % \