]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
rootfs: Do not uninstall update-rc.d
authorKhem Raj <raj.khem@gmail.com>
Sun, 6 Sep 2015 15:25:39 +0000 (15:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Sep 2015 15:56:35 +0000 (16:56 +0100)
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@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/rootfs.py

index 76950ec77a01612ceb04cce3e3d2ef6addd1db99..692edb1e291435d91db21277c078d724aa590cd1 100644 (file)
@@ -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)