anaconda: Regenerate initramfs at the installation end

release2 mm_bf57b2a3
Marek Marczykowski 13 years ago
parent a6f9e8b216
commit bf57b2a3f5

@ -97,6 +97,10 @@ class InstallClass(BaseInstallClass):
if not file in whitelisted:
subprocess.check_call(['/usr/sbin/chroot', anaconda.rootPath,
'/sbin/chkconfig', '--level', '5', file, 'off'])
# Fix default initramfs (anaconda generates own one...)
for kernel in anaconda.backend.kernelVersionList(anaconda.rootPath):
subprocess.check_call(['/usr/sbin/chroot', anaconda.rootPath,
'/usr/lib/qubes/regenerate_initramfs.sh', kernel[0]])
def getBackend(self):
if flags.livecdInstall:

Loading…
Cancel
Save