From b6f176dd238a97bfad880997ba951b0a48415d67 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Fedora Unity)" Date: Tue, 3 Jun 2008 14:18:34 +0200 Subject: [PATCH] Add pt_PT localized kickstarts --- fedora-livecd-electronic-lab-pt_PT.ks | 24 ++++++++++++++++++++++++ fedora-livecd-kde-pt_PT.ks | 25 +++++++++++++++++++++++++ fedora-livecd-xfce-pt_PT.ks | 14 ++++++++++++++ fedora-livedvd-developer-pt_PT.ks | 25 +++++++++++++++++++++++++ fedora-livedvd-games-pt_PT.ks | 25 +++++++++++++++++++++++++ 5 files changed, 113 insertions(+) create mode 100644 fedora-livecd-electronic-lab-pt_PT.ks create mode 100644 fedora-livecd-kde-pt_PT.ks create mode 100644 fedora-livecd-xfce-pt_PT.ks create mode 100644 fedora-livedvd-developer-pt_PT.ks create mode 100644 fedora-livedvd-games-pt_PT.ks diff --git a/fedora-livecd-electronic-lab-pt_PT.ks b/fedora-livecd-electronic-lab-pt_PT.ks new file mode 100644 index 0000000..2c98ce9 --- /dev/null +++ b/fedora-livecd-electronic-lab-pt_PT.ks @@ -0,0 +1,24 @@ +# fedora-livecd-electronic-lab-pt_PT.ks +# +# Maintainer(s): +# - Pedro Silva + +%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 diff --git a/fedora-livecd-kde-pt_PT.ks b/fedora-livecd-kde-pt_PT.ks new file mode 100644 index 0000000..40c84c4 --- /dev/null +++ b/fedora-livecd-kde-pt_PT.ks @@ -0,0 +1,25 @@ +# fedora-livecd-kde-pt_PT.ks +# +# Maintainer(s): +# - Pedro Silva + +%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 diff --git a/fedora-livecd-xfce-pt_PT.ks b/fedora-livecd-xfce-pt_PT.ks new file mode 100644 index 0000000..ed65785 --- /dev/null +++ b/fedora-livecd-xfce-pt_PT.ks @@ -0,0 +1,14 @@ +# fedora-livecd-xfce-pt_PT.ks +# +# Maintainer(s): +# - Pedro Silva + +%include fedora-livecd-xfce.ks + +lang pt_PT.UTF-8 +keyboard pt-latin1 +timezone Europe/Lisbon + +%packages +@portuguese-support +%end diff --git a/fedora-livedvd-developer-pt_PT.ks b/fedora-livedvd-developer-pt_PT.ks new file mode 100644 index 0000000..0775470 --- /dev/null +++ b/fedora-livedvd-developer-pt_PT.ks @@ -0,0 +1,25 @@ +# fedora-livedvd-developer-pt_PT.ks +# +# Maintainer(s): +# - Pedro Silva + +%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 \ No newline at end of file diff --git a/fedora-livedvd-games-pt_PT.ks b/fedora-livedvd-games-pt_PT.ks new file mode 100644 index 0000000..d623cab --- /dev/null +++ b/fedora-livedvd-games-pt_PT.ks @@ -0,0 +1,25 @@ +# fedora-livedvd-games-pt_PT.ks +# +# Maintainer(s): +# - Pedro Silva + +%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 \ No newline at end of file