optimierungen

This commit is contained in:
simono41 2018-06-04 23:33:36 +02:00
parent 585005d678
commit e2e01a43b0
3 changed files with 10 additions and 7 deletions

Binary file not shown.

View file

@ -782,6 +782,16 @@ else
mkinitcpio -P -c /etc/mkinitcpio.conf mkinitcpio -P -c /etc/mkinitcpio.conf
fi fi
echo "Erstelle Packetverzeichnis!!!"
pacman -Qq > /pkglist.txt
echo "Aufräumen!!!"
sleep 5
pacman -Scc <<EOT
j
j
EOT
echo "Fertig!!!" echo "Fertig!!!"
exit 0 exit 0

View file

@ -171,13 +171,6 @@ function IMAGE() {
mkdir -p ${work_dir}/iso/${install_dir}/${arch}/airootfs/ mkdir -p ${work_dir}/iso/${install_dir}/${arch}/airootfs/
./arch-chroot ${work_dir}/${arch}/airootfs /bin/bash <<EOT
pacman -Scc
j
j
pacman -Q > /pkglist.txt
EOT
cp ${work_dir}/${arch}/airootfs/pkglist.txt ${work_dir}/iso/${install_dir}/${arch}/ cp ${work_dir}/${arch}/airootfs/pkglist.txt ${work_dir}/iso/${install_dir}/${arch}/
if [ -f ${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs ] if [ -f ${work_dir}/iso/${install_dir}/${arch}/airootfs.sfs ]