Added code to disable UAC on Alpha for bug #210282 and also enforcing a Unicode-enabled console font across the board.

svn path=/trunk/; revision=462
This commit is contained in:
Chris Gianelloni 2008-02-28 20:34:39 +00:00
parent aef22b1e69
commit 49b0ce4984
2 changed files with 14 additions and 3 deletions

View file

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
28 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> scripts/livecd.sh:
Added code to disable UAC on Alpha for bug #210282 and also enforcing a
Unicode-enabled console font across the board.
28 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
specs/alpha/installcd-stage1.spec, specs/alpha/livecd-stage1.spec,
specs/amd64/installcd-stage1.spec, specs/amd64/livecd-stage1.spec,

View file

@ -7,14 +7,21 @@ then
fi
case `uname -m` in
alpha)
echo >> /etc/sysctl.conf
echo "# Disable UAC on Alpha" >> /etc/sysctl.conf
echo "uac.noprint = 1" >> /etc/sysctl.conf
;;
i?86|x86_64)
sed -i 's/DRIVER fbdev/DRIVER vesa/' /usr/share/hwdata/Cards
sed -e 's/CONSOLEFONT="default8x16"/CONSOLEFONT="lat1-16"/' \
-e '/^#CONSOLETRANSLATION="8859-1_to_uni"/ s/^#//' \
-i /etc/conf.d/consolefont
;;
esac
# Enforce a unicode font by default
sed -e 's/CONSOLEFONT="default8x16"/CONSOLEFONT="lat1-16"/' \
-e '/^#CONSOLETRANSLATION="8859-1_to_uni"/ s/^#//' \
-i /etc/conf.d/consolefont
# 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