summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiago De Franco <hiago.franco@toradex.com>2024-03-13 21:54:15 -0300
committerHiago De Franco <hiago.franco@toradex.com>2024-03-14 16:50:22 -0300
commit0ceda8300f359e74364d00c3877a6bd8ec7701eb (patch)
treea94e0ac78a53e0232f6b2949501570158b656a72
parent6b82db04e636e2617f88a0c8a198c47d71263870 (diff)
distro: include: tdx-base.inc: Set ROOT_HOME to '/root'HEADmaster
Current master and scarthgap-7.x.y updated systemd recipe to version 255.1. The recipe now prints ``` WARNING: systemd-1_255.1-r0 do_install: Using /home/root as root user's home directory is not fully supported by systemd ``` Therefore, use /root instead of /home/root as $ROOT_HOME to fix this warning. Related-to: ELB-5646 Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
-rw-r--r--conf/distro/include/tdx-base.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/distro/include/tdx-base.inc b/conf/distro/include/tdx-base.inc
index e25f1b1..98bd293 100644
--- a/conf/distro/include/tdx-base.inc
+++ b/conf/distro/include/tdx-base.inc
@@ -88,3 +88,6 @@ PREFERRED_RPROVIDER_opencl-icd-loader:imxgpu = "libopencl-imx"
# keep the dtb vendor directories in fitimage node names
KERNEL_DTBVENDORED = "1"
+
+# Defines the root home directory as /root, as required by systemd.
+ROOT_HOME = "/root"