Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [pre-GLEP] Gentoo binary package container format
Date: Sat, 17 Nov 2018 21:54:05
Message-Id: 1542491635.828.1.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [pre-GLEP] Gentoo binary package container format by Roy Bamford
1 On Sat, 2018-11-17 at 14:05 +0000, Roy Bamford wrote:
2 > On 2018.11.17 11:21, Michał Górny wrote:
3 > > Hi,
4 > >
5 > > Here's a pre-GLEP draft based on the earlier discussion on gentoo-
6 > > portage-dev mailing list. The specification uses GLEP form as it
7 > > provides for cleanly specifying the motivation and rationale.
8 > >
9 > > [snip glep proposal]
10 > > --
11 > > Best regards,
12 > > Michał Górny
13 > >
14 >
15 > Team,
16 >
17 > One of the attractions of the existing format is that
18 > tar xf /path/to/tarball -C /mnt/gentoo
19 > works to fix things like glibc being removed and other
20 > missing essential portage components.
21 >
22 > In effect, each binary package can be treated as a
23 > single package stage3 when a user needs a get out of jail
24 > free card.
25 >
26 > Does this proposal allow for installing the payload without
27 > the use of the Gentoo package manager from some random
28 > distro being used as a rescue media?
29
30 Yes, and it can also be done via one-liner, though it's going to be more
31 complex than before, e.g.:
32
33 tar -xOf mypackage-1.gpkg.tar mypackage-1/image.tar.lz |
34 tar --lzip -x -C /mnt/gentoo --strip-components 1
35
36 Though I wouldn't recommend using it but instead unpacking it normally
37 and inspecting the contents first.
38
39 --
40 Best regards,
41 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature