Skip to content

build_library: Backport new initrd extraction script and adapt for zstd#4134

Merged
chewi merged 1 commit into
flatcar-4081from
chewi/lts-extract-initrd
Jul 7, 2026
Merged

build_library: Backport new initrd extraction script and adapt for zstd#4134
chewi merged 1 commit into
flatcar-4081from
chewi/lts-extract-initrd

Conversation

@chewi

@chewi chewi commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

The older extraction script blew up on the latest kernel bump, seemingly because it is sensitive to cpio's handling of garbage data. The newer script handles this better, but I've had to adapt from xz back to zstd. For this latest bump, it now emits two rootfses when it should probably only emit one, but at least it doesn't blow up. It may be impossible to make this perfect, and it's only used for the difference report anyway.

CI: https://jenkins.flatcar.org/job/container/job/packages_all_arches/364/cldsv/

The older extraction script blew up on the latest kernel bump, seemingly
because it is sensitive to cpio's handling of garbage data. The newer
script handles this better, but I've had to adapt from xz back to zstd.
For this latest bump, it now emits two rootfses when it should probably
only emit one, but at least it doesn't blow up. It may be impossible to
make this perfect, and it's only used for the difference report anyway.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
@chewi chewi self-assigned this Jul 7, 2026

@tormath1 tormath1 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.

The CI job that was failing is now passing. Thanks!

@chewi chewi merged commit a082610 into flatcar-4081 Jul 7, 2026
4 of 5 checks passed
@chewi chewi deleted the chewi/lts-extract-initrd branch July 7, 2026 14:24
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.

2 participants