Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2023-06-01 08:56:28 +0300
committernl6720 <nl6720@gmail.com>2023-06-01 09:58:22 +0300
commit1d1f9a0fc8feec8c917f36af3ddd28d20431e3db (patch)
treead9f99e14171f9103abfc8f7aec723c0bf264260
parentc50ffaf48b7ec18a16c9271b3cda5365049b70e3 (diff)
mkarchiso: run _cms_sign_artifact only once
Since `_build_buildmode_netboot` runs `_build_iso_base` which runs `_prepare_airootfs_image`, the call to `_cms_sign_artifact` in `_build_buildmode_netboot` can be removed. Fixes #197
-rw-r--r--CHANGELOG.rst2
-rwxr-xr-xarchiso/mkarchiso1
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 86cdc02..31e48df 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -17,6 +17,8 @@ Deprecated
Fixed
-----
+- Sign the root file system image only once.
+
Removed
-------
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 66a8f45..3961f15 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -1813,7 +1813,6 @@ _build_buildmode_netboot() {
if [[ -v cert_list ]]; then
_run_once _sign_netboot_artifacts
- _cms_sign_artifact "${airootfs_image_filename}"
fi
_run_once _export_netboot_artifacts
}