Skip to content

Commit

Permalink
classes: u-boot: use global secure boot kernel command line instead o…
Browse files Browse the repository at this point in the history
…f hardcoding

Use the new OS_KERNEL_SECUREBOOT_CMDLINE global variable instead of
hardcoding the values for the secure boot command line.

Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
  • Loading branch information
alexgg committed Feb 22, 2024
1 parent af66b41 commit 7457aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-balena-common/classes/resin-u-boot.bbclass
Expand Up @@ -65,7 +65,7 @@ BALENA_DEVICE_FDT_ADDR_VAR ?= "fdt_addr"

# OS_KERNEL_CMDLINE is a distro wide variable intended to be used in all the
# supported bootloaders
BASE_OS_CMDLINE ?= "${OS_KERNEL_CMDLINE}"
BASE_OS_CMDLINE ?= "${OS_KERNEL_CMDLINE} ${@oe.utils.conditional('SIGN_API','','',"${OS_KERNEL_SECUREBOOT_CMDLINE}",d)}"
OS_BOOTCOUNT_FILE ?= "bootcount.env"
OS_BOOTCOUNT_SKIP ?= "0"
OS_BOOTCOUNT_LIMIT ?= "3"
Expand Down

0 comments on commit 7457aec

Please sign in to comment.