Title: SquashDelta syncing support Author: Michał Górny <mgo...@gentoo.org> Content-Type: text/plain Posted: 2015-05-xx Revision: 1 News-Item-Format: 1.0 Display-If-Installed: >=sys-apps/portage-2.2.19
Starting with Portage 2.2.19, a new SquashDelta syncing method has been introduced. It is meant to provide lightweight and efficient solution for stable systems. The whole repository is contained within a single pre-generated SquashFS image file. The daily snapshot of the repository is first fetched from the mirrors, and afterwards updated in-place using deltas (without repacking). In order to enable SquashDelta syncing, please install dev-util/squashmerge utility first: $ emerge -v dev-util/squashmerge Afterwards, you can use a repos.conf entry similar to the following: [gentoo] location = /var/db/repos/gentoo sync-type = squashdelta sync-uri = mirror://gentoo/../snapshots/squashfs During the initial sync, Portage will fetch the current Gentoo SquashFS snapshot from the mirrors (~105M). For the synces following, it will only fetch a single delta, and use squashmerge to quickly update the local copy. If possible, Portage will automatically mount (or remount) the SquashFS after syncing. However, you may want to add an explicit /etc/fstab entry for the filesystem to make it available before invoking 'emerge --sync': /var/cache/portage/squashfs/gentoo-current.sqfs /var/db/repos/gentoo \ squashfs defaults 0 0 Please note that the current syncing code does not verify the OpenPGP signature to confirm the authenticity of fetched snapshots and deltas. This feature will be added as soon as gentoo-keys support in Portage is available. -- Best regards, Michał Górny
pgpaH0O8FrL2X.pgp
Description: OpenPGP digital signature