chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

commit ec4317250100e8929328699a3a19ba7fe5767ada
parent 30d7d8b2a25c67ed636a2bfe11882d5ff192dc7b
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Sun, 25 Oct 2026 23:31:53 -0400

server: tested. text jiggity names non-latin languages in english, no nscd errors on the console, no services for programs an edition doesn't have

Diffstat:
Mbuild.sh | 5+++++
Aoverlay/etc/resolvconf.conf | 10++++++++++
Moverlay/usr/lib/jiggity/text.py | 6+++++-
3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh @@ -71,6 +71,11 @@ fi echo "=== [2/5] CHAMESLE: SERVICES, LOOK AND BRANDING" cp -a "$HERE/overlay/." "$ROOT/" for e in $EDS; do [ -d "$HERE/editions/$e/overlay" ] && cp -a "$HERE/editions/$e/overlay/." "$ROOT/"; done +# services turned on for programs this edition doesn't have (the server has no bluetooth or printing) go off again +for l in "$ROOT"/etc/dinit.d/boot.d/*; do + c=$(sed -n 's/^command *= *\([^ ]*\).*/\1/p' "$ROOT/etc/dinit.d/${l##*/}" 2>/dev/null) + [ -n "$c" ] && [ ! -e "$ROOT$c" ] && rm -f "$l" +done "$HERE/tools/themes.sh" "$ROOT" # the installer's slideshow starts with this edition's desktop (the website's picture of it) and how to get around SLIDES=$ROOT/usr/share/live-installer/slideshow diff --git a/overlay/etc/resolvconf.conf b/overlay/etc/resolvconf.conf @@ -0,0 +1,10 @@ +# Configuration for resolvconf(8) +# See resolvconf.conf(5) for details + +resolv_conf=/etc/resolv.conf +# If you run a local name server, you should uncomment the below line and +# configure your subscribers configuration files below. +#name_servers=127.0.0.1 + +# chamesle has no nscd: don't ask dinit to restart it on every network change +libc_restart=true diff --git a/overlay/usr/lib/jiggity/text.py b/overlay/usr/lib/jiggity/text.py @@ -15,6 +15,10 @@ import install from choices import LANGUAGES, STEPS, keyboards scr = None +# the console font has latin letters only: these languages by their english names +ENGLISH = {"ru_RU": "Russian", "uk_UA": "Ukrainian", "el_GR": "Greek", "ar_MA": "Arabic", "ar_EG": "Arabic (Egypt)", + "hi_IN": "Hindi", "ja_JP": "Japanese", "ko_KR": "Korean", "zh_CN": "Chinese (Simplified)", + "zh_TW": "Chinese (Traditional)"} def frame(title, keys): @@ -126,7 +130,7 @@ def yes(title, note): def run_install(): - lang = choose("Language to install", "", [n for n, c in LANGUAGES]) + lang = choose("Language to install", "", [ENGLISH.get(c, n) for n, c in LANGUAGES]) if lang is None: lang = 0 kbds = keyboards()