Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignition: Add partprobe to initrd #73

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Conversation

pothos
Copy link
Member

@pothos pothos commented Oct 2, 2023

The sgdisk tool does not update the kernel partition table in contrast to other similar tools. Often udev can detect the changes but not always as experienced when adding a new partition on Flatcar's boot disk. Instead of implicitly relying on some other component to re-read the kernel partition table, trigger the re-read with partprobe. This is proposed in coreos/ignition#1717

How to use

Testing done

Done in flatcar/scripts#1202

The sgdisk tool does not update the kernel partition table in contrast
to other similar tools. Often udev can detect the changes but not always
as experienced when adding a new partition on Flatcar's boot disk.
Instead of implicitly relying on some other component to re-read the
kernel partition table, trigger the re-read with partprobe. This is
proposed in coreos/ignition#1717
@pothos pothos requested a review from a team October 2, 2023 13:54
@pothos pothos merged commit 9eaeae2 into flatcar-master Oct 2, 2023
@pothos pothos deleted the kai/partprobe branch October 2, 2023 14:35
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