]> code.delx.au - monosys/commitdiff
mkinitcpio hack for including intel-ucode
authorJames Bunton <jamesbunton@delx.net.au>
Mon, 13 Mar 2017 04:17:26 +0000 (15:17 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Mon, 13 Mar 2017 04:17:26 +0000 (15:17 +1100)
bin/gzip-with-prefix [new file with mode: 0755]
etc/mkinitcpio.conf [new file with mode: 0644]

diff --git a/bin/gzip-with-prefix b/bin/gzip-with-prefix
new file mode 100755 (executable)
index 0000000..d26eff8
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cat "$1"
+shift
+exec gzip "$@"
diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf
new file mode 100644 (file)
index 0000000..5c980bd
--- /dev/null
@@ -0,0 +1,9 @@
+# vim:set ft=sh
+
+MODULES="i915"
+BINARIES=""
+FILES="/etc/modprobe.d/apple-keyboard.conf"
+HOOKS="base udev autodetect modconf block encrypt lvm2 resume filesystems keyboard fsck"
+
+COMPRESSION="gzip-with-prefix"
+COMPRESSION_OPTIONS="/boot/intel-ucode.img"