From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A5D0D138334 for ; Sat, 17 Nov 2018 21:54:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7C5DE0BDE; Sat, 17 Nov 2018 21:54:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7A2A5E0936 for ; Sat, 17 Nov 2018 21:54:01 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 29AC9335C31; Sat, 17 Nov 2018 21:53:58 +0000 (UTC) Message-ID: <1542491635.828.1.camel@gentoo.org> Subject: Re: [gentoo-dev] [pre-GLEP] Gentoo binary package container format From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Sat, 17 Nov 2018 22:53:55 +0100 In-Reply-To: References: Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-desQS2xnEvuOLnQT+zhl" X-Mailer: Evolution 3.26.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: 43c3ef8a-49a9-4a39-b7cc-614a60780daa X-Archives-Hash: 0ed3eeffaabed895c5ef0bc28930e13f --=-desQS2xnEvuOLnQT+zhl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2018-11-17 at 14:05 +0000, Roy Bamford wrote: > On 2018.11.17 11:21, Micha=C5=82 G=C3=B3rny wrote: > > Hi, > >=20 > > Here's a pre-GLEP draft based on the earlier discussion on gentoo- > > portage-dev mailing list. The specification uses GLEP form as it > > provides for cleanly specifying the motivation and rationale. > >=20 > > [snip glep proposal] > > --=20 > > Best regards, > > Micha=C5=82 G=C3=B3rny > >=20 >=20 > Team, > =20 > One of the attractions of the existing format is that=20 > tar xf /path/to/tarball -C /mnt/gentoo=20 > works to fix things like glibc being removed and other > missing essential portage components. >=20 > In effect, each binary package can be treated as a > single package stage3 when a user needs a get out of jail > free card. >=20 > Does this proposal allow for installing the payload without=20 > the use of the Gentoo package manager from some random=20 > distro being used as a rescue media? Yes, and it can also be done via one-liner, though it's going to be more complex than before, e.g.: tar -xOf mypackage-1.gpkg.tar mypackage-1/image.tar.lz | tar --lzip -x -C /mnt/gentoo --strip-components 1 Though I wouldn't recommend using it but instead unpacking it normally and inspecting the contents first. --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-desQS2xnEvuOLnQT+zhl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEXr8g+Zb7PCLMb8pAur8dX/jIEQoFAlvwjfNfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVF QkYyMEY5OTZGQjNDMjJDQzZGQ0E0MEJBQkYxRDVGRjhDODExMEEACgkQur8dX/jI EQrBixAAhmP5MeCtm6A9nxDPw8eh0PsQ2LXqzN5VEszebGq8VAA/oEu44/PCwpy0 kBtpXF7oQfqo9AoOriJiL6RfrzfyqEAUpJSohHs01N93HkM1edqRFxYhqsv/IXUo 2RL4J6VO27kH7ksPHqbjysMTftlk0aT354eZDicb3WDidVyMNSkEcbc7Bix/bKco Qv8qkUGHgeZxCd91131vW2NWjemxmIcbVBKeq+CczR6P8tT4Sh/Mqq/YhMBjvng+ EPTvYsdlG4p32kQrK87YUQttUg+WlZx7NX6CvltIqV0MdnnPJxnjUyl4ED+h/7JK d99/1lBq6xafr2S1Qc3ViTMDXhHjPXdGHnC9Ne1CRWXFvbO8DcdvkSwf89dI43v+ jc4BjE+crX7warF07VDgNBBHcgQhfIBfNdRrCeWeQ3MwOglFxfqVyUL6VWtpvXxO 2fgEeVKLtCw4GbYJdLIBxJPZ2pV8AkTTe7aV6OGzx3YOUskKIVhWTUXEbQxQ37yz 3dKA3OUutL563capqlhGHFd4cqGGkbHhQx2viebliravmKR1jCwjyBM/3xkss+f1 XtM6qh8Az1R9wXydj/DC5SUGvzaa1YjpGkF4HwWt04r9RCiQ+cafkby7ov64Qg7m BYBiT6dxz1E/hlclDBAMpvID8x5nWmTmuM3WSFoY6AspqQs7mHQ= =uWWo -----END PGP SIGNATURE----- --=-desQS2xnEvuOLnQT+zhl--