Skip to content

Uki print dump diff fix - #2370

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

Uki print dump diff fix#2370
Johan-Liebert1 wants to merge 2 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

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>
@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 from 8f47718 to 282ba8d Compare August 7, 2026 10:08
We were not computing the bootable digest which caused assertions to
fail

Signed-off-by: Pragyan Poudyal <pragyanpoudyal41999@gmail.com>
@Johan-Liebert1
Johan-Liebert1 force-pushed the uki-print-dump-diff-fix branch from 282ba8d to 629ed65 Compare August 7, 2026 10:09
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