mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
Fix msdos partition table creation
The partition fs-type was specified twice on partition creation when the msdos partition table type is used. Fix this to only be specified once.
This commit is contained in:
1 parent
713eb78002
commit
5b19fb2e74
1 file changed
+1
-1
+1
-1
@@ -88,7 +88,7 @@
|
||||
parted -s ${config.device} -- mkpart ${partition.name} ${diskoLib.maybeStr partition.fs-type} ${partition.start} ${partition.end}
|
||||
''}
|
||||
${lib.optionalString (config.format == "msdos") ''
|
||||
parted -s ${config.device} -- mkpart ${partition.part-type} ${diskoLib.maybeStr partition.fs-type} ${diskoLib.maybeStr partition.fs-type} ${partition.start} ${partition.end}
|
||||
parted -s ${config.device} -- mkpart ${partition.part-type} ${diskoLib.maybeStr partition.fs-type} ${partition.start} ${partition.end}
|
||||
''}
|
||||
# ensure /dev/disk/by-path/..-partN exists before continuing
|
||||
udevadm trigger --subsystem-match=block
|
||||
|
||||
Reference in new issue
Block a user