aboutsummaryrefslogtreecommitdiff
path: root/cnf
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-04-18 20:46:10 +0200
committerMichał Górny <mgorny@gentoo.org>2015-05-06 20:47:00 +0200
commitfcb77fe28505e98d281240e524d7073769809157 (patch)
treee67bb519c532b763e9c68ce9ab253d40e41a9cbd /cnf
parentrepoman: enable copyright date check without vcs (bug 488836) (diff)
downloadportage-fcb77fe28505e98d281240e524d7073769809157.tar.gz
portage-fcb77fe28505e98d281240e524d7073769809157.tar.bz2
portage-fcb77fe28505e98d281240e524d7073769809157.zip
Contribute squashdelta syncing module
The squashdelta module provides syncing via SquashFS snapshots. For the initial sync, a complete snapshot is fetched and placed in /var/cache/portage/squashfs. On subsequent sync operations, deltas are fetched from the mirror and used to reconstruct the newest snapshot. The distfile fetching logic is reused to fetch the remote files and verify their checksums. Additionally, the sha512sum.txt file should be OpenPGP-verified after fetching but this is currently unimplemented. After fetching, Portage tries to (re-)mount the SquashFS in repository location.
Diffstat (limited to 'cnf')
-rw-r--r--cnf/repos.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/cnf/repos.conf b/cnf/repos.conf
index 1ca98ca6c..062fc0d10 100644
--- a/cnf/repos.conf
+++ b/cnf/repos.conf
@@ -6,3 +6,7 @@ location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
+
+# for daily squashfs snapshots
+#sync-type = squashdelta
+#sync-uri = mirror://gentoo/../snapshots/squashfs