[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#801154: [PATCH initramfs-tools 2/2] scripts/functions: Handle PARTLABEL= and PARTUUID= block device IDs using blkid



Please can you test this along with the previous patch?

Ben.
---
Closes: #801154
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 scripts/functions | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/functions b/scripts/functions
index 8f2fac7..53419e2 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -298,7 +298,7 @@ resolve_device() {
 	DEV="$1"
 
 	case "$DEV" in
-	LABEL=* | UUID=*)
+	LABEL=* | UUID=* | PARTLABEL=* | PARTUUID=*)
 		if command -v blkid >/dev/null 2>&1; then
 			DEV="$(blkid -l -t "$DEV" -o device)"
 		else

Attachment: signature.asc
Description: Digital signature


Reply to: