summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfig/chroot_local-includes/lib/live/config/8000-plasma-keyboard-layout25
-rwxr-xr-xnightly_build.bash18
2 files changed, 25 insertions, 18 deletions
diff --git a/config/chroot_local-includes/lib/live/config/8000-plasma-keyboard-layout b/config/chroot_local-includes/lib/live/config/8000-plasma-keyboard-layout
index 1e132c2..53034b8 100755
--- a/config/chroot_local-includes/lib/live/config/8000-plasma-keyboard-layout
+++ b/config/chroot_local-includes/lib/live/config/8000-plasma-keyboard-layout
@@ -4,14 +4,19 @@ PlasmaKeyboardLayout ()
{
KXKBRC=/home/${LIVE_USERNAME}/.config/kxkbrc
# KXKBRC=/home/kanotix/kxkbrc/kxkbrc
-
+ KWRITECONFIG=""
# Checking if package is already configured
if [ -e /var/lib/live/config/plasmakeyboardlayout ] || \
- [ ! -e ${KXKBRC} ] || [ ! -x /usr/bin/kwriteconfig5 ]
+ [ ! -e ${KXKBRC} ]
then
return
fi
+ [ -x /usr/bin/kwriteconfig5 ] && KWRITECONFIG="/usr/bin/kwriteconfig5"
+ [ -x /usr/bin/kwriteconfig6 ] && KWRITECONFIG="/usr/bin/kwriteconfig6"
+
+ [ -z ${KWRITECONFIG} ] && return
+
echo -n " plasmakeyboardlayout"
for _PARAMETER in ${_CMDLINE} ${LIVE_CONFIG_CMDLINE}
@@ -54,16 +59,16 @@ case "$LIVE_KEYBOARD_LAYOUTS" in
: # use preconfig
;;
us)
- kwriteconfig5 --file "$KXKBRC" --group Layout --key LayoutList --type string "us,fr,cz,de"
- kwriteconfig5 --file "$KXKBRC" --group Layout --key VariantList --type string ",,,nodeadkeys"
+ ${KWRITECONFIG} --file "$KXKBRC" --group Layout --key LayoutList --type string "us,fr,cz,de"
+ ${KWRITECONFIG} --file "$KXKBRC" --group Layout --key VariantList --type string ",,,nodeadkeys"
;;
fr)
- kwriteconfig5 --file "$KXKBRC" --group Layout --key LayoutList --type string "fr,cz,de,us"
- kwriteconfig5 --file "$KXKBRC" --group Layout --key VariantList --type string ",,nodeadkeys,"
+ ${KWRITECONFIG} --file "$KXKBRC" --group Layout --key LayoutList --type string "fr,cz,de,us"
+ ${KWRITECONFIG} --file "$KXKBRC" --group Layout --key VariantList --type string ",,nodeadkeys,"
;;
cz)
- kwriteconfig5 --file "$KXKBRC" --group Layout --key LayoutList --type string "cz,de,us,fr"
- kwriteconfig5 --file "$KXKBRC" --group Layout --key VariantList --type string ",nodeadkeys,,"
+ ${KWRITECONFIG} --file "$KXKBRC" --group Layout --key LayoutList --type string "cz,de,us,fr"
+ ${KWRITECONFIG} --file "$KXKBRC" --group Layout --key VariantList --type string ",nodeadkeys,,"
;;
*)
: # use preconfig
@@ -71,8 +76,8 @@ case "$LIVE_KEYBOARD_LAYOUTS" in
esac
[ -r /etc/default/keyboard ] && . /etc/default/keyboard
- [ "$XKBMODEL" ] && kwriteconfig5 --file "$KXKBRC" --group Layout --key Model --type string "$XKBMODEL"
- kwriteconfig5 --file "$KXKBRC" --group Layout --key DisplayNames --type string ",,,"
+ [ "$XKBMODEL" ] && ${KWRITECONFIG} --file "$KXKBRC" --group Layout --key Model --type string "$XKBMODEL"
+ ${KWRITECONFIG} --file "$KXKBRC" --group Layout --key DisplayNames --type string ",,,"
# Creating state file
touch /var/lib/live/config/plasmakeyboardlayout
diff --git a/nightly_build.bash b/nightly_build.bash
index 599ad79..e2b7da8 100755
--- a/nightly_build.bash
+++ b/nightly_build.bash
@@ -89,14 +89,16 @@ sed -i 's/\(export LB_DISTRIBUTION=\).*/\1"'$DISTRO'"/' auto/config
cat <<"EOF" >$target/readme-$KDISTRO.txt
-Towelfire Isos are pre releases.
-======================================
-based on debian trixie (testing for now)
-bugs are expected
-broken updates may happen
-
-i386 ships with bookworm kernel
-and may break completely
+Towelfire Isos are current release.
+===================================
+Based on Debian13 trixie (stable).
+Isos are nightly builds.
+acritox installer(recommended)
+and calamares installer are provided.
+
+i386 eeepc4G.iso ships with bookworm kernel
+and reduced firmware
+and may need nomodeset to boot.
EOF
ln -s $target/readme-$KDISTRO.txt $next/readme-$KDISTRO.txt