create_disk: Also xfs_freeze /boot
Followup to
This doesn't change anything today because `/boot` is ext4
which flushes the journal on unmount.  But I was just reading
this script and noticed that we should be doing the same thing
for `/boot` that we do for root.
@@ -415,9 +415,11 @@ touch $rootfs/boot/ignition.firstboot
chattr +i $rootfs
fstrim -a -v
-# Ensure the filesystem journal is flushed
-mount -o remount,ro $rootfs
-xfs_freeze -f $rootfs
+# Ensure the filesystem journals are flushed
+for fs in $rootfs/boot $rootfs; do
+ mount -o remount,ro $fs
+ xfs_freeze -f $fs
+done
umount -R $rootfs
rmdir $rootfs
