Repository navigation
KDOS v0.2, built from commit 4f05fe7.
About this release
KDOS 0.2 is a KDE Plasma desktop on a small, signed base system. The image
carries the base; applications, games, language packs and firmware install
prebuilt from this release's packages: one at a time in Discover, as a group
in the installer or on Welcome Center's Make It Yours page, or by name or
group with sudo kdos update install.
What it needs
- A 64-bit UEFI or BIOS machine with Secure Boot turned off: the boot loader
on the medium is not signed for Secure Boot. - 4 GB of memory or more. The live session keeps everything it installs in
memory. - For an install, about 24.5 GiB of disk for the two system slots updates
switch between, with the default 4 GiB swap (20.5 GiB with none). A smaller
disk gets one slot and no rollback, down to about 8 GiB with no swap. - The medium carries Intel, AMD, MediaTek and Realtek firmware. Other Wi-Fi
cards and GPUs (Qualcomm, Atheros, Broadcom, NVIDIA) need a network first,
over Ethernet or a supported card, thensudo kdos firmware sync.
The live session logs in as kdos. The password of kdos and of root on
the live medium is kdos; an installed system has the accounts and passwords
you choose in the installer.
Installing software
kdos update install <name> installs a program and what it needs from the
release's binary host, checking every package against the release key the
image carries. kdos update groups names the groups. Programs that
KDOS does not package run in boxes, from Discover or with kdos-appbox.
Updating and going back
sudo kdos update fetch asks whether a newer release is published, and
kdos update check then says what it would change.
On a machine with two system slots, an update is written to the other slot
and started on the next boot; if that boot does not reach the desktop, the
machine starts the previous slot again. On a machine SDDM does not log in
automatically, the login screen staying up for a minute keeps the update,
so a desktop that breaks only after a login is not rolled back by itself:
System Settings → System Versions → Start This Version Next Time on the
other slot starts the previous version, and sudo kdos-bootctl try <slot>
on the recovery console (Ctrl+Alt+F2) does the same where the desktop
cannot open System Settings. Programs installed and settings
changed since an update stay in the version they were made in.
On a machine with one slot, sudo kdos update fetch and then
sudo kdos update apply write the update over the running system, which
uses it from the next restart. There is no previous version to go back to.
What's New shows these notes after an update or a rollback; kdos update notes, or Release Notes in the menu, shows them at any time.
Download
The live ISO is kdos-v0.2.iso (1.66 GiB). It starts a full KDOS desktop from the medium and installs KDOS from there.
Write it to a USB stick or a DVD of at least 1.66 GiB.
See Getting started and Installation.
Check
Download SHA256SUMS beside the image and run:
sha256sum -c SHA256SUMS --ignore-missing
SHA256SUMS.sig is an Ed25519 signature over SHA256SUMS by key ccb53bac7fdba3cd, whose public half is kdos-release.pub. With OpenSSL 3 and xxd, on any system, before KDOS runs:
{ printf 302a300506032b6570032100; cut -d' ' -f2 kdos-release.pub; } | xxd -r -p > kdos-release.der
awk '$2=="ccb53bac7fdba3cd"{print $3}' SHA256SUMS.sig | xxd -r -p > SHA256SUMS.sig.bin
openssl pkeyutl -verify -pubin -keyform DER -inkey kdos-release.der -rawin -in SHA256SUMS -sigfile SHA256SUMS.sig.bin
It prints Signature Verified Successfully. The key id is the first 16 hex digits of the key's SHA-256: cut -d' ' -f2 kdos-release.pub | xxd -r -p | sha256sum | cut -c1-16 prints ccb53bac7fdba3cd. On a KDOS system, with that key in a directory of its own:
KPKG_KEYRING=<dir holding kdos-release.pub> kpkg verify-pkg SHA256SUMS
A key downloaded beside the file it vouches for proves only that the two agree; compare the key id with one you obtained another way.
Updating an installed system
kdos-ports.tar.xz is the recipe tree at v0.2: every recipe, patch and program of our own, and no source. kdos update fetch downloads it from the latest release, checks kdos-ports.tar.xz.sig against the keys in /etc/kdos/keys/tree and installs it as /ports.
kdos-update.idx says where every file of this release's updates is and what it hashes to: the prebuilt packages in the pre-releases binhost-v0.2-NN and the slot image in image-v0.2, whichever this release carries. kdos update reads it, checked against kdos-update.idx.sig and the keys in /etc/kdos/keys, and takes no file it does not name. kdos update apply writes the slot image into the inactive slot, or else installs the prebuilt packages there; kdos update apply --source builds what is behind on the machine instead.
Sources
sources.sha256 lists every upstream source file the recipes at v0.2 name, as <sha256> <port>/<file>. Each is kept in the numbered sources-N pre-releases of this repository, and ports/fetch finds it through ports/sources.idx.