Skip to content

redhat: configs: fix CONFIG_WERROR replace in build_configs

Jan Stancek requested to merge jstancek/centos-stream-9:fix_werror_replace into main

Bugzilla: INTERNAL Upstream Status: RHEL only ARK commit: bedc80b247a76f8cbe00f82a772d0321c2b942fb

commit bedc80b247a76f8cbe00f82a772d0321c2b942fb Author: Jan Stancek jstancek@redhat.com Date: Thu May 4 11:09:24 2023 +0200

redhat: configs: fix CONFIG_WERROR replace in build_configs

$$ is the process ID (PID) of the script itself, and current script
leads to issues where WERROR doesn't get randomly set, when pid
happens to be too low (e.g. in CKI container)

Drop the line range, let sed run over entire file.

Signed-off-by: Jan Stancek <jstancek@redhat.com>

Signed-off-by: Jan Stancek jstancek@redhat.com

Merge request reports