projects
/
grml-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop support for lenny, squeeze, wheezy, jessie, stretch + buster Debian releases...
[grml-live.git]
/
etc
/
grml
/
fai
/
config
/
scripts
/
GRMLBASE
/
15-initsetup
diff --git
a/etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
b/etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
index
cabf19b
..
efd9e64
100755
(executable)
--- a/
etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
+++ b/
etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
@@
-16,14
+16,10
@@
systemd_setup() {
echo "Enabling user '$USERNAME' for autologin"
sed -i "s/\$USERNAME/$USERNAME/" "$target"/etc/systemd/system/getty@tty*.service.d/override.conf
echo "Enabling user '$USERNAME' for autologin"
sed -i "s/\$USERNAME/$USERNAME/" "$target"/etc/systemd/system/getty@tty*.service.d/override.conf
- #
FIXME - ssh-bootoption is currently broke
n
- # $ROOTCMD systemctl enable ssh-bootoption.service || echo "failed to enable ssh-bootoption.service"
+ #
workaround for #992847 to workaround /lib/systemd -> /usr/lib/systemd transitio
n
+ $ROOTCMD rm -f /etc/systemd/system/syslog.service
- # fails on overlayfs with
- # "Failed to unmount transient /etc/machine-id file in our private namespace: Invalid argument"
- $ROOTCMD systemctl mask systemd-machine-id-commit.service || echo "failed to mask $systemd-machine-id-commit.service"
$ROOTCMD systemctl preset-all
$ROOTCMD systemctl preset-all
-
$ROOTCMD systemctl set-default grml-boot.target
}
$ROOTCMD systemctl set-default grml-boot.target
}