anaconda: call dracut manually
Anaconda does use own version, not from installed system (so without needed modules).
This commit is contained in:
parent
97d0f39f38
commit
1fe4aa8183
@ -95,6 +95,9 @@ class InstallClass(BaseInstallClass):
|
|||||||
subprocess.check_call(['/usr/sbin/chroot', anaconda.rootPath,
|
subprocess.check_call(['/usr/sbin/chroot', anaconda.rootPath,
|
||||||
'/bin/bash', '-c', 'rpm --import /etc/pki/rpm-gpg/*'])
|
'/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):
|
def getBackend(self):
|
||||||
if flags.livecdInstall:
|
if flags.livecdInstall:
|
||||||
import livecd
|
import livecd
|
||||||
|
Loading…
Reference in New Issue
Block a user