Initramfs generation updates

This commit is contained in:
Jeroen Rijken 2022-07-09 14:43:19 +02:00 committed by Alex
parent 99c311e699
commit cc5d1a0e07
2 changed files with 8 additions and 0 deletions

View File

@ -24,12 +24,16 @@ profile mount-zfs @{exec_path} flags=(complain) {
mount fstype=zfs -> @{MOUNTS}/*/,
mount fstype=zfs -> /,
mount fstype=zfs -> /*/,
mount fstype=zfs -> /tmp/zfsmnt.*/
mount fstype=zfs -> /tmp/zfsmnt.*/*/
umount @{MOUNTDIRS}/,
umount @{MOUNTS}/,
umount @{MOUNTS}/*/,
umount /,
umount /*/,
umount fstype=zfs -> /tmp/zfsmnt.*/
mount fstype=zfs -> /tmp/zfsmnt.*/*/
@{PROC}/@{pids}/mounts r,

View File

@ -20,5 +20,9 @@ profile zpool @{exec_path} flags=(complain) {
/etc/hostid r,
@{PROC}/sys/kernel/spl/hostid r,
/run/blkid/blkid.tab wr,
/run/blkid/blkid.tab.old l,
/run/blkid/blkid.tab-* wrl,
include if exists <local/zfs>
}