Skip to content

Commit

Permalink
images/openwrt: Install sudo on snapshot release (#360)
Browse files Browse the repository at this point in the history
Just follow up on #359
  • Loading branch information
simondeziel authored Nov 20, 2024
2 parents 8e22920 + b3d3dd1 commit e8bf23a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions images/openwrt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,6 @@ packages:
- packages:
- sudo
action: install
releases:
- 23.05

actions:
- trigger: post-unpack
Expand All @@ -226,6 +224,15 @@ actions:
architectures:
- amd64

- trigger: post-unpack
action: |
#!/bin/sh
# Ensure /var/log exists before running package manager.
# Otherwise, the command can fail due to missing directory.
mkdir -p /var/log
releases:
- snapshot

- trigger: post-files
action: |
#!/bin/sh
Expand Down

0 comments on commit e8bf23a

Please sign in to comment.