UEFI: GRUB probably ain't it, chief

I'm thinking maybe I hard-code a Linux command line in my kernel image
and place the EFI stubby boi in my ESP as a file named bootx64.efi,
because I want it to *work*
This commit is contained in:
Andrea Rogers 2024-11-04 02:38:22 -06:00
commit 81b3326a13

View file

@ -1,5 +1,5 @@
PLATFORM_PHONYS := partition kernel
PLATFORM_PKGS := linux-lts grub-efi efibootmgr
PLATFORM_PKGS := linux-lts
BOOTFS_PART := 1
ROOTFS_PART := 2
@ -10,3 +10,12 @@ RUNLEVEL_DEFAULT ?= acpid crond
partition: blkcheck
$(DOSU) fdisk $(BLKDEV) <<<$$'g\nw\n'
$(DOSU) sfdisk $(BLKDEV) <<<$$',1G,C12A7328-F81F-11D2-BA4B-00A0C93EC93B,*\n,,0FC63DAF-8483-4772-8E79-3D69D8477DE4,\n'
$(MOUNTPOINT)/boot/grub:
$(MAKE) $(ACHROOT)
$(ACHROOTI_CMD)' && grub-install --target=x86_64-efi --efi-directory=/boot'
$(MOUNTPOINT)/.bootloader-done: $(MOUNTPOINT)/boot/grub
touch $@
bootloader: $(MOUNTPOINT)/.bootloader-done