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