Add pt_PT localized kickstarts

This commit is contained in:
Jeroen van Meeuwen (Fedora Unity) 2008-06-03 14:18:34 +02:00
parent c09f96b74e
commit b6f176dd23
5 changed files with 113 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# fedora-livecd-electronic-lab-pt_PT.ks
#
# Maintainer(s):
# - Pedro Silva <pedrofsilva a netcabo.pt>
%include fedora-livecd-electronic-lab.ks
lang pt_PT.UTF-8
keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
%end
%post
# set up localized keyboard since it is not used in /etc/X11/xorg.conf anymore and
# KDE don't use /etc/sysconfig/keyboard.
# Replace "de-latin1-nodeadkeys" with the keyboard layout you have used above
mkdir -p /home/fedora/.kde/env
echo "system-config-keyboard --noui de-latin1-nodeadkeys" > /home/fedora/.kde/env/keyboard.sh
chmod +x /home/fedora/.kde/env/keyboard.sh
chown -R fedora:fedora /home/fedora/.kde/env/
%end

View File

@ -0,0 +1,25 @@
# fedora-livecd-kde-pt_PT.ks
#
# Maintainer(s):
# - Pedro Silva <pedrofsilva a netcabo.pt>
%include fedora-livecd-kde.ks
lang pt_PT.UTF-8
keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
%end
%post
# set up localized keyboard since it is not used in /etc/X11/xorg.conf anymore and
# KDE don't use /etc/sysconfig/keyboard.
# Replace "de-latin1-nodeadkeys" with the keyboard layout you have used above
mkdir -p /home/fedora/.kde/env
echo "system-config-keyboard --noui de-latin1-nodeadkeys" > /home/fedora/.kde/env/keyboard.sh
chmod +x /home/fedora/.kde/env/keyboard.sh
chown -R fedora:fedora /home/fedora/.kde/env/
%end

View File

@ -0,0 +1,14 @@
# fedora-livecd-xfce-pt_PT.ks
#
# Maintainer(s):
# - Pedro Silva <pedrofsilva a netcabo.pt>
%include fedora-livecd-xfce.ks
lang pt_PT.UTF-8
keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
%end

View File

@ -0,0 +1,25 @@
# fedora-livedvd-developer-pt_PT.ks
#
# Maintainer(s):
# - Pedro Silva <pedrofsilva a netcabo.pt>
%include fedora-livedvd-developer.ks
lang pt_PT.UTF-8
keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
%end
%post
# system-config-keyboard doesn't really work (missing xorg.conf etc)
cat >>/etc/X11/xorg.conf << EOF
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "pt-latin1"
EndSection
EOF
%end

View File

@ -0,0 +1,25 @@
# fedora-livedvd-games-pt_PT.ks
#
# Maintainer(s):
# - Pedro Silva <pedrofsilva a netcabo.pt>
%include fedora-livedvd-games.ks
lang pt_PT.UTF-8
keyboard pt-latin1
timezone Europe/Lisbon
%packages
@portuguese-support
%end
%post
# system-config-keyboard doesn't really work (missing xorg.conf etc)
cat >>/etc/X11/xorg.conf << EOF
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "pt-latin1"
EndSection
EOF
%end