Create make_mksquashfs.sh

This commit is contained in:
Simon Rieger 2017-02-05 20:31:03 +01:00 committed by GitHub
parent f361e55422
commit 372b9ed108

14
make_mksquashfs.sh Normal file
View file

@ -0,0 +1,14 @@
mkdir work/iso
mkdir work/iso/isolinux
mkdir work/iso/arch
mkdir work/iso/arch/boot
mkdir work/iso/arch/x86_64
mkdir work/iso/arch/boot/x86_64
mkdir work/iso/arch/boot/syslinux
cp -R work/airootfs/usr/lib/syslinux/bios/* work/iso/arch/boot/syslinux/
cp work/airootfs/boot/initramfs-linux.img work/iso/arch/boot/x86_64/
cp work/airootfs/boot/initramfs-linux-fallback.img work/iso/arch/boot/x86_64/
cp work/airootfs/boot/vmlinuz-linux work/iso/arch/boot/x86_64/
mksquashfs airootfs /arch/x86_64/airootfs.sfs