mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
systemd: fix wrong path of tmp.mount
According to meson.build, tmp.mount is installed under "prefixdir/'lib/systemd/system'", but for 64bit system, rootlibdir is /usr/lib64/systemd/system, this make tmp.mount not removed, and /tmp still mounted as tmpfs filesystem. Fixed by using rootlibexecdir, which is /usr/lib/systemd/system. (From OE-Core rev: b44734c889b1b09fbbaea4d9195026707c55cbee) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4d50069d78
commit
838ca52a74
@@ -320,8 +320,8 @@ do_install() {
|
||||
# if the user requests /tmp be on persistent storage (i.e. not volatile)
|
||||
# then don't use a tmpfs for /tmp
|
||||
if [ "${VOLATILE_TMP_DIR}" != "yes" ]; then
|
||||
rm -f ${D}${rootlibdir}/systemd/system/tmp.mount
|
||||
rm -f ${D}${rootlibdir}/systemd/system/local-fs.target.wants/tmp.mount
|
||||
rm -f ${D}${rootlibexecdir}/systemd/system/tmp.mount
|
||||
rm -f ${D}${rootlibexecdir}/systemd/system/local-fs.target.wants/tmp.mount
|
||||
fi
|
||||
|
||||
install -d ${D}${systemd_system_unitdir}/graphical.target.wants
|
||||
|
||||
Reference in New Issue
Block a user