summaryrefslogtreecommitdiffstats
path: root/share/doc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-26 03:52:25 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-07-26 03:53:16 +0000
commitc99e2c996949d9b17af8a871bffe3796da247924 (patch)
treecf4ab3b6735ddf84aef85a30fd51144d31264499 /share/doc
parentSupport fetching local keys from keyring library in container key command. (diff)
downloadcompute-tools-c99e2c996949d9b17af8a871bffe3796da247924.tar.xz
compute-tools-c99e2c996949d9b17af8a871bffe3796da247924.zip
Using sig instead of sign as gpg signature extension for container images.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to '')
-rwxr-xr-xshare/doc/examples/container-images.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/doc/examples/container-images.sh b/share/doc/examples/container-images.sh
index 9bdd453..e6947e3 100755
--- a/share/doc/examples/container-images.sh
+++ b/share/doc/examples/container-images.sh
@@ -85,9 +85,9 @@ do
if [ -n "${KEY}" ]
then
- echo "Building ${SYSTEM}.system.tar.${COMPRESSION}.sign"
+ echo "Building ${SYSTEM}.system.tar.${COMPRESSION}.sig"
gpg -a -b --default-key ${KEY} ${SYSTEM}.system.tar.${COMPRESSION}
- mv "${SYSTEM}.system.tar.${COMPRESSION}.asc" "${SYSTEM}.system.tar.${COMPRESSION}.sign"
+ mv "${SYSTEM}.system.tar.${COMPRESSION}.asc" "${SYSTEM}.system.tar.${COMPRESSION}.sig"
fi
echo "Building ${SYSTEM}.system.tar.${COMPRESSION} symlink"
@@ -96,10 +96,10 @@ do
echo "Building ${SYSTEM}.system.tar.${COMPRESSION}.sha512 copy"
sed -e "s|${DATE}|current|" "${SYSTEM}.system.tar.${COMPRESSION}.sha512" > "$(echo ${SYSTEM}.system.tar.${COMPRESSION}.sha512 | sed -e "s|${DATE}|current|")"
- if [ -e "${SYSTEM}.system.tar.${COMPRESSION}.sign" ]
+ if [ -e "${SYSTEM}.system.tar.${COMPRESSION}.sig" ]
then
- echo "Building ${SYSTEM}.system.tar.${COMPRESSION}.sign copy"
- cp "${SYSTEM}.system.tar.${COMPRESSION}.sign" "$(echo ${SYSTEM}.system.tar.${COMPRESSION}.sign | sed -e "s|${DATE}|current|")"
+ echo "Building ${SYSTEM}.system.tar.${COMPRESSION}.sig copy"
+ cp "${SYSTEM}.system.tar.${COMPRESSION}.sig" "$(echo ${SYSTEM}.system.tar.${COMPRESSION}.sig | sed -e "s|${DATE}|current|")"
fi
done