Skip to content

feat(eif): embed os-release into rpm2eif rootfs - #720

Draft
jmt-lab wants to merge 1 commit into
feat/eif-signing-06-img2img-guest-eif-resignfrom
feat/eif-signing-07-os-release
Draft

feat(eif): embed os-release into rpm2eif rootfs#720
jmt-lab wants to merge 1 commit into
feat/eif-signing-06-img2img-guest-eif-resignfrom
feat/eif-signing-07-os-release

Conversation

@jmt-lab

@jmt-lab jmt-lab commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Mirror the os-release append that rpm2img performs, so EIF-built rootfs
images expose the same identifying fields (VERSION, PRETTY_NAME,
VARIANT_ID, VERSION_ID, BUILD_ID, VENDOR_NAME, and the canonical URLs)
to userspace. Unlike rpm2img, INSTALL_ROOT already points at the merged
sysroot, so the append writes directly to ${INSTALL_ROOT}/usr/lib/os-release
without the ${ARCH}-bottlerocket-linux-gnu/sys-root prefix.

@jmt-lab jmt-lab changed the title feat/eif signing 07 os release feat(eif): embed os-release into rpm2eif rootfs Aug 12, 2026
Mirror the os-release append that rpm2img performs, so EIF-built rootfs
images expose the same identifying fields (VERSION, PRETTY_NAME,
VARIANT_ID, VERSION_ID, BUILD_ID, VENDOR_NAME, and the canonical URLs)
to userspace. Unlike rpm2img, INSTALL_ROOT already points at the merged
sysroot, so the append writes directly to ${INSTALL_ROOT}/usr/lib/os-release
without the ${ARCH}-bottlerocket-linux-gnu/sys-root prefix.
@jmt-lab
jmt-lab force-pushed the feat/eif-signing-07-os-release branch from 35a170c to 3e75c59 Compare August 12, 2026 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant