aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-10-16 21:30:59 +0200
committerMichał Górny <mgorny@gentoo.org>2019-10-16 21:30:59 +0200
commit5e219858d2bc9e1a4a33108a24c4ab18c6a38fb6 (patch)
tree50d6d46f1466824a76da74a06daed1afccc2281e
parentrsync-gen: Restrict Manifest removal to metadata/ subdir (diff)
downloadmastermirror-scripts-5e219858d2bc9e1a4a33108a24c4ab18c6a38fb6.tar.gz
mastermirror-scripts-5e219858d2bc9e1a4a33108a24c4ab18c6a38fb6.tar.bz2
mastermirror-scripts-5e219858d2bc9e1a4a33108a24c4ab18c6a38fb6.zip
sync-distfiles: Start propagating new mirror layout20191016T193130Z
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--layout.conf.new3
-rwxr-xr-xsync-distfiles.sh2
2 files changed, 5 insertions, 0 deletions
diff --git a/layout.conf.new b/layout.conf.new
new file mode 100644
index 0000000..cb72f20
--- /dev/null
+++ b/layout.conf.new
@@ -0,0 +1,3 @@
+[structure]
+0=filename-hash BLAKE2B 8
+1=flat
diff --git a/sync-distfiles.sh b/sync-distfiles.sh
index 3037b56..41337cb 100755
--- a/sync-distfiles.sh
+++ b/sync-distfiles.sh
@@ -53,6 +53,8 @@ python2 /usr/bin/emirrordist \
--temp-dir=${DATADIR}/tmp/ \
--whitelist-from=${DATADIR}/tmp/whitelist-master.txt \
--distfiles-local=${DATADIR}/distfiles-local \
+ --symlinks \
+ --layout-conf=/usr/local/bin/mastermirror/layout.conf.new \
--mirror
/bin/date -u '+%s' > ${DATADIR}/distfiles/timestamp.mirmon