install f2fs-tools if f2fs is selected, so mkinitcpio runs properly
Signed-off-by: Dan Johansen <strit@manjaro.org>
This commit is contained in:
parent
fcefcf168f
commit
a8588acf56
|
|
@ -241,6 +241,7 @@ create_install() {
|
|||
;;
|
||||
f2fs)
|
||||
info "Adding f2fs support to system..."
|
||||
$NSPAWN $TMPDIR pacman -S f2fs-tools --noconfirm 1> /dev/null 2>&1
|
||||
echo "LABEL=ROOT_MNJRO / f2fs compress=zstd,defaults,noatime 0 0" >> $TMPDIR/root/etc/fstab
|
||||
sed -i '/^MODULES/{s/)/ f2fs)/}' $TMPDIR/root/etc/mkinitcpio.conf
|
||||
$NSPAWN $TMPDIR mkinitcpio -P 1> /dev/null 2>&1
|
||||
|
|
|
|||
Loading…
Reference in New Issue