mirror of
https://github.com/KDE/kde-linux.git
synced 2026-05-24 16:30:18 -04:00
Don't fail live setup if /run/extensions already exists
The openqa image will be mounted here, so systemd will have already created the directory. Add -p option and split so it doesn't fail if this is the case.
This commit is contained in:
@@ -15,7 +15,8 @@ if [ "$(readlink --canonicalize /dev/disk/by-partlabel/KDELinuxLive)" != "$(read
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir --mode 0755 /run/extensions/
|
||||
mkdir --mode 0755 -p /run
|
||||
mkdir --mode 0755 -p /run/extensions/
|
||||
# Mind that /live is only available if the erofs is mounted as rootfs. On the final system we selectively only mount usr from the erofs!
|
||||
ln -s /live /run/extensions/live
|
||||
systemd-sysext refresh
|
||||
|
||||
Reference in New Issue
Block a user