summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-09-12 15:51:39 +0800
committertranch <tranch.xiao@gmail.com>2026-09-12 15:51:39 +0800
commit115f7475e2716410fa5603114d3ec8c3211b9ca3 (patch)
treeac78ad93a89c46f4e467c66b2ec081915d232ad9
parent07853e72cb08f745c04e04f756452a76fd4cc8cf (diff)
downloadAeroCore-OS-115f7475e2716410fa5603114d3ec8c3211b9ca3.tar.gz
AeroCore-OS-115f7475e2716410fa5603114d3ec8c3211b9ca3.zip
Fix LiveISO root path initializationtesting-44.20260912.1
Create the /root symlink target before early-boot services run. This avoids systemd-tmpfiles failures that delay Anaconda startup.
-rwxr-xr-xinstaller/build.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/installer/build.sh b/installer/build.sh
index 1920085..34c55b7 100755
--- a/installer/build.sh
+++ b/installer/build.sh
@@ -11,6 +11,10 @@ OSTREE_IMAGE_REF=${OSTREE_IMAGE_REF:?}
ostree_origin_ref="${OSTREE_IMAGE_REF}:${INSTALL_IMAGE_TAG}"
live_version_id="$(awk -F= '$1 == "VERSION_ID" { gsub(/\"/, "", $2); print $2; exit }' /usr/lib/os-release)"
+# The live image may ship /root as a symlink. Ensure its target exists before
+# systemd-tmpfiles and other early-boot services process root-owned paths.
+mkdir -p "$(realpath /root)"
+
# The installer is a live KDE environment. Keep the installed system payload
# separate: it is the AeroCore image, while BASE_IMAGE provides the live UI.
# Bazzite excludes some base packages from normal transactions. The live