diff --git a/images/openwrt.yaml b/images/openwrt.yaml index dad26dbc..09b504b1 100644 --- a/images/openwrt.yaml +++ b/images/openwrt.yaml @@ -224,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