mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
pentoo-updater: include e2fsprogs in initramfs for those who need it
This commit is contained in:
parent
82fe4a5cd1
commit
38a277e9e0
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue