anaconda: Regenerate initramfs at the installation end

This commit is contained in:
Marek Marczykowski 2011-07-16 15:12:32 +02:00
parent a6f9e8b216
commit bf57b2a3f5

View File

@ -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: