Support for other signing methods of ISU packages 61/313061/3 accepted/tizen/unified/20240705.082054 accepted/tizen/unified/dev/20240708.053938 accepted/tizen/unified/x/20240705.112627
authorAdam Michalski <a.michalski2@partner.samsung.com>
Tue, 18 Jun 2024 13:40:00 +0000 (15:40 +0200)
committerAdam Michalski <a.michalski2@partner.samsung.com>
Thu, 27 Jun 2024 09:17:59 +0000 (11:17 +0200)
commit4b193363f5df33de41f89b8ed266f41793d89be3
tree91d494c76107b12a49ffc985b3a0beab58bf2f36
parentde71a454114183bcecf35dbb284fc10309778122
Support for other signing methods of ISU packages

As per DA requirement, there is a need to support the new option of
ISU package maker for signing the checksum file in the rpk package.
In addition to the existing '--key <private_key>' method, DA wants to
add the new one: '--sign-cmd <signing command>' option for signing the
checksum file. As soon as this option is added to the isu_pkgs_maker
command line arguments, the following command will be invoked:

    $ ./<signing command> checksum.sha256 checkcsum.sha256.sign

If signing succeeds, the checksum.sha256.sign file is eventually stored
in the rpk package.

Additionally, the PUBKEY variable has been defined in the isu-generator.

Change-Id: Ia8a9078a726705a90b89be8bb7eb085c8af23790
src/pkg_maker/isu_pkgs_maker.py
src/pkg_maker/isu_pkgs_maker_py2.py
src/systemd_generator/isu-generator