summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2024-04-18 19:07:27 +0100
committerBlake Romero <blake@blkrom.com>2024-04-18 19:07:27 +0100
commitfaa91cfc1db4fb26ffdcc96d09247b8daef4881c (patch)
tree9526c34b9b517d8cccf7fc08d2d74beaea8e1302
parentd8a5f65e9ed8ca7741700bcc1aab86e6bb1ec1e0 (diff)
Add booster as custom initrd for grub
-rwxr-xr-xinstall-artix.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/install-artix.sh b/install-artix.sh
index 1c4df58..f53c9ec 100755
--- a/install-artix.sh
+++ b/install-artix.sh
@@ -317,6 +317,11 @@ sed "s/#MAKEFLAGS=\".*\"/MAKEFLAGS=\"-j$(nproc)\"/" \
echo "compress: zstd -9 -T0
modules: btrfs" > /mnt/etc/booster.yaml
artix-chroot /mnt bash -c "/usr/lib/booster/regenerate_images"
+# Add to GRUB
+echo "
+# Add Booster as custom initrd
+GRUB_EARLY_INITRD_LINUX_CUSTOM=booster-linux.img
+" >> /mnt/etc/default/grub
# SETUP BOOTLOADER
# --------------------------------------------------------------------