fix initramfs configuration
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1436 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user