From bf57b2a3f5e56ba2d453f53e42d3d476b63c670d Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 16 Jul 2011 15:12:32 +0200 Subject: [PATCH] anaconda: Regenerate initramfs at the installation end --- anaconda/installclasses/qubes.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/anaconda/installclasses/qubes.py b/anaconda/installclasses/qubes.py index 69ad3bb..18b021f 100644 --- a/anaconda/installclasses/qubes.py +++ b/anaconda/installclasses/qubes.py @@ -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: