Add dracut use flag

This commit is contained in:
Oskar Nizioł 2024-02-03 13:35:07 +01:00 committed by GitHub
parent 353d4d6af0
commit 5fc7bfdcab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -400,6 +400,9 @@ EOF
# Install authorized_keys before dracut, which might need them for remote unlocking. # Install authorized_keys before dracut, which might need them for remote unlocking.
install_authorized_keys install_authorized_keys
# Add dracut use flag
echo 'USE="dracut"' >> /etc/portage/make.conf
# Install required programs and kernel now, in order to # Install required programs and kernel now, in order to
# prevent emerging module before an imminent kernel upgrade # prevent emerging module before an imminent kernel upgrade
try emerge --verbose sys-kernel/dracut sys-kernel/gentoo-kernel-bin app-arch/zstd try emerge --verbose sys-kernel/dracut sys-kernel/gentoo-kernel-bin app-arch/zstd