Gentoo Archives: gentoo-alt

From: Christopher Friedt <chrisfriedt@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] copy prefix to new directory / machine
Date: Tue, 15 Oct 2013 15:13:23
Message-Id: CAF4BF-Qe-b72NYCKUaPTYTVmBwF4Om8rXuhY8Yodio89k8Wt0A@mail.gmail.com
1 Hi,
2
3 I'd like to copy the entire prefix directory (currently
4 ${HOME}/Gentoo) to a different directory (actually, to a different
5 directory on somebody else's machine).
6
7 Knowing that many binaries have rpaths directly hard-coded, and that a
8 lot of shebangs (#!) in scripts are modified by the prefix hooks in
9 portage, is there an easy way to do this.
10
11 E.g. copy prefix directory contents to new machine, run script to fix
12 all rpaths and shebangs
13
14 I'm sure something like this exists already, but Google does not seem
15 to be helpful for me in this case.
16
17 C

Replies