summaryrefslogtreecommitdiffstats
path: root/meta
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-16 10:37:57 +0000
commitee6ff5ce83d59c0d0d55f4a88ad88ac8f06457c9 (patch)
tree753f07882c06436c0f8ab42e45575d6b5b2a740d /meta
parent7a308a79196576e8d80f2e2b46141d150d2e8229 (diff)
downloadpoky-ee6ff5ce83d59c0d0d55f4a88ad88ac8f06457c9.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) (From OE-Core rev: 0666c66b2719f59e556c12d5875dea696006ed0b) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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" % \