Centos-kernel-stream-9/redhat/scripts
Vitaly Kuznetsov 5a502e66f9 redhat: avoid superfluous quotes in UKI cmdline addones
Upstream Status: RHEL-only
ARK commit 36e02cd15671146950e53efab5115d849f0e48ea
JIRA: https://issues.redhat.com/browse/RHEL-33051

The way uki_create_addon.py runs 'ukify' results in superfluous quoting,
e.g.

 # cat /proc/cmdline
 console=tty0 console=ttyS0  "fips=0"

this seems to work in certain cases but is fragile as cmdline arguments may
be parsed both by kernel and userspace. Avoid the extra quoting by simply
switching from '--cmdline="arg"' to ['--cmdline', arg]. Spaces should be
handled correctly this way.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
2024-11-11 12:38:11 +01:00
..
ci
kspdx-tool redhat: Use kspdx-tool output for the License: field 2023-09-25 14:35:36 +02:00
uki_addons redhat: avoid superfluous quotes in UKI cmdline addones 2024-11-11 12:38:11 +01:00
configdiff.sh
create-tarball.sh Use RHJOBS for create-tarball 2023-03-20 16:29:05 -04:00
download_cross.sh
expand_srpm.sh
generate-cross-report.sh
new_release.sh redhat/scripts/new_release.sh: Use Makefile variables 2022-09-22 10:19:00 -04:00
rh-dist-git.sh redhat: shellcheck script fixes 2023-09-11 10:12:42 -04:00
x86_rngd.sh