chore(signing): Make a directory in /usr/etc for Ublue images if not already made
This commit is contained in:
parent
40cfcc6646
commit
12d052668f
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ TEMPLATE_POLICY="${MODULE_DIRECTORY}/signing/policy.json"
|
|||
# Copy policy.json to '/usr/etc/containers/' on Universal Blue based images
|
||||
# until they solve the issue by copying 'policy.json' to '/etc/containers/' instead
|
||||
if rpm -q ublue-os-signing &>/dev/null; then
|
||||
mkdir -p "/usr/etc/containers/"
|
||||
POLICY_FILE="/usr/etc/containers/policy.json"
|
||||
else
|
||||
POLICY_FILE="${CONTAINER_DIR}/policy.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue