diff options
| author | Arslaan Pathan <[email protected]> | 2026-06-09 18:18:33 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-06-09 18:18:33 +1200 |
| commit | 127fa536f0fee00bc4055d0a4f6b66eaa5f8611c (patch) | |
| tree | c2bc0d239c3ebe4f780220b25784643ad9aa08df /nix/rootfs.nix | |
| parent | c8b1fc493199bd0cd11b729157c669827bea522a (diff) | |
| download | yerbalinux-127fa536f0fee00bc4055d0a4f6b66eaa5f8611c.tar.xz yerbalinux-127fa536f0fee00bc4055d0a4f6b66eaa5f8611c.zip | |
WHY THE TTY0 NOT TTY0ING
Diffstat (limited to 'nix/rootfs.nix')
| -rw-r--r-- | nix/rootfs.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nix/rootfs.nix b/nix/rootfs.nix index 9bea6db..b6a8a41 100644 --- a/nix/rootfs.nix +++ b/nix/rootfs.nix @@ -18,7 +18,8 @@ stdenv.mkDerivation { echo "sysfs /sys sysfs defaults 0 0" >> rootfs/etc/fstab echo "devtmpfs /dev devtmpfs defaults 0 0" >> rootfs/etc/fstab echo "::sysinit:/bin/mount -a" > rootfs/etc/inittab - echo "::askfirst:/bin/sh" >> rootfs/etc/inittab + echo "tty0::askfirst:/bin/sh" >> rootfs/etc/inittab + echo "ttyS0::askfirst:/bin/sh" >> rootfs/etc/inittab echo "::ctrlaltdel:/sbin/reboot" >> rootfs/etc/inittab echo "yerba-live" > rootfs/etc/hostname mksquashfs rootfs $out -comp zstd -noappend |
