commit 49b803b1a9ea1bf994144489de668675b75f639f
parent 09ebefa78c5baebe8ce754d4cd9a88c88717195a
Author: torter <koubbamohamedrayan@gmail.com>
Date: Tue, 17 Nov 2026 20:12:19 +0000
site: the handbook covers the graphical and glibc stages
Diffstat:
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/docs/docs.html b/docs/docs.html
@@ -46,7 +46,7 @@
<ul><li><a href="handbook-preparing.html#s2-1">2.1 What the build host needs</a></li><li><a href="handbook-preparing.html#s2-2">2.2 Building SPAS and rifle</a></li><li><a href="handbook-preparing.html#s2-3">2.3 Getting the Gentoo tree</a></li><li><a href="handbook-preparing.html#s2-4">2.4 The profile</a></li><li><a href="handbook-preparing.html#s2-5">2.5 make.conf</a></li></ul>
</li>
<li><a href="handbook-installing.html">Installing by hand</a>
-<ul><li><a href="handbook-installing.html#s3-1">3.1 chamesle-disk</a></li><li><a href="handbook-installing.html#s3-2">3.2 Partitioning and file systems by hand</a></li><li><a href="handbook-installing.html#s3-3">3.3 Unpacking the stage</a></li><li><a href="handbook-installing.html#s3-4">3.4 Building the stage</a></li><li><a href="handbook-installing.html#s3-6">3.6 fstab</a></li><li><a href="handbook-installing.html#s3-7">3.7 Host name, users, password</a></li><li><a href="handbook-installing.html#s3-8">3.8 The kernel and the boot entry</a></li><li><a href="handbook-installing.html#s3-9">3.9 First boot</a></li></ul>
+<ul><li><a href="handbook-installing.html#s3-1">3.1 chamesle-disk</a></li><li><a href="handbook-installing.html#s3-2">3.2 Partitioning and file systems by hand</a></li><li><a href="handbook-installing.html#s3-3">3.3 Unpacking the stage</a></li><li><a href="handbook-installing.html#s3-4">3.4 Building the stage</a></li><li><a href="handbook-installing.html#s3-5">3.5 The other stages</a></li><li><a href="handbook-installing.html#s3-6">3.6 fstab</a></li><li><a href="handbook-installing.html#s3-7">3.7 Host name, users, password</a></li><li><a href="handbook-installing.html#s3-8">3.8 The kernel and the boot entry</a></li><li><a href="handbook-installing.html#s3-9">3.9 First boot</a></li></ul>
</li>
<li><a href="handbook-spas.html">Using SPAS</a>
<ul><li><a href="handbook-spas.html#s4-1">4.1 The commands</a></li><li><a href="handbook-spas.html#s4-2">4.2 Installing and removing</a></li><li><a href="handbook-spas.html#s4-3">4.3 Where it keeps things</a></li><li><a href="handbook-spas.html#s4-4">4.4 make.conf</a></li><li><a href="handbook-spas.html#s4-5">4.5 Repositories</a></li><li><a href="handbook-spas.html#s4-6">4.6 USE flags and keywords</a></li><li><a href="handbook-spas.html#s4-7">4.7 Binary packages</a></li><li><a href="handbook-spas.html#s4-8">4.8 Writing an ebuild</a></li></ul>
diff --git a/docs/handbook-installing.html b/docs/handbook-installing.html
@@ -99,6 +99,29 @@ hoard install -y -j4 --keep-going app-editors/vim</pre>
--exclude=./boot --exclude=./home --exclude=./var/tmp --exclude=./var/cache --exclude=./var/log \
--exclude=./var/db/repos . | xz -T0 > chamesle-stage-20261117.tar.xz</pre>
<p>GNU patch is the one thing the stage3 does not give, and it is built from source.</p>
+<h2 id="s3-5">3.5 The other stages</h2>
+<p>There are four stages. The unpacking in 3.3 is the same for all of them; only the tarball differs.</p>
+<table>
+<tr><th>tarball</th><th>libc</th><th>what is in it</th></tr>
+<tr><td><code>chamesle-stage-DATE</code></td><td>musl</td><td>the base of 3.3: rifle, mksh, Winchester, gcc, SPAS, sam</td></tr>
+<tr><td><code>chamesle-stage-graphical-DATE</code></td><td>musl</td><td>the base, plus X, 9wm, sxhkd, dmenu, and plan9port with 9term and acme</td></tr>
+<tr><td><code>chamesle-stage-glibc-DATE</code></td><td>glibc</td><td>Gentoo's glibc userland (GNU coreutils stay), with Winchester, mksh, SPAS, rifle and sam</td></tr>
+<tr><td><code>chamesle-stage-glibc-graphical-DATE</code></td><td>glibc</td><td>the glibc stage, plus the same graphical set</td></tr>
+</table>
+<p>Pick the libc by what you want to run. musl is Chamesle's own; glibc is for programs that only come as binaries for glibc. SPAS reads the profile in <code>/etc/spas/make.profile</code>, which is the musl profile in the musl stages and the plain one in the glibc stages.</p>
+<h3 id="the-graphical-stages">The graphical stages</h3>
+<p>On the first boot the login on tty1 is <code>chamesle-session</code>, not a shell. It starts X, and X starts <code>9wm</code>, which is the window manager that looks and works like rio: the right button makes windows (New, Reshape, Move, Delete, Hide), and text is selected and cut by chording the mouse buttons. A <code>9term</code> is open when it comes up, with <code>plumber</code> behind it. When X ends you land in <code>mksh</code>. The login is <code>root</code> with no password until you set one (3.7).</p>
+<p><code>sxhkd</code> carries the keys of the dwm setup that make sense without tags (<code>/etc/sxhkd/sxhkdrc</code>):</p>
+<table>
+<tr><th>key</th><th>does</th></tr>
+<tr><td>Super+t, Super+Shift+Return</td><td>a new <code>9term</code></td></tr>
+<tr><td>Super+d</td><td><code>dmenu_run</code></td></tr>
+<tr><td>Super+a</td><td><code>acme</code></td></tr>
+<tr><td>Super+e</td><td><code>sam</code> in a <code>9term</code></td></tr>
+<tr><td>Super+Shift+q</td><td>ends the session (kills <code>9wm</code>)</td></tr>
+<tr><td>volume and brightness keys</td><td><code>amixer</code> and <code>brightnessctl</code></td></tr>
+</table>
+<p><code>EDITOR</code> is <code>sam -d</code> there too. Everything is a file to change: <code>/etc/X11/xinit/xinitrc</code> is the session, and <code>getty-tty1</code> in <code>/etc/init.conf</code> is what starts it. Take that line out to go back to a plain login.</p>
<h2 id="s3-6">3.6 fstab</h2>
<p>If you used chamesle-disk the file is written. Look at it: the boot partition by UUID on <code>/boot</code>, then <code>proc</code>, <code>sysfs</code> and <code>tmpfs</code>, and nothing for the ZFS datasets, because ZFS mounts them itself.</p>
<p>By hand, <code>blkid</code> prints the UUIDs:</p>