busybox : fix patch files.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-core / busybox / busybox-1.19.4 / mount_single_uuid.patch
diff --git a/meta-openvuplus/recipes-core/busybox/busybox-1.19.4/mount_single_uuid.patch b/meta-openvuplus/recipes-core/busybox/busybox-1.19.4/mount_single_uuid.patch
new file mode 100644 (file)
index 0000000..9577c07
--- /dev/null
@@ -0,0 +1,13 @@
+Index: busybox-1.18.5/util-linux/mount.c
+===================================================================
+--- busybox-1.18.5.orig/util-linux/mount.c
++++ busybox-1.18.5/util-linux/mount.c
+@@ -1934,6 +1934,8 @@ int mount_main(int argc UNUSED_PARAM, ch
+               // "proc") or a full path from root
+               if (argv[0]) {
++                      // Check for UUID= or LABEL= entries too
++                      resolve_mount_spec(&mtcur->mnt_fsname);
+                       // Is this what we're looking for?
+                       if (strcmp(argv[0], mtcur->mnt_fsname) != 0
+                        && strcmp(storage_path, mtcur->mnt_fsname) != 0