about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xmkhrmpf.sh5
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7d5c9a8..09f510f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 *.xz
 *.iso
 xbps-cachedir*
+hrmpf-include
diff --git a/mkhrmpf.sh b/mkhrmpf.sh
index 8e6a852..90a4362 100755
--- a/mkhrmpf.sh
+++ b/mkhrmpf.sh
@@ -1,5 +1,9 @@
 #!/bin/sh
 
+# Create an empty zpool.cache to prevent importing at boot
+mkdir -p hrmpf-include/etc/zfs
+: > hrmpf-include/etc/zfs/zpool.cache
+
 ./mklive.sh \
 	-T "hrmpf live/rescue system" \
 	-C "loglevel=6 printk.time=1 consoleblank=0 net.ifnames=0" \
@@ -14,3 +18,4 @@
 	-B extra/grub2.iso \
 	-p "$(grep '^[^#].' hrmpf.packages)" \
 	-A "gawk tnftp inetutils-hostname libressl-netcat dash vim-common" \
+	-I hrmpf-include \