]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "rootfs: Do not uninstall update-rc.d"
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Sep 2015 15:50:18 +0000 (16:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Sep 2015 15:50:18 +0000 (16:50 +0100)
This reverts commit acf90b6c299afe9e9c8fa33c3c6992bfcf40fbbf.

(Reverted to apply the better v2 of the patch)

meta/lib/oe/rootfs.py

index ba62273c644879e270d05efb7fab23861a0847c4..2372226e78cdd0d72f03bf27fb41bb7fd14b5c80 100644 (file)
@@ -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)