Gentoo Archives: gentoo-commits

From: "Andrew Gaffney (agaffney)" <agaffney@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] releng r457 - in trunk/releases/2008.0: . scripts
Date: Thu, 28 Feb 2008 16:43:33
Message-Id: E1JUlr0-0004KB-IB@stork.gentoo.org
1 Author: agaffney
2 Date: 2008-02-28 16:43:29 +0000 (Thu, 28 Feb 2008)
3 New Revision: 457
4
5 Modified:
6 trunk/releases/2008.0/ChangeLog
7 trunk/releases/2008.0/scripts/livecd.sh
8 Log:
9 Add code to livecd.sh to make sure /home/gentoo is owned by the 'gentoo' user
10
11 Modified: trunk/releases/2008.0/ChangeLog
12 ===================================================================
13 --- trunk/releases/2008.0/ChangeLog 2008-02-28 16:01:17 UTC (rev 456)
14 +++ trunk/releases/2008.0/ChangeLog 2008-02-28 16:43:29 UTC (rev 457)
15 @@ -2,6 +2,8 @@
16 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
17 # $Header: $
18
19 + 28 Feb 2008; Andrew Gaffney <agaffney@g.o> scripts/livecd.sh:
20 + Add code to livecd.sh to make sure /home/gentoo is owned by the 'gentoo' user
21
22 28 Feb 2008; Brent Baude <ranger@g.o>
23 specs/ppc/ppc64/livecd-stage2.spec
24
25 Modified: trunk/releases/2008.0/scripts/livecd.sh
26 ===================================================================
27 --- trunk/releases/2008.0/scripts/livecd.sh 2008-02-28 16:01:17 UTC (rev 456)
28 +++ trunk/releases/2008.0/scripts/livecd.sh 2008-02-28 16:43:29 UTC (rev 457)
29 @@ -15,3 +15,11 @@
30 ;;
31 esac
32
33 +# This is necessary because /home/gentoo in the squashfs ends up getting owned
34 +# by whoever the owner of the overlay files were on the build box. This causes
35 +# weird stuff to happen like X failing to start because it doesn't have the
36 +# ability to write the .Xauthority file
37 +if [[ -d /home/gentoo ]]
38 +then
39 + chown -R gentoo:users /home/gentoo
40 +fi
41
42 --
43 gentoo-commits@l.g.o mailing list