add some more scripts

Signed-off-by: Bogomil Vasilev <smirky@smirky.net>
This commit is contained in:
2022-02-11 14:36:10 +02:00
parent 570014c240
commit 37e29989fe
8 changed files with 455 additions and 21 deletions

13
clean_chroot_build.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
CHROOT=$HOME/chroot
if [ ! -d "$CHROOT" ]; then
mkdir $CHROOT
mkarchroot $CHROOT/root base-devel
# mkarchroot $CHROOT/root base-devel zsh
else
arch-nspawn $CHROOT/root pacman -Syu
#arch-nspawn $CHROOT/root pacman -S --noconfirm
fi
makechrootpkg -c -r $CHROOT -- $@