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

@ -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