From 6ed73883c68304f6677ff342f457aad3c18ab6c6 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mon, 9 Dec 2024 20:24:34 +0100 Subject: docs/HACKING: use 'run0' to indicate which commands require privileges --- docs/HACKING.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/HACKING.md b/docs/HACKING.md index e4359e277a..d302a15f28 100644 --- a/docs/HACKING.md +++ b/docs/HACKING.md @@ -50,7 +50,7 @@ To build and boot an OS image with the latest systemd installed: ```sh $ mkosi -f genkey # Generate signing keys once. $ mkosi -f sandbox meson compile -C build mkosi # (re-)build the OS image -$ sudo mkosi boot # Boot the image with systemd-nspawn. +$ run0 mkosi boot # Boot the image with systemd-nspawn. $ mkosi vm # Boot the image with qemu. ``` @@ -133,17 +133,17 @@ To upgrade the systemd packages on the host system to the newer versions built by mkosi, run the following: ```sh -dnf upgrade build/mkosi.builddir/~~/*.rpm # Fedora/CentOS -apt-get install build/mkosi.builddir/~~/*.deb # Debian/Ubuntu -pacman --upgrade --needed --noconfirm build/mkosi.builddir/~~/*.pkg.tar # Arch Linux -zypper --non-interactive install --allow-unsigned-rpm build/mkosi.builddir/~~/*.rpm # OpenSUSE +run0 dnf upgrade build/mkosi.builddir/~~/*.rpm # Fedora/CentOS +run0 apt-get install build/mkosi.builddir/~~/*.deb # Debian/Ubuntu +run0 pacman --upgrade --needed --noconfirm build/mkosi.builddir/~~/*.pkg.tar # Arch Linux +run0 zypper --non-interactive install --allow-unsigned-rpm build/mkosi.builddir/~~/*.rpm # OpenSUSE ``` To downgrade back to the old version shipped by the distribution, run the following: ```sh -dnf downgrade "systemd*" # Fedora/CentOS +run0 dnf downgrade "systemd*" # Fedora/CentOS # TODO: Other distributions ``` -- cgit v1.2.3 From dce73a47b092f06fd1133d6eadba5214062a1fe1 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 16 Jan 2025 21:18:11 +0100 Subject: README: add sgx to list of required groups Follow-up for c9c4899f4444d9586e541b5e72597a37f949433a. --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index d5e60cd8bf..1e55da23f6 100644 --- a/README +++ b/README @@ -383,8 +383,8 @@ USERS AND GROUPS: need to be resolvable by getgrnam() at any time, even in the very early boot stages, where no other databases and network are available: - audio, cdrom, clock, dialout, disk, input, kmem, kvm, lp, render, tape, - tty, video + audio, cdrom, clock, dialout, disk, input, kmem, kvm, lp, render, + sgx, tape, tty, video During runtime, the journal daemon requires the "systemd-journal" system group to exist. New journal files will be readable by this group (but -- cgit v1.2.3