diff options
-rwxr-xr-x | libkvasile | 8 | ||||
-rwxr-xr-x | makeiso | 4 |
2 files changed, 1 insertions, 11 deletions
@@ -8,7 +8,7 @@ source /lib/gentoo/functions.sh export local releasename="kogaion" export local releasetarget="desktop" export local releaseversion="3" -export local kernelver="4.4.5-"$releasename"" +export local kernelver="4.4.10-"$releasename"" export local chrootx64=""$releasename"_"$releaseversion"_core_x64.squashfs" export local chrootx64md5=""$chrootx64".md5" @@ -50,8 +50,6 @@ export local isoliveosdir=""$isorootdir"/LiveOS" export local isosyncdir=""$isorootdir"/rootfs" export local isobootdir=""$isorootdir"/boot/grub" export local isoefibootdir=""$isorootdir"/efi/boot" -export local dracutrd="initramfs-genkernel-"$isomainarch"-"$kernelver"" -export local dracutcmd="dracut -N -o systemd -o systemd-initrd -o systemd-networkd -o dracut-systemd --force --kver "$kernelver" "/boot/"$dracutrd""" # generic functions (used for both build && iso creation) @@ -212,10 +210,6 @@ isoramfs () { chroot "$isosyncdir" su - "$isouser" -c "$isodracutcmd" } -systemramfs () { - chroot "$isosyncdir" su - "$isouser" -c "$dracutcmd" -} - isoefiimg () { chroot "$isosyncdir" su - "$isouser" -c "$isoeficmd" } @@ -23,10 +23,6 @@ prepareiso () { isostart isoramfs isostop - # generate system initramfs - isostart - systemramfs - isostop # copy live initramfs into cdroot mv ""$isosyncdir"/boot/"$isodracutrd"" ""$isorootdir"/boot/initrd" # generate live efi image |