[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3231/8267] package_manager.py: correctly remove all dependent packages



commit b18901d9bcecb4de703f1c2c6a1cd011bb21b88e
Author: Samuli Piippo <samuli piippo qt io>
Date:   Tue Nov 1 15:22:38 2016 +0200

    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>

 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 3cee973..a9d216a 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" % \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]