From 1d1f9a0fc8feec8c917f36af3ddd28d20431e3db Mon Sep 17 00:00:00 2001 From: nl6720 Date: Thu, 1 Jun 2023 08:56:28 +0300 Subject: 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 --- CHANGELOG.rst | 2 ++ archiso/mkarchiso | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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 } -- cgit v1.2.3-70-g09d2