Skip to content

Commit

Permalink
ignition: Add partprobe to initrd
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pothos committed Oct 2, 2023
1 parent 2c0968a commit d494249
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dracut/30ignition/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ install() {
mkswap \
nvme \
sgdisk \
partprobe \
useradd \
userdel \
usermod \
Expand Down

0 comments on commit d494249

Please sign in to comment.