Here's a workaround for partman-basicfilesystem but obviously it would
be nice if this could get fixed properly.
diff --git a/commit.d/format_basicfilesystems b/commit.d/format_basicfilesystems
index 2b24dee..4a572ca 100755
--- a/commit.d/format_basicfilesystems
+++ b/commit.d/format_basicfilesystems
@@ -61,6 +61,13 @@ for dev in $DEVICES/*; do
read_line status
close_dialog
sync
+ # Create link in /dev/disk/by-uuid
+ dev=$(basename $device)
+ uuid=$(blkid $device -s UUID -o value)
+ if [ -n "$uuid" ]; then
+ rm -f /dev/disk/by-uuid/$uuid
+ ln -s ../../$dev
/dev/disk/by-uuid/$uuid
+ fi
else
status=failed
fi
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]