From 91616d75bfcc04a07c40d9039eb925cc98b53585 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 27 Aug 2016 16:33:27 +0100 Subject: minor fix to dracut call --- eclass/kogaion-kernel.eclass | 4 ++-- 1 file 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() { -- cgit v1.2.3