From 3f91a513e933294ccdda0d0689b8c7704781ec5b Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 5 Feb 2017 21:10:37 +0100 Subject: [PATCH] Update make_mksquashfs.sh --- make_mksquashfs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make_mksquashfs.sh b/make_mksquashfs.sh index bb53a6b..091d3ca 100644 --- a/make_mksquashfs.sh +++ b/make_mksquashfs.sh @@ -1,3 +1,5 @@ +arch-chroot work/airootfs mkinitcpio -p linux + mkdir work/iso mkdir work/iso/isolinux mkdir work/iso/arch @@ -12,7 +14,7 @@ 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/ +cp work/airootfs/pkglist.txt work/iso/arch/x86_64/ arch-chroot work/airootfs pacman -Scc mksquashfs work/airootfs work/iso/arch/x86_64/airootfs.sfs md5sum work/iso/arch/x86_64/airootfs.sfs > work/iso/arch/x86_64/airootfs.md5