From b978c189aeb699c1ad4e0ed2f8e9602c79b85f77 Mon Sep 17 00:00:00 2001 From: Job Date: Mon, 23 Nov 2026 18:25:38 +0000 Subject: [PATCH] docs: shorter comments Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/os.yml | 5 +---- AGENTS.md | 3 +-- README.md | 6 ++---- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/os.yml b/.gitea/workflows/os.yml index 1fcec9c..9f2e715 100644 --- a/.gitea/workflows/os.yml +++ b/.gitea/workflows/os.yml @@ -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 }}" diff --git a/AGENTS.md b/AGENTS.md index 4fe5530..d3dc573 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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. diff --git a/README.md b/README.md index 92d8379..5ff6b30 100644 --- a/README.md +++ b/README.md @@ -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]