manjaro-fix

This commit is contained in:
simono41 2018-05-27 01:01:36 +02:00
parent e10a272852
commit 39e80573d6

View file

@ -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