Add code to livecd.sh to make sure /home/gentoo is owned by the 'gentoo' user
svn path=/trunk/; revision=457
This commit is contained in:
parent
57713c2ac2
commit
66e2c934e5
2 changed files with 10 additions and 0 deletions
|
@ -15,3 +15,11 @@ case `uname -m` in
|
|||
;;
|
||||
esac
|
||||
|
||||
# This is necessary because /home/gentoo in the squashfs ends up getting owned
|
||||
# by whoever the owner of the overlay files were on the build box. This causes
|
||||
# weird stuff to happen like X failing to start because it doesn't have the
|
||||
# ability to write the .Xauthority file
|
||||
if [[ -d /home/gentoo ]]
|
||||
then
|
||||
chown -R gentoo:users /home/gentoo
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue