Merge pull request 'fix: check out with actions/checkout, regenerate the test key with mkosi -f genkey' (#2) from fix-ci-and-test-key into main
os / os (push) Canceled after 0s
os / os (push) Canceled after 0s
Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
commit
f043ab7fe0
3 files changed
+7
-4
No files matched your search
@@ -19,11 +19,14 @@ on:
|
||||
jobs:
|
||||
os:
|
||||
runs-on: linux
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- name: Install tools
|
||||
run: dnf install -yq mkosi git-core
|
||||
run: dnf install -yq mkosi
|
||||
- name: Check out
|
||||
uses: builtin:checkout
|
||||
uses: actions/checkout@v7
|
||||
- name: Build
|
||||
env:
|
||||
KEY: ${{ secrets.SECUREBOOT_KEY }}
|
||||
|
||||
@@ -66,7 +66,7 @@ CMD ["/sbin/init"]
|
||||
END
|
||||
podman run -d --name mkosi --privileged --systemd=always -v <repo>:/repo \
|
||||
-v mkosi-cache:/root/.cache/mkosi -v mkosi-work:/var/tmp -w /repo mkosi-vm
|
||||
podman exec mkosi mkosi genkey # Run this once, if there is no mkosi.key.
|
||||
podman exec mkosi mkosi -f genkey # Run this once. Don't commit mkosi.crt.
|
||||
podman exec mkosi mkdir -p mkosi.cache
|
||||
podman exec -d -t mkosi sh -c 'mkosi -i -f \
|
||||
--kernel-command-line-extra=console=ttyS0 vm -- -serial chardev:console \
|
||||
|
||||
Reference in new issue
Block a user