From 92d32e697d0dd34bde940c843deaed7a0d03fc76 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Thu, 3 Mar 2022 23:12:56 +0100 Subject: [PATCH] osbuild2: expose new gpgkeys.fromtree osbuild option The `org.osbuild.rpm` stage gained a new option `gpgkeys.fromtree` which is a list of paths with files containing gpgkeys that will be imported after the package installation phase is done. --- internal/osbuild2/rpm_stage.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/osbuild2/rpm_stage.go b/internal/osbuild2/rpm_stage.go index 59b9bea40..51f29f8ab 100644 --- a/internal/osbuild2/rpm_stage.go +++ b/internal/osbuild2/rpm_stage.go @@ -8,6 +8,9 @@ type RPMStageOptions struct { // Array of GPG key contents to import GPGKeys []string `json:"gpgkeys,omitempty"` + // Array of files in the tree containing GPG keys to import + GPGKeysFromTree []string `json:"gpgkeys.fromtree,omitempty"` + // Prevent dracut from running DisableDracut bool `json:"disable_dracut,omitempty"`