computers/cain: add void repository configurations

master
an 2019-10-26 01:37:09 -04:00
parent 92045bb8d0
commit 82ed563e92
4 changed files with 13 additions and 1 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
fish/priv
computers/*/fish/priv

View File

@ -0,0 +1,5 @@
# vim: syntax=fish:
set -gx XBPS_DISTDIR $_agw_dir_src/packages/void/dist
set -gx XBPS_HOSTDIR $_agw_dir_bin/void/hostdir
set -gx XBPS_MASTERDIR $_agw_dir_bin/void/masterdir

View File

@ -0,0 +1,6 @@
# vim: syntax=fish:
function xrupdate -d "Sign and upload voidlinux package repository"
xbps-rindex --privkey $_agw_secret_void_privkey --sign-pkg "$XBPS_HOSTDIR"/binpkgs/*.xbps
rsync -azvh --progress "$XBPS_HOSTDIR"/binpkgs/* "$_agw_secret_void_copy_dir"
end

1
computers/cain/void-conf Normal file
View File

@ -0,0 +1 @@
XBPS_MAKEJOBS=12