From 372b9ed1083a3e95f1dd334dce82447f3a0235cd Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 5 Feb 2017 20:31:03 +0100 Subject: [PATCH] Create make_mksquashfs.sh --- make_mksquashfs.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 make_mksquashfs.sh diff --git a/make_mksquashfs.sh b/make_mksquashfs.sh new file mode 100644 index 0000000..2a3c3d3 --- /dev/null +++ b/make_mksquashfs.sh @@ -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