[oe-commits] Khem Raj : rootfs: Do not uninstall update-rc.d

git at git.openembedded.org git at git.openembedded.org
Wed Sep 9 13:53:08 UTC 2015


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

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sun Sep  6 15:25:39 2015 +0000

rootfs: Do not uninstall update-rc.d

update-rc.d is now needed by systemd to interact with sysv
scripts, so if we have a mixed system, then we can not uninstall
update-rc.d as it is going to break systemd functionality

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

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

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



More information about the Openembedded-commits mailing list