Skip to content

Commit

Permalink
podvm-mkosi: Fix mkosi delete log
Browse files Browse the repository at this point in the history
We are seeing
```
rm: cannot remove '/usr/local/bin/mkosi': No such file or directory
```
in the log, when the delete fails, so
use `-f`  to ignore file delete if it doesn't exist

Signed-off-by: stevenhorsman <[email protected]>
  • Loading branch information
stevenhorsman committed Aug 28, 2024
1 parent 0a09f43 commit 2c2826a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/podvm_mkosi_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Install mkosi
run: |
git clone -b v22 https://github.com/systemd/mkosi
sudo rm /usr/local/bin/mkosi | true
sudo rm -f /usr/local/bin/mkosi
sudo ln -s $PWD/mkosi/bin/mkosi /usr/local/bin/mkosi
mkosi --version
Expand Down

0 comments on commit 2c2826a

Please sign in to comment.