_cms_sign_artifact is run twice in netboot build mode
In the netboot
build mode, _cms_sign_artifact
is called twice. In _prepare_airootfs_image
and in _build_buildmode_netboot
. E.g.:
[mkarchiso] INFO: Creating checksum file for self-test...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Signing /tmp/archiso-tmp/iso/arch/x86_64/airootfs.sfs image using openssl cms...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Signing netboot artifacts...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Signing /tmp/archiso-tmp/iso/arch/x86_64/airootfs.sfs image using openssl cms...
[mkarchiso] INFO: Done!
[mkarchiso] INFO: Exporting netboot artifacts...
[mkarchiso] INFO: Done!
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.