Skip to content

Commit 1631e92

Browse files
committed
cli: bootlinux: fix tree and ref conditions
Current bootlinux conditions to enable custom linux trees and refs do not allow users to set the tree reference without specifying a tree. Allow users to just set the tree reference. Signed-off-by: Daniel Gomez <[email protected]>
1 parent d6482f6 commit 1631e92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflows/linux/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ endif # BOOTLINUX_9P
113113

114114
choice
115115
prompt "Type of development version of Linux to use"
116-
default BOOTLINUX_LINUS if !BOOTLINUX_TREE_SET_BY_CLI
117-
default BOOTLINUX_CUSTOM if BOOTLINUX_TREE_SET_BY_CLI
116+
default BOOTLINUX_LINUS if !BOOTLINUX_TREE_SET_BY_CLI && !BOOTLINUX_TREE_REF_SET_BY_CLI
117+
default BOOTLINUX_CUSTOM if BOOTLINUX_TREE_SET_BY_CLI || BOOTLINUX_TREE_REF_SET_BY_CLI
118118

119119
config BOOTLINUX_LINUS
120120
bool "Linux releases based on Linus' tree"

0 commit comments

Comments
 (0)