Gentoo Archives: gentoo-hardened

From: Cyprien Nicolas <c.nicolas@×××××.com>
To: gentoo-hardened@l.g.o
Cc: basile <basile@××××××××××××××.edu>
Subject: Re: [gentoo-hardened] Moving layman
Date: Fri, 05 Mar 2010 14:03:06
Message-Id: 4B9105AC.4030608@gmail.com
In Reply to: [gentoo-hardened] Moving layman by basile
1 On 03/05/2010 01:46 PM, basile wrote:
2 > Hi everyone,
3 >
4 > I had a lot of systems on which to move layman. Since many of us use
5 > the overlay, I figured I'd share my little script I used. Its trivial
6 > but it seems to be all one needs.
7 >
8 >
9 > #!/bin/bash
10 >
11 > mv /usr/local/portage/layman/ /var/lib/
12 > sed -i 's:/usr/local/portage:/var/lib:' /var/lib/layman/make.conf
13 > sed -i 's:/usr/local/portage:/var/lib:' /etc/make.conf
14
15 I would add the following
16
17 sed -i 's:/usr/local/portage:/var/lib:' /etc/layman.cfg
18
19 In the case you don't have the /etc update.
20
21
22 --
23 ,Cyprien