Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-11-02 17:49:12 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-11-02 17:49:12 +0100
commitbc6c363e629ea33d944be09a53c20b97b41d41f8 (patch)
treedf29f3721ad2472ddaeec660cf6ee2e6b93950c2 /archiso/mkarchiso
parent5f3a2ea0e3a48c0bdbf4993ef07bede44c3f3cd0 (diff)
parentee4e4a96d260040af11482cf9d28b49541b813a6 (diff)
Merge branch 'upstreamMaster'
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso7
1 files changed, 4 insertions, 3 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 33a0c1a..820688d 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -256,7 +256,7 @@ _mk_pgp_signature() {
local gpg_options=()
local airootfs_image_filename="${1}"
_msg_info "Signing rootfs image using GPG..."
-
+
rm -f -- "${airootfs_image_filename}.sig"
# Add gpg sender option if the value is provided
[[ -z "${gpg_sender}" ]] || gpg_options+=('--sender' "${gpg_sender}")
@@ -1056,7 +1056,7 @@ _cms_sign_artifact() {
fi
_msg_info "Signing ${artifact} image using openssl cms..."
-
+
rm -f -- "${artifact}.cms.sig"
openssl cms "${openssl_flags[@]}"
@@ -1075,7 +1075,8 @@ _sign_netboot_artifacts() {
_files_to_sign+=("${_dir}${_file}")
fi
done
- for _file in "${_files_to_sign[@]}" "${_dir}${arch}/vmlinuz-"* "${_dir}${arch}/initramfs-"*.img; do
+ for _file in "${_files_to_sign[@]}" "${_dir}${arch}/vmlinuz-"!(*.sig) "${_dir}${arch}/initramfs-"*.img; do
+ rm -f -- "${_file}".ipxe.sig
openssl cms \
-sign \
-binary \