debian-forge-composer/internal
Tomáš Hozza dc637d9a57 Manifest: always set kernel options in grub2 stage
It turned out that when we stopped setting the kernel options in grubenv
file, we also stopped setting them in /etc/default/grub under
`GRUB_CMDLINE_LINUX`. This file is used by grub2-mkconfig when
generating grub configuration.

10_linux script executed by grub2-mkconfig recently started to overwrite
the /etc/kernel/cmdline, if its timestamp is older than the timestamp of
/etc/default/grub [1]. As a result, all kernel options were wiped out from
/etc/kernel/cmdline.

Make sure that we always set the `KernelOptions` in the grub2 stage
options, even if the `WriteCmdLine` is set to `false`.

In addition, unify the way we concatenate kernel options set in the
grub2 stage options. Some pipeline implementations were previously using
space, other were using comma. Space is now used everywhere.

Regenerate all affected image manifests.

[1] https://src.fedoraproject.org/rpms/grub2/c/fc76aed5333f56dd05400521a35b944a5df52ebc

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-03-23 16:32:34 +01:00
..
artifact artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
auth Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
blueprint blueprint: add functions checking dir / file customizations policy 2023-02-22 12:17:36 +01:00
boot Remove old build tag comments 2023-03-07 09:22:23 -08:00
client Remove old build tag comments 2023-03-07 09:22:23 -08:00
cloud Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
cloudapi Cloud API: expose directory and file customizations 2023-02-22 12:17:36 +01:00
common common: merge all *ToPtr methods to one generic ToPtr 2023-01-09 14:03:18 +01:00
container Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
crypt Remove old build tag comments 2023-03-07 09:22:23 -08:00
disk internal/disk: Remove RequiredSizes property. 2023-03-20 11:04:14 +01:00
distro distro/rhel: add payload repos to os package set 2023-03-23 13:39:04 +01:00
distroregistry distro/fedora: add support for Fedora 39 2023-03-15 09:31:23 +01:00
dnfjson dnfjson: Cleanup old distro cache dirs 2023-03-23 11:26:40 +01:00
environment environment: encapsulate the environment images are deployed to 2022-07-07 12:00:56 +01:00
fdo New package: fdo 2022-12-11 12:37:37 +00:00
fsnode internal/fsnode: add API for custom directories and files 2023-02-22 12:17:36 +01:00
ignition ignition: drop embedded provisioning url 2023-02-07 13:30:22 +01:00
image simplified-installer: enable isolinux 2023-03-15 12:35:50 +01:00
jobqueue worker/server: requeue unresponsive jobs 2022-11-02 15:26:00 +01:00
jsondb Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
manifest Manifest: always set kernel options in grub2 stage 2023-03-23 16:32:34 +01:00
mocks mocks/dnfjson: Add mock support for the search command 2022-08-23 22:47:46 +01:00
osbuild Manifest: always set kernel options in grub2 stage 2023-03-23 16:32:34 +01:00
oscap oscap: add oscap package 2022-08-04 18:19:06 +02:00
ostree Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
pathpolicy distro: add dir / files customizations policy check 2023-02-22 12:17:36 +01:00
platform distro/rhel9: fix /usr/sbin/zipl unavailable in the buildroot 2022-12-08 16:11:52 +01:00
prometheus prometheus:: add arch label to dequeue metrics 2023-03-09 18:47:57 +01:00
remotefile remotefile: Use io.ReadAll not ioutil.ReadAll 2023-03-22 08:14:01 -07:00
reporegistry reporegistry: remove unused ReposByArch() function 2022-03-09 23:22:06 +00:00
rhsm Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
rpmmd Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
runner runner: add platform-python only for RHEL 8+ 2023-01-25 20:37:12 +01:00
store Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
target internal/target/azure_image: mark Location as optional 2022-10-27 19:33:43 +02:00
test Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
upload Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
users users: convenience functions for converting from BP 2022-09-13 16:06:19 +01:00
weldr Change the rpmmd cache directory structure to include the distro name 2023-03-23 11:26:40 +01:00
worker worker/server: add file resolver job 2023-03-16 09:55:39 +00:00
workload workload: introduce abstraction to encapsulate image workloads 2022-07-07 12:00:56 +01:00
tools.go Remove old build tag comments 2023-03-07 09:22:23 -08:00