public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] News item review: SquashDelta syncing support
@ 2015-05-15 14:51 Michał Górny
  2015-05-15 15:23 ` Dirkjan Ochtman
                   ` (2 more replies)
  0 siblings, 3 replies; 28+ messages in thread
From: Michał Górny @ 2015-05-15 14:51 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1759 bytes --]

Title: SquashDelta syncing support
Author: Michał Górny <mgorny@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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2015-05-20  7:56 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-15 14:51 [gentoo-dev] News item review: SquashDelta syncing support Michał Górny
2015-05-15 15:23 ` Dirkjan Ochtman
2015-05-15 16:15   ` Diamond
2015-05-15 18:32     ` Ian Stakenvicius
2015-05-15 19:33       ` Rich Freeman
2015-05-15 19:38         ` Ian Stakenvicius
2015-05-18  5:48         ` [gentoo-dev] " Martin Vaeth
2015-05-18  6:10           ` Brian Dolbec
2015-05-19  6:36             ` Martin Vaeth
2015-05-16 21:59   ` [gentoo-dev] " Michał Górny
2015-05-16 14:59 ` Michael Orlitzky
2015-05-16 18:38   ` Alexis Ballier
2015-05-16 19:18     ` Pacho Ramos
2015-05-16 19:23       ` Michael Orlitzky
2015-05-16 20:34         ` Brian Dolbec
2015-05-16 22:01         ` Michał Górny
2015-05-17  0:38           ` Michael Orlitzky
2015-05-17  3:47             ` Michał Górny
2015-05-17  8:52               ` [gentoo-dev] " Duncan
2015-05-17 18:52               ` [gentoo-dev] " Dale
2015-05-17 19:41               ` Michael Orlitzky
2015-05-20  7:56               ` Marc Schiffbauer
2015-05-16 22:00   ` Michał Górny
2015-05-17  0:45     ` Michael Orlitzky
2015-05-17  8:41       ` [gentoo-dev] " Duncan
2015-05-17 13:51     ` [gentoo-dev] " Ciaran McCreesh
2015-05-16 20:48 ` Alon Bar-Lev
2015-05-16 22:06   ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox