ironic-python-agent-builder/dib/ironic-ramdisk-base
Steve Baker dbd66345ee Add checksum generation support
DIB_CHECKSUM is set by the disk-image-create --checksum flag, and for
other images results in checksum files being generated for the
image[1].

This change ensures checksum files are generated for built
ramdisk/kernel as well.

[1] https://opendev.org/openstack/diskimage-builder/src/branch/master/diskimage_builder/lib/common-functions#L68

Change-Id: I6128fbad5d9db2ea6469f196f3ee13b6fab76837
(cherry picked from commit 59d79f6ccd)
2023-08-28 15:58:28 +03:00
..
cleanup.d Add checksum generation support 2023-08-28 15:58:28 +03:00
environment.d Add checksum generation support 2023-08-28 15:58:28 +03:00
README.rst Allow opt-out of full ramdisk pruning 2021-08-11 11:01:25 -07:00
element-deps Add ironic-ramdisk-base to build general-purpose ramdisks 2020-12-16 17:51:37 +01:00

README.rst

ironic-ramdisk-base

This is a base element for ironic ramdisks. It does not install anything, just takes the prepared images and extract kernel/ramdisk from it.

Configurable Environment Variables

  • DIB_IPA_COMPRESS_COMMAND defaults to gzip, may be set to any valid compression program usable for an initramfs
  • DIB_IPA_MINIMAL_PRUNE defaults to 0 (false). If set to 1, will skip most ramdisk size optimizations. This may be helpful for use of packages with IPA that require otherwise-pruned directories or files.