diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2020-05-01 22:08:32 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-05-04 19:04:12 +0300 |
commit | f710f3f4ae86f874f47d2d77bb50508e967cfdc9 (patch) | |
tree | 79198767d3b1b8cc207950e73451c8ee0ffa5285 /meta-phosphor/recipes-core/systemd/systemd_%.bbappend | |
parent | d2b10c186ec709ba03b25f8c1fcb98074ebaa580 (diff) | |
download | openbmc-f710f3f4ae86f874f47d2d77bb50508e967cfdc9.tar.xz |
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 <geissonator@yahoo.com>
Diffstat (limited to 'meta-phosphor/recipes-core/systemd/systemd_%.bbappend')
-rw-r--r-- | meta-phosphor/recipes-core/systemd/systemd_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-core/systemd/systemd_%.bbappend b/meta-phosphor/recipes-core/systemd/systemd_%.bbappend index 16ba8f7a3..5aef993a2 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" |