Update make_mksquashfs.sh
This commit is contained in:
parent
0fab7358ef
commit
3f91a513e9
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
arch-chroot work/airootfs mkinitcpio -p linux
|
||||||
|
|
||||||
mkdir work/iso
|
mkdir work/iso
|
||||||
mkdir work/iso/isolinux
|
mkdir work/iso/isolinux
|
||||||
mkdir work/iso/arch
|
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/
|
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
|
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
|
arch-chroot work/airootfs pacman -Scc
|
||||||
mksquashfs work/airootfs work/iso/arch/x86_64/airootfs.sfs
|
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
|
md5sum work/iso/arch/x86_64/airootfs.sfs > work/iso/arch/x86_64/airootfs.md5
|
||||||
|
|
Loading…
Reference in a new issue