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:
parent
aef22b1e69
commit
49b0ce4984
|
@ -2,6 +2,10 @@
|
||||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||||
# $Header: $
|
# $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>
|
28 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
|
||||||
specs/alpha/installcd-stage1.spec, specs/alpha/livecd-stage1.spec,
|
specs/alpha/installcd-stage1.spec, specs/alpha/livecd-stage1.spec,
|
||||||
specs/amd64/installcd-stage1.spec, specs/amd64/livecd-stage1.spec,
|
specs/amd64/installcd-stage1.spec, specs/amd64/livecd-stage1.spec,
|
||||||
|
|
|
@ -7,14 +7,21 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case `uname -m` in
|
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)
|
i?86|x86_64)
|
||||||
sed -i 's/DRIVER fbdev/DRIVER vesa/' /usr/share/hwdata/Cards
|
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
|
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
|
# 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
|
# 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
|
# weird stuff to happen like X failing to start because it doesn't have the
|
||||||
|
|
Loading…
Reference in a new issue