summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-08-20 17:17:21 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-08-20 17:17:21 +0100
commit204d6997dfb210f4f5253157965287995bbe4622 (patch)
tree69d6ecfb4afc0b4897fdb8c25d21195470051888
parent8cf5486e23a109864f38d326bf1d82f674fb2a17 (diff)
make ISO creation independent of host kernel...this was the default a long time ago, when the host was Gentoo, not Redcore...somehow we got lazy and broke this
-rwxr-xr-xlibvasile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvasile b/libvasile
index 8a7ae95..69e52b1 100755
--- a/libvasile
+++ b/libvasile
@@ -41,7 +41,7 @@ export local isobinmode="vasile --binmode"
export local isodkms="vasile --dkms"
export local isokernelname="kernel-genkernel-"$isomainarch"-"$kernelver""
export local isoramfsname="initramfs-genkernel-"$isomainarch"-"$kernelver""
-export local isoramfscmd="dracut -N -a dmsquash-live -a pollcdrom --force"
+export local isoramfscmd="dracut -N -a dmsquash-live -a pollcdrom --force --kver="$kernelver" /boot/"$isoramfsname""
export local isochainloadcmd="grub2-mkimage -d /usr/lib64/grub/i386-pc -o core.img -O i386-pc biosdisk part_msdos fat -p /boot/grub"
export local isoefix64cmd="grub2-mkimage -d /usr/lib64/grub/x86_64-efi -o bootx64.efi -O x86_64-efi ext2 fat udf btrfs ntfs reiserfs xfs hfsplus lvm ata part_msdos part_gpt part_apple bsd search_fs_uuid normal chain iso9660 configfile help loadenv reboot cat search memdisk tar boot linux chain -p /boot/grub"
export local isoefiia32cmd="grub2-mkimage -d /usr/lib64/grub/i386-efi -o bootia32.efi -O i386-efi ext2 fat udf btrfs ntfs reiserfs xfs hfsplus lvm ata part_msdos part_gpt part_apple bsd search_fs_uuid normal chain iso9660 configfile help loadenv reboot cat search memdisk tar boot linux chain -p /boot/grub"