Commit e48f041 1 parent b6565b4 commit e48f041 Copy full SHA for e48f041
File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ usage() {
30
30
echo " --setup - Install required repo and ports builder require to work"
31
31
echo " --update-sources - Refetch FreeBSD sources"
32
32
echo " --rsync-repos - rsync pkg repos"
33
+ echo " --rsync-snapshots - rsync snapshots images and pkg repos"
33
34
echo " --clean-builder - clean all builder used data/resources"
34
35
echo " --build-kernels - build all configured kernels"
35
36
echo " --build-kernel argument - build specified kernel. Example --build-kernel KERNEL_NAME"
@@ -84,6 +85,10 @@ while test "$1" != ""; do
84
85
BUILDACTION=" rsync_repos"
85
86
export DO_NOT_SIGN_PKG_REPO=YES
86
87
;;
88
+ --rsync-snapshots)
89
+ BUILDACTION=" rsync_snapshots"
90
+ export DO_NOT_SIGN_PKG_REPO=YES
91
+ ;;
87
92
--build-kernels)
88
93
BUILDACTION=" buildkernels"
89
94
;;
@@ -229,6 +234,10 @@ case $BUILDACTION in
229
234
unset SKIP_FINAL_RSYNC
230
235
pkg_repo_rsync " ${CORE_PKG_PATH} "
231
236
;;
237
+ rsync_snapshots)
238
+ unset SKIP_FINAL_RSYNC
239
+ snapshots_scp_files
240
+ ;;
232
241
update_pkg_repo)
233
242
if [ -z " ${DO_NOT_UPLOAD} " -a ! -f /usr/local/bin/rsync ]; then
234
243
echo " ERROR: rsync is not installed, aborting..."
You can’t perform that action at this time.
0 commit comments