Skip to content

kernel/6.1: explicitly disable BLK_CGROUP sub-options to avoid interactive prompt#208

Open
rayxhuangEC wants to merge 1 commit into
accton:support_linux_6.1from
rayxhuangEC:linux6.1-kernel-config-issue
Open

kernel/6.1: explicitly disable BLK_CGROUP sub-options to avoid interactive prompt#208
rayxhuangEC wants to merge 1 commit into
accton:support_linux_6.1from
rayxhuangEC:linux6.1-kernel-config-issue

Conversation

@rayxhuangEC

Copy link
Copy Markdown

Description

x86_64-all.config sets CONFIG_BLK_CGROUP=y, but leaves CONFIG_BLK_DEV_THROTTLING, CONFIG_BLK_CGROUP_IOLATENCY, CONFIG_BLK_CGROUP_IOCOST, and CONFIG_BLK_CGROUP_IOPRIO unset. Since these options depend on BLK_CGROUP, "make oldconfig"/"olddefconfig" prompts for them interactively, stalling non-interactive/CI builds.

Solution

Explicitly disable all four ("# CONFIG_* is not set") so the kernel build resolves them without prompting.

…ctive prompt

x86_64-all.config sets CONFIG_BLK_CGROUP=y, but leaves
CONFIG_BLK_DEV_THROTTLING, CONFIG_BLK_CGROUP_IOLATENCY,
CONFIG_BLK_CGROUP_IOCOST, and CONFIG_BLK_CGROUP_IOPRIO unset. Since
these options depend on BLK_CGROUP, "make oldconfig"/"olddefconfig"
prompts for them interactively, stalling non-interactive/CI builds.

Explicitly disable all four ("# CONFIG_* is not set") so the kernel
build resolves them without prompting.

Signed-off-by: rayx_huang <rayx_huang@edge-core.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant