chamesle

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

commit f56f3f32923859ec87c63e4ed03b3b27d4d0db1b
parent 4e9eb8704902f6cab37d4184b21a98034f1aef09
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Mon, 26 Oct 2026 05:29:25 -0400

netinst: chamesle-x86_64.iso with no version, and an apk upgrade so any iso installs the newest

Diffstat:
Mbuild.sh | 5+++--
Mdocs/download.html | 12++++++------
Moverlay/usr/bin/chamesle-desktop | 2++
3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/build.sh b/build.sh @@ -1,7 +1,7 @@ #!/bin/bash # builds the iso for one edition # sudo EDITION=xfce ./build.sh -> out/chamesle-VERSION-EDITION-x86_64.iso -# sudo EDITION=netinst ./build.sh -> out/chamesle-VERSION-x86_64.iso, the one that installs any of them +# sudo EDITION=netinst ./build.sh -> out/chamesle-x86_64.iso, the one that installs any of them # REPO= a dir or url with x86_64/Packages.adb (default work/repo, else the public one), WORK= OUT= # needs apk-tools 3, mksquashfs, xorriso, grub-mkrescue (bios + efi), readelf, zstd, cpio, depmod, curl set -euo pipefail @@ -19,7 +19,8 @@ EDITION_NAME=$(sed -n 's/^name=//p' "$HERE/editions/$EDITION/edition" 2>/dev/nul WORK=${WORK:-$HERE/work/$EDITION}; ROOT=$WORK/root; ISO_DIR=$WORK/iso OUT=${OUT:-$HERE/out}; ISO=$OUT/chamesle-$VERSION-$EDITION-x86_64.iso NETINST=$(edval netinst) -[ "$NETINST" = yes ] && ISO=$OUT/chamesle-$VERSION-x86_64.iso +# no version: it installs whatever the repo has, the same link always gets the current one +[ "$NETINST" = yes ] && ISO=$OUT/chamesle-x86_64.iso PUBLIC_REPO=https://downloads.sourceforge.net/project/chameslerepos # where the netinst installs from: the public repo. NETREPO="v3 URL;v3 URL" to test against others NETREPO=${NETREPO:-v3 $PUBLIC_REPO} diff --git a/docs/download.html b/docs/download.html @@ -40,8 +40,8 @@ <h3>Chamesle 0.6</h3> <p>Xfce, MATE, Cinnamon, GNOME, KDE Plasma, Astro, Ranni, Play, TTY or Server. You choose in the installer.</p> <p class="small">Chamesle 0.6.0 "Margit" &middot; 64-bit &middot; 620&nbsp;MB</p> - <a class="button" href="https://sourceforge.net/projects/chameslerepos/files/iso/chamesle-0.6.0-x86_64.iso/download">Download Chamesle</a> - <a class="plain" href="https://sourceforge.net/projects/chameslerepos/files/iso/chamesle-0.6.0-x86_64.iso.sha256/download">SHA-256</a> + <a class="button" href="https://sourceforge.net/projects/chameslerepos/files/iso/chamesle-x86_64.iso/download">Download Chamesle</a> + <a class="plain" href="https://sourceforge.net/projects/chameslerepos/files/iso/chamesle-x86_64.iso.sha256/download">SHA-256</a> </div> </div> </div> @@ -87,7 +87,7 @@ Still, before you install:</p> <h3>On Linux</h3> <p>Etcher works here too. Or from a terminal (check the device name with <code>lsblk</code> first, getting it wrong will wipe the wrong disk):</p> -<pre><code>sudo dd if=chamesle-0.6.0-x86_64.iso of=/dev/sdX bs=4M status=progress conv=fsync</code></pre> +<pre><code>sudo dd if=chamesle-x86_64.iso of=/dev/sdX bs=4M status=progress conv=fsync</code></pre> <h3>Ventoy</h3> <p>If you already use <a href="https://www.ventoy.net/">Ventoy</a>, just copy the ISO onto the stick.</p> @@ -112,14 +112,14 @@ to your new desktop. Changed your mind about the desktop later? Add another one <h2>Checking the download</h2> <p>If you want to be sure the file isn't broken, compare its checksum with the one next to the download:</p> -<pre><code>sha256sum -c chamesle-0.6.0-x86_64.iso.sha256</code></pre> -<p>On Windows, <code>certutil -hashfile chamesle-0.6.0-x86_64.iso SHA256</code> in a command prompt does the same.</p> +<pre><code>sha256sum -c chamesle-x86_64.iso.sha256</code></pre> +<p>On Windows, <code>certutil -hashfile chamesle-x86_64.iso SHA256</code> in a command prompt does the same.</p> <p class="small">We haven't been able to test this on Windows ourselves yet. If something looks different or doesn't work, tell us on the <a href="board.html">board</a>.</p> <h2>In a virtual machine</h2> <p>VirtualBox, VMware, GNOME Boxes and QEMU all work. Give it 2 CPUs, 3&nbsp;GB of RAM and a 20&nbsp;GB disk. With QEMU:</p> <pre><code>qemu-img create -f qcow2 chamesle.qcow2 20G -qemu-system-x86_64 -enable-kvm -m 3G -smp 2 -drive file=chamesle.qcow2 -cdrom chamesle-0.6.0-x86_64.iso</code></pre> +qemu-system-x86_64 -enable-kvm -m 3G -smp 2 -drive file=chamesle.qcow2 -cdrom chamesle-x86_64.iso</code></pre> </main> diff --git a/overlay/usr/bin/chamesle-desktop b/overlay/usr/bin/chamesle-desktop @@ -30,6 +30,8 @@ if [ -s /etc/chamesle/trimmed ]; then apk fix --no-interactive $prog --reinstall $(cat /etc/chamesle/trimmed) rm /etc/chamesle/trimmed fi +# what came from an older iso: as new as the repo, kernel and all +apk upgrade --no-interactive $prog apk add --no-interactive $prog '!runit' '!runit-void' $pkgs fp=$(val flatpaks)