diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-05-25 22:46:41 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-05-31 10:27:33 +0000 |
commit | d0d7906e72b9c5fac792c56eae89a62b349164ba (patch) | |
tree | f1000376a09c07e74c01ba102f6c083d5b89602d /host/initramfs/etc/probe | |
parent | 75a1ac3d62bf8c641e7145f46ebd6e9d01e6d3dc (diff) | |
download | spectrum-d0d7906e72b9c5fac792c56eae89a62b349164ba.tar spectrum-d0d7906e72b9c5fac792c56eae89a62b349164ba.tar.gz spectrum-d0d7906e72b9c5fac792c56eae89a62b349164ba.tar.bz2 spectrum-d0d7906e72b9c5fac792c56eae89a62b349164ba.tar.lz spectrum-d0d7906e72b9c5fac792c56eae89a62b349164ba.tar.xz spectrum-d0d7906e72b9c5fac792c56eae89a62b349164ba.tar.zst spectrum-d0d7906e72b9c5fac792c56eae89a62b349164ba.zip |
host/rootfs: switch to EROFS
Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'host/initramfs/etc/probe')
-rwxr-xr-x | host/initramfs/etc/probe | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/host/initramfs/etc/probe b/host/initramfs/etc/probe index 064b792..4cbd00d 100755 --- a/host/initramfs/etc/probe +++ b/host/initramfs/etc/probe @@ -10,7 +10,10 @@ if -n { backtick -E type { lsblk -lnpo PARTTYPE $mdev } test $type = 56a3bbc3-aefa-43d9-a64d-7b3fd59bbc4e } - if { modprobe loop } + if { + forx -pE module { ext4 loop } + modprobe $module + } backtick -E uuid { lsblk -lnpo PARTUUID $mdev } if { mkdir -p /mnt/${uuid} } if { mount $mdev /mnt/${uuid} } |