Skip to content
Snippets Groups Projects

First boot setup wizard and tuigreet integration

Merged minute requested to merge setup-and-login into main
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -247,10 +247,12 @@ set -- "$@" \
--customize-hook='printf "[Service]\nExecStart=\nExecStart=-/sbin/agetty --autologin root --noclear %%I \$TERM\n" > "$1"/etc/systemd/system/getty@tty1.service.d/override.conf' \
--customize-hook='copy-in reform-setup-sway-config /etc' \
--customize-hook='copy-in reform-setup /usr/bin' \
--customize-hook='copy-in reform-setup-cleanup.sh /usr/libexec' \
--customize-hook='copy-in tuigreet /usr/bin' \
--customize-hook='chmod 755 "$1"/usr/bin/reform-setup' \
--customize-hook='chmod 755 "$1"/usr/libexec/reform-setup-cleanup.sh' \
--customize-hook='chmod 755 "$1"/usr/bin/tuigreet' \
--customize-hook='echo "/usr/bin/sway --config /etc/reform-setup-sway-config" > "$1"/etc/profile.d/reform-setup'
--customize-hook='echo "/usr/bin/sway --config /etc/reform-setup-sway-config" > "$1"/etc/profile.d/reform-setup.sh'
# populate /etc
set -- "$@" \
--essential-hook='{ echo LABEL=reformsdroot / auto errors=remount-ro 0 1; echo LABEL=reformsdboot /boot auto errors=remount-ro 0 1; } > "$1"/etc/fstab' \
Loading