Compare commits
2 Commits
a906a3c9f6
...
4c5ea2b66b
Author | SHA1 | Date |
---|---|---|
Ryan Heywood | 4c5ea2b66b | |
Ryan Heywood | 373c050f14 |
16
Makefile
16
Makefile
|
@ -1,10 +1,20 @@
|
|||
# Known configs:
|
||||
# * airgap
|
||||
|
||||
.PHONY: default
|
||||
default: out/archlinux-baseline-arch-airgap-x86_64.iso
|
||||
CONFIG ?= airgap
|
||||
|
||||
out/archlinux-baseline-arch-%-x86_64.iso: configs/%
|
||||
.PHONY: default
|
||||
default: out/archlinux-baseline-arch-$(CONFIG)-x86_64.iso
|
||||
|
||||
.PHONY: vars
|
||||
vars:
|
||||
@echo "CONFIG ?= $(CONFIG)"
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf out work || true
|
||||
|
||||
out/archlinux-baseline-arch-%-x86_64.iso: configs/%/
|
||||
$(MAKE) docker-airgap-builder
|
||||
mkdir -p out
|
||||
docker run --rm --privileged --volume "$(PWD)/out:/out" airgap-builder $<
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
title Airgap Arch Linux (x86_64, UEFI)
|
||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
|
||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
|
||||
options archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID%
|
||||
options archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% nomodeset
|
||||
|
|
|
@ -62,7 +62,7 @@ timeout_style=menu
|
|||
|
||||
menuentry "Airgap Arch Linux (%ARCH%, ${archiso_platform})" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' {
|
||||
set gfxpayload=keep
|
||||
linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID}
|
||||
linux /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux archisobasedir=%INSTALL_DIR% archisodevice=UUID=${ARCHISO_UUID} nomodeset
|
||||
initrd /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
|
||||
}
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@ LABEL arch
|
|||
MENU LABEL Airgap Arch Linux (x86_64, BIOS)
|
||||
LINUX /%INSTALL_DIR%/boot/%ARCH%/vmlinuz-linux
|
||||
INITRD /%INSTALL_DIR%/boot/%ARCH%/initramfs-linux.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID%
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisodevice=UUID=%ARCHISO_UUID% nomodeset
|
||||
|
|
Loading…
Reference in New Issue