summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package_manager.py
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:33 +0000
commitb18901d9bcecb4de703f1c2c6a1cd011bb21b88e (patch)
tree2ce6d4c7aff4056106808b8d22194445bf2985cc /meta/lib/oe/package_manager.py
parent970436f546bc73f31c0692eb3aecc134c96433a9 (diff)
downloadpoky-b18901d9bcecb4de703f1c2c6a1cd011bb21b88e.tar.gz
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>
Diffstat (limited to 'meta/lib/oe/package_manager.py')
-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):
1776 1776
1777 def remove(self, pkgs, with_dependencies=True): 1777 def remove(self, pkgs, with_dependencies=True):
1778 if with_dependencies: 1778 if with_dependencies:
1779 cmd = "%s %s --force-depends --force-remove --force-removal-of-dependent-packages remove %s" % \ 1779 cmd = "%s %s --force-remove --force-removal-of-dependent-packages remove %s" % \
1780 (self.opkg_cmd, self.opkg_args, ' '.join(pkgs)) 1780 (self.opkg_cmd, self.opkg_args, ' '.join(pkgs))
1781 else: 1781 else:
1782 cmd = "%s %s --force-depends remove %s" % \ 1782 cmd = "%s %s --force-depends remove %s" % \