From 1acd79621954d4f9e90ab1bdeef3e852d5496643 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Sun, 5 Feb 2017 20:33:47 +0100 Subject: [PATCH] Update make_mksquashfs.sh --- make_mksquashfs.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/make_mksquashfs.sh b/make_mksquashfs.sh index 2a3c3d3..f88bf0c 100644 --- a/make_mksquashfs.sh +++ b/make_mksquashfs.sh @@ -11,4 +11,8 @@ 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 +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