Moved dracut stuff into 'fedora.sh'
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user