summaryrefslogtreecommitdiff
path: root/eclass/kogaion-kernel.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-08-27 16:33:27 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-08-27 16:33:27 +0100
commit91616d75bfcc04a07c40d9039eb925cc98b53585 (patch)
treeac5bfbeb7cd0087a091805bc665cd0aa09bd6329 /eclass/kogaion-kernel.eclass
parent16efca00ee59b17f9c160ca4df147d566fc37d91 (diff)
minor fix to dracut call
Diffstat (limited to 'eclass/kogaion-kernel.eclass')
-rw-r--r--eclass/kogaion-kernel.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kogaion-kernel.eclass b/eclass/kogaion-kernel.eclass
index f3120881..b489d4fd 100644
--- a/eclass/kogaion-kernel.eclass
+++ b/eclass/kogaion-kernel.eclass
@@ -871,11 +871,11 @@ _dracut_initramfs_create() {
local kern_arch="x86"
fi
fi
- local kver="${1}"
+ local kver="${PV}-${K_ROGKERNEL_SELF_TARBALL_NAME}"
elog "Creating dracut initramfs for ${kver}"
addpredict /etc/ld.so.cache~
- dracut -N -f -o systemd -o systemd-initrd -o systemd-networkd -o dracut-systemd --no-hostonly-cmdline --kver="${kver}" "${D}/boot/initramfs-genkernel-${kern_arch}-${kver}"
+ dracut -N -f -o systemd -o systemd-initrd -o systemd-networkd -o dracut-systemd --kver=${kver} "${D}/boot/initramfs-genkernel-${kern_arch}-${kver}"
}
kogaion-kernel_pkg_postinst() {