Skip to content

Commit

Permalink
Generate dracut initramfs here
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Sep 8, 2018
1 parent c01bbe4 commit c82f7be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sabayon/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,8 @@ def setup_nvidia_legacy(root_install_path):

def run():
""" Sabayon Calamares Post-install module """
# Do not use standard dracut module, but generate it from our environment
libcalamares.utils.target_env_call(['dracut', '-q', '-N', '-f','-o','systemd', '-o', 'systemd-initrd', '-o', 'systemd-networkd', '-o', 'dracut-systemd', '--kver', '$(uname -a)', '/boot/initramfs-genkernel-$(uname -m)-$(uname -a)'])
# Get install path
install_path = libcalamares.globalstorage.value('rootMountPoint')
set_grub_background()
Expand Down

0 comments on commit c82f7be

Please sign in to comment.