Gentoo Archives: gentoo-user

From: "Mickaël Bucas" <mbucas@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Noah's ArK
Date: Sun, 17 Nov 2019 17:58:57
Message-Id: CAG1=SYQkMQK_rbQYvYWkSD=9feiXOuh-_0KV4Kxm5E9KQeXCjA@mail.gmail.com
In Reply to: [gentoo-user] Noah's ArK by Helmut Jarausch
1 Hi
2
3 If it's only for Python 2 packages, it's easy with "virtualenv", I've
4 done it for multiple independent Trac installations, each with a
5 different set of plugins. You still have to keep the Python 2 base
6 packages on the system.
7
8 If it's for 32 bits packages, you can isolate them in a chroot,
9 following the Gentoo guide [1]. I remember having used this to install
10 binary packages like Adobe Acrobat when multilib was supported only
11 with 32bits binary packages (I don't remember what made it necessary).
12 If the chroot is mounted at system start, you can define menu actions
13 in your desktop environment to launch commands inside of the chroot.
14 You may need to bind mount your home directory or other data
15 directories inside of the chroot to make them visible to these
16 programs.
17
18 The chroot solution can also work for Python 2, and it's not limited
19 to 32 bits : you can create the chroot with a 64 bits stage 3 tarball.
20
21 Best regards
22
23 Mickaël Bucas
24 [1] https://wiki.gentoo.org/wiki/Project:AMD64/32-bit_Chroot_Guide
25
26 Le dim. 17 nov. 2019 à 12:20, Helmut Jarausch <jarausch@××××××.be> a écrit :
27 >
28 > Hi,
29 >
30 > I'd like to "preserve" some packages which do require components I
31 > don't like to have "regularly" installed any more like some depending
32 > on Python2 or are 32bit.
33 >
34 > Is there a means to build a "mini binary system" where I can put these?
35 >
36 > Many thanks for a hint,
37 > Helmut