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 \
/etc/resolv.conf \
/mnt/etc
elif [[ "${1}" == '-3' ]]; then
#
elif [[ "${1}" == '--dracut' ]]; then
dracut \
--force \
--regenerate-all
fi

View File

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