leahneukirchen / hrmpf

hrmpf rescue system, built on Void Linux
Other
303 stars 19 forks source link

Prevent automatic zpool imports, prune package list #17

Closed ahesford closed 3 years ago

ahesford commented 3 years ago

In the first commit, I've pruned packages that have been removed from xbps-src. (I've also removed extrace because it conflicts with procps-ng and causes XBPS to fail.)

In the second commit, I use the -I flag for mklive.sh to install an empty /etc/zfs/zpool.cache into the image. Testing in a qemu VM confirms that this is enough to prevent the importing of ZFS pools at boot. This causes a warning about a missing or corrupt cache file when 03-filesystems.sh tries to import, but this is a harmless error. This is not necessarily the cleanest solution, but it seems to be the simplest.

leahneukirchen commented 3 years ago

i'll merge this but rolling a new release will take a bit more