Skip to content

Uki print dump diff fix - #2370

Open
Johan-Liebert1 wants to merge 4 commits into
bootc-dev:mainfrom
Johan-Liebert1:uki-print-dump-diff-fix
Open

Uki print dump diff fix#2370
Johan-Liebert1 wants to merge 4 commits into
bootc-dev:mainfrom
Johan-Liebert1:uki-print-dump-diff-fix

Conversation

@Johan-Liebert1

Copy link
Copy Markdown
Collaborator

uki: Fix dumpfile diffing

The dumpfile diff was not being performed in the update/switch
operations which was causing the dumpfile test to fail. Refactor out the
diffing code to also run in the update/switch operations.

Another major issue was /boot being masked in the EROFS which caused
us to not find the dumpfile when reading from the EROFS. Update to read
from the filesystem, create tmpfiles and run diff on the tmpfiles


tmt: Fix and re-enable uki-dumpfile test

We were not computing the bootable digest which caused assertions to
fail

@bootc-bot
bootc-bot Bot requested a review from jmarrero August 7, 2026 06:11
@Johan-Liebert1
Johan-Liebert1 force-pushed the uki-print-dump-diff-fix branch 4 times, most recently from 25d76a9 to 023c353 Compare August 10, 2026 09:08
@Johan-Liebert1

Copy link
Copy Markdown
Collaborator Author

:/ grub-cc tests failing due to some upstream bug where LoaderInfo efivar returns Grub as the bootloader

@Johan-Liebert1

Copy link
Copy Markdown
Collaborator Author

@gursewak1997 gursewak1997 added ci/merge Run full CI suite (all OSes) — equivalent to merge queue ci/tier-1 Run CI for tier-1 OS (centos-10) only and removed ci/merge Run full CI suite (all OSes) — equivalent to merge queue labels Aug 11, 2026
Comment thread hack/provision-fetch.sh
Comment thread crates/lib/src/bootc_composefs/boot.rs

@gursewak1997 gursewak1997 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good mostly; just a few nits

The dumpfile diff was not being performed in the update/switch
operations which was causing the dumpfile test to fail. Refactor out the
diffing code to also run in the update/switch operations.

Another major issue was `/boot` being masked in the EROFS which caused
us to not find the dumpfile when reading from the EROFS. Update to read
from the filesystem, create tmpfiles and run diff on the tmpfiles

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
We were not computing the bootable digest which caused assertions to
fail

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
The CentOS Stream 9 base image ships policycoreutils-3.6-9, which is
newer than any version that python3-policycoreutils (a cloud-init
dependency) currently matches in the repos. When cloud-init is in the
same DNF transaction as the explicit policycoreutils install from
packages.txt, --allowerasing cannot downgrade policycoreutils because
it is pinned by the same request.

Move cloud-init out of packages.txt and install it in its own
transaction so --allowerasing can freely resolve the version conflict.

AssistedBy: AI

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
Possibly due to https://src.fedoraproject.org/rpms/grub2/c/fedae6ebf3e06c6a02dd8aa90e4277292575eb86?branch=rawhide
commit, grub cc now reports Grub as the bootloader on efivars
inspection. For now comment out the grub cc in the CI matrix until we
have an upstream fix

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
@Johan-Liebert1

Copy link
Copy Markdown
Collaborator Author

https://github.com/bootc-dev/bootc/actions/runs/31562640440/job/94023684221?pr=2370 is failing due to the deadlock in #2315 and ig we don't have a new enough bootc in the base images yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/tier-1 Run CI for tier-1 OS (centos-10) only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants