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: