Skip to content

Commit c9ad9af

Browse files
authored
Merge pull request #530 from cgwalters/boot-default-fs
install/baseline: Make `/boot` the same fs type as `/`
2 parents 544ce42 + cc07060 commit c9ad9af

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/src/install/baseline.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,12 +360,11 @@ pub(crate) fn install_create_rootfs(
360360
}
361361
};
362362

363-
// TODO: make this configurable
364-
let bootfs_type = Filesystem::Ext4;
365-
366-
// Initialize the /boot filesystem
363+
// Initialize the /boot filesystem. Note that in the future, we may match
364+
// what systemd/uapi-group encourages and make /boot be FAT32 as well, as
365+
// it would aid systemd-boot.
367366
let bootdev = &findpart(BOOTPN)?;
368-
let boot_uuid = mkfs(bootdev, bootfs_type, "boot", []).context("Initializing /boot")?;
367+
let boot_uuid = mkfs(bootdev, root_filesystem, "boot", []).context("Initializing /boot")?;
369368

370369
// Initialize rootfs
371370
let root_uuid = mkfs(&rootdev, root_filesystem, "root", [])?;

0 commit comments

Comments
 (0)