Files
os/image/installer/mkosi.postinst.chroot
2026-10-24 09:06:06 +02:00

9 lines
305 B
Bash

#!/bin/sh
set -e
# The whole image is the initrd: the kernel starts /init.
ln -sf /usr/lib/systemd/systemd /init
chmod +x /usr/bin/sf-install
systemctl enable sf-install.service
systemctl mask getty@tty1.service serial-getty@ttyS0.service systemd-firstboot.service
systemctl set-default multi-user.target