diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 6abfad9..d76bb58 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -214,8 +214,8 @@ function BIOS() { cp -R ${work_dir}/${arch}/airootfs/usr/lib/syslinux/bios/* ${work_dir}/iso/${install_dir}/boot/syslinux/ if [ "${version}" == "manjaro" ]; then - cp $(find ${work_dir}/${arch}/airootfs/boot/ -name "initramfs*$(uname -m).img") ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img - cp $(find ${work_dir}/${arch}/airootfs/boot/ -name "vmlinuz*$(uname -m)") ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz + cp $(echo $(find ${work_dir}/${arch}/airootfs/boot/ -name "initramfs*$(uname -m).img") | cut -d" " -f2 ) ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img + cp $(echo $(find ${work_dir}/${arch}/airootfs/boot/ -name "vmlinuz*$(uname -m)") | cut -d" " -f1 ) ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz else cp ${work_dir}/${arch}/airootfs/boot/initramfs-linux${linuxparameter}.img ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img cp ${work_dir}/${arch}/airootfs/boot/vmlinuz-linux${linuxparameter} ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz