aboutsummaryrefslogtreecommitdiff
path: root/sys/etc/mkinitcpio.d
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-07-03 02:59:01 +0700
committerShulhan <ms@kilabit.info>2022-07-25 19:29:22 +0700
commitff5f303619eade1089cb22a3acbd6584facad414 (patch)
tree0bcf099c5868ab5d5a48496d0aab427a8e8e7597 /sys/etc/mkinitcpio.d
parent9f8819d2a7682da47da16e0f13860e6026e273bd (diff)
downloadcompute-archlinux-image-builder-ff5f303619eade1089cb22a3acbd6584facad414.tar.xz
all: use predefined files to configure mkinitcpio
Using this method simplify maintenance on the build script and give flexibility to custom image builder. While at it, we add "udev autodetect block filesystems keyboard" into the HOOKS to allow testing the image using qemu and "fsck" to allow system run disk check on boot.
Diffstat (limited to 'sys/etc/mkinitcpio.d')
-rw-r--r--sys/etc/mkinitcpio.d/linux.preset10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/etc/mkinitcpio.d/linux.preset b/sys/etc/mkinitcpio.d/linux.preset
new file mode 100644
index 0000000..6fcee70
--- /dev/null
+++ b/sys/etc/mkinitcpio.d/linux.preset
@@ -0,0 +1,10 @@
+# mkinitcpio preset file for the 'linux' package
+
+ALL_config="/etc/mkinitcpio.conf"
+ALL_kver="/boot/vmlinuz-linux"
+
+PRESETS=('default')
+
+#default_config="/etc/mkinitcpio.conf"
+default_image="/boot/initramfs-linux.img"
+#default_options=""