mbox series

[0/3] Allow use of external scripts to sign modules

Message ID 20250123145131.1142290-1-gokhan.cetin@siemens.com
Headers show
Series Allow use of external scripts to sign modules | expand

Message

Gokhan Cetin Jan. 23, 2025, 2:51 p.m. UTC
Considering the comments from https://groups.google.com/g/isar-users/c/qmVCSWlpTeU

Gokhan Cetin (3):
  meta/recipes-kernel/linux-module: Allow use of external scripts to
    sign modules
  module-signer-example: add example signer hook and signed variant for
    example-module
  doc/user_manual: describe module signing and custom signer hooks

 doc/user_manual.md                            | 24 +++++++++++
 .../files/sign-module.sh                      | 40 +++++++++++++++++++
 .../module-signer-example.bb                  | 20 ++++++++++
 .../example-module-signedwith.bb              | 15 +++++++
 .../linux-module/files/debian/rules.tmpl      |  4 ++
 meta/recipes-kernel/linux-module/module.inc   |  2 +
 6 files changed, 105 insertions(+)
 create mode 100644 meta-isar/recipes-devtools/module-signer-example/files/sign-module.sh
 create mode 100644 meta-isar/recipes-devtools/module-signer-example/module-signer-example.bb
 create mode 100644 meta-isar/recipes-kernel/example-module/example-module-signedwith.bb

Comments

Felix Moessbauer Jan. 31, 2025, 11:38 a.m. UTC | #1
On Thu, 2025-01-23 at 15:51 +0100, Gokhan Cetin wrote:
> Considering the comments from
> https://groups.google.com/g/isar-users/c/qmVCSWlpTeU

Hi,

this is actually the v2 of the "Allow use of external scripts to sign
modules" series. Code wise it looks fine. In case a v3 should be
required, please generate the patches with "git format-patch --subject-
prefix='PATCH v3' ...".

Acked-by: Felix Moessbauer <felix.moessbauer@siemens.com>

Felix

> 
> Gokhan Cetin (3):
>   meta/recipes-kernel/linux-module: Allow use of external scripts to
>     sign modules
>   module-signer-example: add example signer hook and signed variant
> for
>     example-module
>   doc/user_manual: describe module signing and custom signer hooks
> 
>  doc/user_manual.md                            | 24 +++++++++++
>  .../files/sign-module.sh                      | 40
> +++++++++++++++++++
>  .../module-signer-example.bb                  | 20 ++++++++++
>  .../example-module-signedwith.bb              | 15 +++++++
>  .../linux-module/files/debian/rules.tmpl      |  4 ++
>  meta/recipes-kernel/linux-module/module.inc   |  2 +
>  6 files changed, 105 insertions(+)
>  create mode 100644 meta-isar/recipes-devtools/module-signer-
> example/files/sign-module.sh
>  create mode 100644 meta-isar/recipes-devtools/module-signer-
> example/module-signer-example.bb
>  create mode 100644 meta-isar/recipes-kernel/example-module/example-
> module-signedwith.bb
>
Uladzimir Bely Feb. 7, 2025, 7:59 a.m. UTC | #2
On Thu, 2025-01-23 at 15:51 +0100, 'Gokhan Cetin' via isar-users wrote:
> Considering the comments from
> https://groups.google.com/g/isar-users/c/qmVCSWlpTeU
> 
> Gokhan Cetin (3):
>   meta/recipes-kernel/linux-module: Allow use of external scripts to
>     sign modules
>   module-signer-example: add example signer hook and signed variant
> for
>     example-module
>   doc/user_manual: describe module signing and custom signer hooks
> 
>  doc/user_manual.md                            | 24 +++++++++++
>  .../files/sign-module.sh                      | 40
> +++++++++++++++++++
>  .../module-signer-example.bb                  | 20 ++++++++++
>  .../example-module-signedwith.bb              | 15 +++++++
>  .../linux-module/files/debian/rules.tmpl      |  4 ++
>  meta/recipes-kernel/linux-module/module.inc   |  2 +
>  6 files changed, 105 insertions(+)
>  create mode 100644 meta-isar/recipes-devtools/module-signer-
> example/files/sign-module.sh
>  create mode 100644 meta-isar/recipes-devtools/module-signer-
> example/module-signer-example.bb
>  create mode 100644 meta-isar/recipes-kernel/example-module/example-
> module-signedwith.bb
> 
> -- 
> 2.39.2
> 

Applied to next, thanks.