Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/baseline/airootfs/etc/mkinitcpio.d
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-07-29 18:18:33 +0300
committernl6720 <nl6720@gmail.com>2020-07-29 18:19:42 +0300
commitff0c13f90c4e4ca922171a08f7344e86cd64fcd0 (patch)
tree26fcd7ef9834e89c1cc995620517bdb38eaec04e /configs/baseline/airootfs/etc/mkinitcpio.d
parenta5886ad71ec821a37a96f4bef94002186359792d (diff)
Build initramfs images only once
Place custom mkinitcpio.conf in airootfs. Use a custom mkinitcpio preset to specify generated image file path.
Diffstat (limited to 'configs/baseline/airootfs/etc/mkinitcpio.d')
-rw-r--r--configs/baseline/airootfs/etc/mkinitcpio.d/linux.preset11
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/baseline/airootfs/etc/mkinitcpio.d/linux.preset b/configs/baseline/airootfs/etc/mkinitcpio.d/linux.preset
new file mode 100644
index 0000000..a1949cd
--- /dev/null
+++ b/configs/baseline/airootfs/etc/mkinitcpio.d/linux.preset
@@ -0,0 +1,11 @@
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+# mkinitcpio preset file for the 'linux' package on archiso
+
+PRESETS=('archiso')
+
+ALL_kver='/boot/vmlinuz-linux'
+ALL_config='/etc/mkinitcpio.conf'
+
+archiso_image="/boot/archiso.img"