pentoo-updater: include e2fsprogs in initramfs for those who need it

This commit is contained in:
Rick Farina (Zero_Chaos) 2018-08-29 15:06:26 +00:00
parent 82fe4a5cd1
commit 38a277e9e0
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A

View file

@ -126,6 +126,9 @@ update_kernel() {
if grep -q zfs /etc/fstab || grep -q zfs /proc/cmdline; then
genkernelopts="${genkernelopts} --zfs"
fi
if grep -q 'ext[234]' /etc/fstab; then
genkernelopts="${genkernelopts} --e2fsprogs"
fi
if grep -q gpg /proc/cmdline; then
genkernelopts="${genkernelopts} --luks --gpg"
elif grep -q luks /etc/fstab || grep -E '^swap|^source' /etc/conf.d/dmcrypt; then