debian-forge-composer/internal/manifest
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
..
anaconda.go manifest: add only necessary repositories to each pipeline 2023-02-23 16:22:42 +01:00
build.go manifest: add only necessary repositories to each pipeline 2023-02-23 16:22:42 +01:00
coi_iso_tree.go simplified-installer: enable isolinux 2023-03-15 12:35:50 +01:00
commit.go Separate ostree ref from parent spec in Pipelines and ImageKinds 2022-10-11 10:00:22 +02:00
commit_deployment.go Manifest: always set kernel options in grub2 stage 2023-03-23 16:32:34 +01:00
commit_server_tree.go internal: FIXME notes for container package set 2023-02-23 16:22:42 +01:00
coreos_installer.go manifest: add only necessary repositories to each pipeline 2023-02-23 16:22:42 +01:00
efi_boot_tree.go manifest: always add inst.stage2 kernel option for Anaconda 2022-12-13 07:49:32 +00:00
iso.go manifest: add any pipeline to ISO pipeline 2022-12-11 12:37:37 +00:00
iso_rootfs.go osbuild/mkdir: rename Path struct to MkdirStagePath 2023-01-19 11:15:33 +01:00
iso_tree.go osbuild/mkdir: rename Path struct to MkdirStagePath 2023-01-19 11:15:33 +01:00
manifest.go manifest: helper function for collecting pipeline repos 2023-02-23 16:22:42 +01:00
oci_container.go osbuild: simplify and unify tree stage inputs 2022-09-29 18:09:38 +02:00
os.go Manifest: always set kernel options in grub2 stage 2023-03-23 16:32:34 +01:00
os_test.go manifest: Add tests for subscriptions 2023-02-09 09:41:15 +01:00
pipeline.go manifest: support for container embedding 2022-11-28 17:20:49 +01:00
qcow2.go artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
raw.go manifest: make the partition tool for raw images configurable 2023-01-25 20:37:12 +01:00
raw_ostree.go osbuild: simplify and unify tree stage inputs 2022-09-29 18:09:38 +02:00
tar.go manifest: support all tar options in tar pipeline 2022-11-28 17:20:49 +01:00
vmdk.go artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
vpc.go manifest: support specifying force_size for VPC 2023-01-25 20:37:12 +01:00
xz.go osbuild: rework XZ stage inputs 2023-01-30 11:24:08 +01:00