18 lines
789 B
Bash
18 lines
789 B
Bash
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/
|
|
|
|
arch-chroot work/airootfs LANG=C pacman -Sl | awk '/\[installed\]$/ {print $1 "/" $2 "-" $3}' > /pkglist.txt
|
|
cp work/airootfs/pkglist.txt work/iso/arch/boot/x86_64/
|
|
arch-chroot work/airootfs pacman -Scc
|
|
mksquashfs work/airootfs work/arch/x86_64/airootfs.sfs
|
|
md5sum work/arch/x86_64/airootfs.sfs > work/arch/x86_64/airootfs.md5
|