1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

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

(From OE-Core rev: acf90b6c299afe9e9c8fa33c3c6992bfcf40fbbf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2015-09-06 15:25:39 +00:00
committed by Richard Purdie
parent 697428cbba
commit a0590d1ada
+1 -2
View 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)