Upload files to ''

This commit is contained in:
bronze 2022-02-20 03:24:29 -05:00
parent 19272eb0ee
commit 0ffcf9be2a
2 changed files with 9 additions and 0 deletions

3
portage-squash.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
rm /portage.sqfs
mksquashfs /var/db/repos/gentoo /portage.sqfs

6
update.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
umount /var/db/repos/gentoo
rm /portage.sqfs
# DOWNLOAD OUR SQUASHED PORTAGE FILE
rsync -av --progress changeme@MASTER:/portage.sqfs /
mount -o loop /portage.sqfs /var/db/repos/gentoo