Merge remote-tracking branch 'OE-2.1/master' into vuplus-3.0
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-core / busybox / busybox-1.22.1 / mount_single_uuid.patch
1 Index: busybox-1.18.5/util-linux/mount.c
2 ===================================================================
3 --- busybox-1.18.5.orig/util-linux/mount.c
4 +++ busybox-1.18.5/util-linux/mount.c
5 @@ -1934,6 +1934,8 @@ int mount_main(int argc UNUSED_PARAM, ch
6                 // "proc") or a full path from root
7                 if (argv[0]) {
8  
9 +                       // Check for UUID= or LABEL= entries too
10 +                       resolve_mount_spec(&mtcur->mnt_fsname);
11                         // Is this what we're looking for?
12                         if (strcmp(argv[0], mtcur->mnt_fsname) != 0
13                          && strcmp(storage_path, mtcur->mnt_fsname) != 0