summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2024-05-30 17:02:34 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-13 09:11:17 +0100
commit838ca52a741acbffd082435406ea44e833789a14 (patch)
treec3c2e2a15bab9fd2068fbb176b2addc1974f4e62 /meta
parent4d50069d78ca876b2983004df8e92bda24fa779e (diff)
downloadpoky-838ca52a741acbffd082435406ea44e833789a14.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/systemd/systemd_255.6.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd_255.6.bb b/meta/recipes-core/systemd/systemd_255.6.bb
index 62842d43c8..15b631fc07 100644
--- a/meta/recipes-core/systemd/systemd_255.6.bb
+++ b/meta/recipes-core/systemd/systemd_255.6.bb
@@ -320,8 +320,8 @@ do_install() {
320 # if the user requests /tmp be on persistent storage (i.e. not volatile) 320 # if the user requests /tmp be on persistent storage (i.e. not volatile)
321 # then don't use a tmpfs for /tmp 321 # then don't use a tmpfs for /tmp
322 if [ "${VOLATILE_TMP_DIR}" != "yes" ]; then 322 if [ "${VOLATILE_TMP_DIR}" != "yes" ]; then
323 rm -f ${D}${rootlibdir}/systemd/system/tmp.mount 323 rm -f ${D}${rootlibexecdir}/systemd/system/tmp.mount
324 rm -f ${D}${rootlibdir}/systemd/system/local-fs.target.wants/tmp.mount 324 rm -f ${D}${rootlibexecdir}/systemd/system/local-fs.target.wants/tmp.mount
325 fi 325 fi
326 326
327 install -d ${D}${systemd_system_unitdir}/graphical.target.wants 327 install -d ${D}${systemd_system_unitdir}/graphical.target.wants