From c2fffccb076ce8d3568646300881677d89e33d1f Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 26 Aug 2022 17:58:10 +0200 Subject: [PATCH] Add partition labels support --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 51b70f56..b6257f5d 100644 --- a/default.nix +++ b/default.nix @@ -142,7 +142,7 @@ let env = helper.device-id q.device; in '' - parted -s "''${${env}}" mkpart ${x.part-type} ${x.fs-type or ""} ${x.start} ${x.end} + parted -s "''${${env}}" mkpart ${x.part-type} ${x.part-label} ${x.fs-type or ""} ${x.start} ${x.end} # ensure /dev/disk/by-path/..-partN exists before continuing udevadm trigger --subsystem-match=block; udevadm settle ${optionalString (x.bootable or false) ''