From 1fe4aa8183259b29f5931ba33669f01c70dfe0ef Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 9 Sep 2011 11:23:02 +0200 Subject: [PATCH] anaconda: call dracut manually Anaconda does use own version, not from installed system (so without needed modules). --- anaconda/installclasses/qubes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/anaconda/installclasses/qubes.py b/anaconda/installclasses/qubes.py index a3203c1..df5e6e4 100644 --- a/anaconda/installclasses/qubes.py +++ b/anaconda/installclasses/qubes.py @@ -95,6 +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']) + def getBackend(self): if flags.livecdInstall: import livecd