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