[oe-commits] Richard Purdie : Revert "rootfs: Do not uninstall update-rc.d"

git at git.openembedded.org git at git.openembedded.org
Fri Sep 11 22:41:56 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 5827dd38d75da91d58d28a9f3daa8890f600d196
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5827dd38d75da91d58d28a9f3daa8890f600d196

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Thu Sep 10 16:50:18 2015 +0100

Revert "rootfs: Do not uninstall update-rc.d"

This reverts commit acf90b6c299afe9e9c8fa33c3c6992bfcf40fbbf.

(Reverted to apply the better v2 of the patch)

---

 meta/lib/oe/rootfs.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index ba62273..2372226 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -240,7 +240,8 @@ class Rootfs(object):
                     pkgs_installed = installed_pkgs.read().splitlines()
                     for pkg_installed in pkgs_installed[:]:
                         pkg = pkg_installed.split()[0]
-                        if pkg in ["base-passwd",
+                        if pkg in ["update-rc.d",
+                                "base-passwd",
                                 "shadow",
                                 "update-alternatives",
                                 self.d.getVar("ROOTFS_BOOTSTRAP_INSTALL", True)



More information about the Openembedded-commits mailing list