debian-forge/stages
Christian Kellner 5224b4ad7f stages/grub2: ensure grubenv file has size of 1024
For historical and occult reasons the grubenv file is, according
to its documentation[1] a 'preallocated 1024-byte file'. The
unused space in the file needs to be filled with '#' as padding,
which tools will count as "free space"[2] and there must not be a
trailing new-line.
Fix our code to do as they say to make grub2-editenv work and in
turn greenboot.

[1] https://www.gnu.org/software/grub/manual/grub/html_node/Environment-block.html
[2] grub-core/lib/envblk.c#L105 (commit 0f102b9844f852d48501d231d32a17e1cc24062d)
2020-04-21 13:45:11 +02:00
..
org.osbuild.chrony Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.debug-shell Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.error stages/error: fix json for stage options 2020-01-28 13:10:14 +01:00
org.osbuild.firewall Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.first-boot stage: add org.osbuild.first-boot 2020-04-15 16:07:34 +02:00
org.osbuild.fix-bls stages/fix-bls: support for different prefix 2020-01-19 23:01:36 +01:00
org.osbuild.fstab stages/fstab: support for using fs labels 2020-04-20 18:59:27 +02:00
org.osbuild.groups Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.grub2 stages/grub2: ensure grubenv file has size of 1024 2020-04-21 13:45:11 +02:00
org.osbuild.hostname Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.kernel-cmdline stages/kopts: new stage to set the kernel cmdline 2020-01-13 20:05:10 +01:00
org.osbuild.keymap Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.locale Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.noop Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.ostree stages/ostree: fix SELinux labels after deployment 2020-04-15 15:39:45 +02:00
org.osbuild.rpm stages/rpm: be a bit more verbose to give some progress indication 2020-02-06 19:01:12 +01:00
org.osbuild.rpm-ostree stages: add new org.osbuild.rpm-ostree stage 2020-04-15 15:39:45 +02:00
org.osbuild.script Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.selinux Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.systemd stages/systemd: add default_target 2019-11-27 22:22:13 +01:00
org.osbuild.test Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.timezone Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.users Add STAGE_DESC, STAGE_INFO, and STAGE_OPTS to stages 2019-11-13 21:47:03 +01:00
org.osbuild.zipl stage/zipl: new stage to configure zipl 2020-01-13 20:05:10 +01:00
osbuild stages/assemblers: symlink the osbulid python library 2019-07-25 21:28:23 +02:00