From f710f3f4ae86f874f47d2d77bb50508e967cfdc9 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Fri, 1 May 2020 14:08:32 -0500 Subject: dunfell: sysvinit package needed for /run/lock Upstream systemd made the inclusion of the tmpfiles.d/legacy.conf a feature that is only provided if the sysvinit PACKAGE is set. By default systemd upstream sets this but OpenBMC overrides that in this file. The legacy.conf provides among other things, a creation of the /run/lock directory. Applications like fw_printenv and fw_setenv rely on the /run/lock directory being present. opened systemd/systemd#15668 to see if there could be a more efficient way of getting /run/lock. Tying it to sysvinit and having it in a file called legacy.conf just doesn't make a lot of sense to me. Tested: Verified /run/lock is now present in QEMU boot and that fw_printenv worked. (From meta-phosphor rev: 561141712e568d555de414363b1115f37fe2cfce) Change-Id: I32b3560b30a2743638bfe1402ba3c72203b4ab0b Signed-off-by: Andrew Geissler --- meta-phosphor/recipes-core/systemd/systemd_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-phosphor') diff --git a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend index 16ba8f7a33..5aef993a2f 100644 --- a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend +++ b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend @@ -2,7 +2,7 @@ FILES_${PN}-catalog-extralocales = \ "${exec_prefix}/lib/systemd/catalog/*.*.catalog" PACKAGES =+ "${PN}-catalog-extralocales" PACKAGECONFIG = "pam hostnamed networkd randomseed resolved sysusers timedated \ - timesyncd xz kmod coredump" + timesyncd xz kmod coredump sysvinit" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += "file://default.network" -- cgit v1.2.3