aboutsummaryrefslogtreecommitdiff
path: root/mkrepo.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkrepo.sh')
-rwxr-xr-xmkrepo.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/mkrepo.sh b/mkrepo.sh
index 8fe1164..e35231e 100755
--- a/mkrepo.sh
+++ b/mkrepo.sh
@@ -25,7 +25,14 @@ cd pkgs/brave-bin
makepkg -sf
cd -
+sudo pacman --noconfirm --cachedir "/tmp/arch_pkgrepo2" \
+ -Sw $(cat archiso_config/packages.x86_64 | grep -vE '^(brave-bin|yay)')
+
+sudo mv "/tmp/arch_pkgrepo2"/* "${PKGDEST}"/
cd /tmp/arch_pkgrepo
-repo-add ./bootstrapper.db.tar.zst ./*
+repo-add ./bootstrapper.db.tar.zst ./*pkg.tar.zst
cd -
+
+# And put the whole repo onto the ISO...
+sudo cp -r pkgrepo archiso_config/airootfs/home/