aboutsummaryrefslogtreecommitdiffstats
path: root/main/grub/alpine-use-uuid.patch
blob: cf5750bdf5371401d404174a3c1511d143836711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
index 60f36be..dbef9bf 100644
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -55,7 +55,6 @@ esac
 # btrfs may reside on multiple devices. We cannot pass them as value of root= parameter
 # and mounting btrfs requires user space scanning, so force UUID in this case.
 if [ "x${GRUB_DEVICE_UUID}" = "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \
-    || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \
     || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm ); then
   LINUX_ROOT_DEVICE=${GRUB_DEVICE}
 else