zram for ubuntu; kexec.sh for single distro

This commit is contained in:
Dan
2026-04-26 19:54:23 +02:00
parent 670530ca5e
commit 34de424611
4 changed files with 14 additions and 0 deletions

View File

@@ -158,6 +158,7 @@ echo "=== Assembling boot partition ==="
mv /tmp/usb_root/boot/efi/* /tmp/usb_efi/ 2>/dev/null || true
sed "s|__DISTRO__|$ROOT_LABEL|" /repo/boot/cmdline.txt > /tmp/usb_efi/cmdline.txt
cp /repo/boot/vram.txt /tmp/usb_efi/
cp /repo/boot/kexec.sh /tmp/usb_efi/
sync
umount /tmp/usb_root /tmp/usb_efi