Skip to content

Commit

Permalink
Fix key file issue
Browse files Browse the repository at this point in the history
  • Loading branch information
valtzu committed Feb 8, 2025
1 parent aa0be47 commit dfb91a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mkosi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Build images
run: mkosi build
- name: Test images
run: mkosi '--kernel-command-line-extra=systemd.run="echo hello"' qemu
run: mkosi '--credential=cryptsetup.passphrase=123' '--kernel-command-line-extra=systemd.run="echo hello"' qemu
- name: Compress outputs
if: startsWith(github.ref, 'refs/tags/')
run: xz -0 ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT }}*.raw ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT }}*.efi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
[Unit]
ConditionVirtualization=no
ConditionArchitecture=arm64

[Service]
ExecStart=
ExecStart=systemd-repart --dry-run=no --key-file=/sys/bus/nvmem/devices/rmem1/nvmem
ExecStart=systemd-repart --dry-run=no --key-file=%d/cryptsetup.passphrase
ImportCredential=cryptsetup.passphrase

0 comments on commit dfb91a0

Please sign in to comment.