fix initramfs configuration

git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1436 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
(no author)
2008-03-10 09:43:16 +00:00
parent ff6ecb80a4
commit a208082d99
+2 -1
View File
@@ -5745,7 +5745,8 @@ class TriggerInterface:
if boot_mount:
kernels = [x[len("/boot"):] for x in kernels]
for kernel in kernels:
initramfs = "/boot/initramfs-"+kernel[13:]
mykernel = kernel.split('/kernel-')[1]
initramfs = "/boot/initramfs-"+mykernel
if initramfs not in self.pkgdata['content']:
initramfs = ''
elif boot_mount: