Moved dracut stuff into 'fedora.sh'

This commit is contained in:
2025-12-31 23:39:14 -05:00
parent df9a67caea
commit f41eb46966
2 changed files with 5 additions and 5 deletions

View File

@@ -57,6 +57,8 @@ elif [[ "${1}" == '--resolv-conf' ]]; then
cp -L \ cp -L \
/etc/resolv.conf \ /etc/resolv.conf \
/mnt/etc /mnt/etc
elif [[ "${1}" == '-3' ]]; then elif [[ "${1}" == '--dracut' ]]; then
# dracut \
--force \
--regenerate-all
fi fi

View File

@@ -137,9 +137,7 @@ fi
if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then if [[ "${ID}" == 'debian' ]] || [[ "${ID}" == 'elementary' ]]; then
"${baseDir}/debian.sh" --initramfs "${baseDir}/debian.sh" --initramfs
elif [[ "${ID}" == 'fedora' ]]; then elif [[ "${ID}" == 'fedora' ]]; then
dracut \ "${baseDir}/fedora.sh" --dracut
--force \
--regenerate-all
fi fi
zfs \ zfs \