ks: simplify to live rootfs partitioning — installer ks (LUKS) split planned v0.2.1

This commit is contained in:
veilor 2026-04-30 04:12:26 +01:00
parent 3b5341c77a
commit 1d5147ba11

View file

@ -30,15 +30,11 @@ user --name=admin --groups=wheel --gecos="veilor admin" --password="" --plaintex
# ── Bootloader: kernel hardening flags ── # ── Bootloader: kernel hardening flags ──
bootloader --location=mbr --append="lockdown=integrity slab_nomerge init_on_alloc=1 init_on_free=1 randomize_kstack_offset=on vsyscall=none" bootloader --location=mbr --append="lockdown=integrity slab_nomerge init_on_alloc=1 init_on_free=1 randomize_kstack_offset=on vsyscall=none"
# ── Disk: BIOS+UEFI, LUKS2, btrfs subvols, zram swap (no disk swap) ── # ── Live ISO partitioning (flat — for live rootfs build only) ──
# Note: kickstart commands must be single-line — backslash continuations not supported. # NOTE: This is the *live* image kickstart. Final installed system uses
zerombr # a separate installer kickstart (kickstart/install.ks, planned v0.2.1)
clearpart --all --initlabel # that does LUKS2 + btrfs subvols on the target disk.
reqpart --add-boot part / --fstype=ext4 --size=8192
part /boot --fstype=ext4 --size=1024 --asprimary
part pv.veilor --size=1 --grow --encrypted --luks-version=luks2 --pbkdf=argon2id --pbkdf-memory=1048576 --pbkdf-time=9000 --cipher=aes-xts-plain64
volgroup veilor pv.veilor
logvol / --vgname=veilor --name=root --fstype=btrfs --size=1 --grow --mkfsoptions=--mixed
# ── Packages ── # ── Packages ──
%packages --excludedocs %packages --excludedocs