diff options
author | V3n3RiX <venerix@rogentos.ro> | 2016-08-27 16:33:27 +0100 |
---|---|---|
committer | V3n3RiX <venerix@rogentos.ro> | 2016-08-27 16:33:27 +0100 |
commit | 91616d75bfcc04a07c40d9039eb925cc98b53585 (patch) | |
tree | ac5bfbeb7cd0087a091805bc665cd0aa09bd6329 | |
parent | 16efca00ee59b17f9c160ca4df147d566fc37d91 (diff) |
minor fix to dracut call
-rw-r--r-- | eclass/kogaion-kernel.eclass | 4 |
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() { |