Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #209 from bencorrado/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Itxaka authored Oct 10, 2024
2 parents 3ea0ed3 + 1dc7338 commit 08f2c28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/build-uki.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ func NewBuildUKICmd() *cobra.Command {
c.Flags().StringP("default-entry", "e", "", "Default entry selected in the boot menu.\nSupported glob wildcard patterns are \"?\", \"*\", and \"[...]\".\nIf not selected, the default entry with install-mode is selected.")
c.Flags().Int64P("efi-size-warn", "", 1024, "EFI file size warning threshold in megabytes. Default is 1024.")
c.Flags().String("secure-boot-enroll", "if-safe", "The value of secure-boot-enroll option of systemd-boot. Possible values: off|manual|if-safe|force. Minimum systemd version: 253. Docs: https://manpages.debian.org/experimental/systemd-boot/loader.conf.5.en.html. !! Danger: this feature might soft-brick your device if used improperly !!")
c.Flags().StringP("splash", "", "", "Path to the custom logo splash BMP file.")

c.MarkFlagRequired("keys")
// Mark some flags as mutually exclusive
Expand Down
1 change: 1 addition & 0 deletions pkg/action/build-uki.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ func (b *BuildUKIAction) Run() error {
SBCert: filepath.Join(b.keysDirectory, "db.pem"),
SdBootPath: systemdBoot,
OutSdBootPath: outputSystemdBootEfi,
Splash: viper.GetString("splash"),
}

if err := os.Chdir(sourceDir); err != nil {
Expand Down

0 comments on commit 08f2c28

Please sign in to comment.