docs: shorter comments

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-23 18:25:38 +00:00
1 parent 0a68a046ef
commit b978c189ae
3 files changed
+4 -10

No files matched your search

+1 -4
View File
@@ -19,16 +19,13 @@ on:
jobs:
os:
runs-on: linux
# permissions lets gitea.token check out the repository and publish the
# package.
permissions:
contents: read
packages: write
steps:
- name: Install tools
run: dnf install -yq mkosi git-core
# Check out fetches the commit with git, which needs no Node.js and no
# action from GitHub. gitea-runner 6 removed builtin:checkout.
# gitea-runner 6 removed builtin:checkout.
- name: Check out
env:
AUTH: "Authorization: token ${{ gitea.token }}"
+1 -2
View File
@@ -73,8 +73,7 @@ podman exec -d -t mkosi sh -c 'mkosi -i -f \
podman exec mkosi mkosi ssh -- systemctl --failed
```
- mkosi signs with the test key of `mkosi.local.conf`
([README.md](README.md#development)), with paths as the container sees them.
- mkosi signs with the test key from [README.md](README.md#development).
- `mkosi -i` keeps the image with its packages installed in `mkosi.cache/`.
Rebuilds start from it and skip installing packages.
- The volume `mkosi-work` keeps mkosi's workspace in /var/tmp off overlayfs.
+2 -4
View File
@@ -35,16 +35,14 @@ itself up as at first boot.
## Development
`mkosi build` signs with `mkosi.key`, the private key of `mkosi.crt`, which
only CI has (the `SECUREBOOT_KEY` secret). `mkosi genkey` won't replace
`mkosi.crt`, so local builds sign with a test key. Make one:
Only CI has `mkosi.key`, so local builds sign with a test key:
```sh
openssl req -new -x509 -newkey rsa:2048 -nodes -subj /CN=test \
-keyout ~/test.key -out ~/test.crt
```
and point `mkosi.local.conf` at it, which mkosi reads and git ignores:
`mkosi.local.conf`:
```ini
[Validation]