From ef88234e7a6038287597cd3be1ab075f2c4efa0c Mon Sep 17 00:00:00 2001 From: sose Date: Sun, 27 Sep 2020 23:14:17 -0700 Subject: [PATCH] remove @@ROOT@@ from scripts as it does not work there --- includes.chroot/etc/calamares/userscripts/autologin.sh | 10 +++++----- .../etc/calamares/userscripts/confirm_install.sh | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes.chroot/etc/calamares/userscripts/autologin.sh b/includes.chroot/etc/calamares/userscripts/autologin.sh index 863f1b7..fbbc9f8 100755 --- a/includes.chroot/etc/calamares/userscripts/autologin.sh +++ b/includes.chroot/etc/calamares/userscripts/autologin.sh @@ -1,6 +1,6 @@ #!/bin/sh -mkdir -p '@@ROOT@@/etc/systemd/system/getty@tty1.service.d' -echo "[Service]" > '@@ROOT@@/etc/systemd/system/getty@tty1.service.d/override.conf' -echo "ExecStart=" >> '@@ROOT@@/etc/systemd/system/getty@tty1.service.d/override.conf' -echo "ExecStart=-/sbin/agetty --autologin root %I \$TERM" >> '@@ROOT@@/etc/systemd/system/getty@tty1.service.d/override.conf' -echo "Type=idle" >> '@@ROOT@@/etc/systemd/system/getty@tty1.service.d/override.conf' +mkdir -p '/etc/systemd/system/getty@tty1.service.d' +echo "[Service]" > '/etc/systemd/system/getty@tty1.service.d/override.conf' +echo "ExecStart=" >> '/etc/systemd/system/getty@tty1.service.d/override.conf' +echo "ExecStart=-/sbin/agetty --autologin root %I \$TERM" >> '/etc/systemd/system/getty@tty1.service.d/override.conf' +echo "Type=idle" >> '/etc/systemd/system/getty@tty1.service.d/override.conf' diff --git a/includes.chroot/etc/calamares/userscripts/confirm_install.sh b/includes.chroot/etc/calamares/userscripts/confirm_install.sh index cb27ceb..fbc83c7 100755 --- a/includes.chroot/etc/calamares/userscripts/confirm_install.sh +++ b/includes.chroot/etc/calamares/userscripts/confirm_install.sh @@ -1,2 +1,2 @@ #!/bin/sh -rm '@@ROOT@@/tilde/tl-setup/is_live' +rm '/tilde/tl-setup/is_live'