Makefile: Add partitioning targets, open-rc services

This commit is contained in:
Andrea Rogers 2024-10-26 05:09:43 -05:00
commit abf8cf6a8c
5 changed files with 107 additions and 5 deletions

8
mk/uefi.mk Normal file
View file

@ -0,0 +1,8 @@
PLATFORM_PHONYS := partition kernel
RUNLEVEL_BOOT ?= hwclock modules bootmisc hostname networking seedrng swap
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'