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
This commit is contained in:
nl6720 2023-06-01 08:56:28 +03:00
parent c50ffaf48b
commit 1d1f9a0fc8
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,8 @@ Deprecated
Fixed
-----
- Sign the root file system image only once.
Removed
-------

View File

@ -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
}