anaconda: fix initramfs regenerating code
This commit is contained in:
parent
3339e61ee1
commit
6ad43624e6
@ -95,6 +95,7 @@ class InstallClass(BaseInstallClass):
|
||||
subprocess.check_call(['/usr/sbin/chroot', anaconda.rootPath,
|
||||
'/bin/bash', '-c', 'rpm --import /etc/pki/rpm-gpg/*'])
|
||||
|
||||
for kernel in anaconda.backend.kernelVersionList(anaconda.rootPath):
|
||||
subprocess.check_call(['/usr/sbin/chroot', anaconda.rootPath,
|
||||
'/sbin/dracut', '--force', '/boot/initramfs-' + kernel[0] + '.img'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user