diff options
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-git.inc | 5 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/mount.h-update.patch | 83 | ||||
| -rw-r--r-- | meta/recipes-core/uclibc/uclibc_git.bb | 2 |
3 files changed, 86 insertions, 4 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git.inc b/meta/recipes-core/uclibc/uclibc-git.inc index 60d36f4b5e..eec4dedfa5 100644 --- a/meta/recipes-core/uclibc/uclibc-git.inc +++ b/meta/recipes-core/uclibc/uclibc-git.inc | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a" | 1 | SRCREV="555ae2e88cd16a83f854634b6c3f35715b11d3d4" |
| 2 | 2 | ||
| 3 | DEFAULT_PREFERENCE = "-1" | 3 | DEFAULT_PREFERENCE = "-1" |
| 4 | 4 | ||
| 5 | PV = "0.9.33+git${SRCPV}" | 5 | PV = "0.9.33+git${SRCPV}" |
| 6 | PR = "${INC_PR}.2" | 6 | PR = "${INC_PR}.3" |
| 7 | 7 | ||
| 8 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" | 8 | FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/uclibc-git' ], d)}" |
| 9 | 9 | ||
| @@ -25,5 +25,6 @@ SRC_URI = "git://uclibc.org/uClibc.git;branch=master;protocol=git \ | |||
| 25 | file://0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch \ | 25 | file://0001-nptl-arm-Move-aeabi_read_tp-to-uclibc_nonshared.a.patch \ |
| 26 | file://0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ | 26 | file://0001-nptl-atfork-Hide-pthread_atfork-in-shared-versions.patch \ |
| 27 | file://0001-librt-Use-nodefaultlibs-instead-of-nostdlib.patch \ | 27 | file://0001-librt-Use-nodefaultlibs-instead-of-nostdlib.patch \ |
| 28 | file://mount.h-update.patch \ | ||
| 28 | " | 29 | " |
| 29 | S = "${WORKDIR}/git" | 30 | S = "${WORKDIR}/git" |
diff --git a/meta/recipes-core/uclibc/uclibc-git/mount.h-update.patch b/meta/recipes-core/uclibc/uclibc-git/mount.h-update.patch new file mode 100644 index 0000000000..41a410c84c --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/mount.h-update.patch | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 2 | Upstream-Status: Pending | ||
| 3 | |||
| 4 | sync mount.h with glibc | ||
| 5 | |||
| 6 | Index: git/include/sys/mount.h | ||
| 7 | =================================================================== | ||
| 8 | --- git.orig/include/sys/mount.h 2012-08-23 21:26:51.038825295 -0700 | ||
| 9 | +++ git/include/sys/mount.h 2012-08-23 21:27:09.914826014 -0700 | ||
| 10 | @@ -1,5 +1,5 @@ | ||
| 11 | /* Header file for mounting/unmount Linux filesystems. | ||
| 12 | - Copyright (C) 1996,1997,1998,1999,2000,2004 Free Software Foundation, Inc. | ||
| 13 | + Copyright (C) 1996-2000, 2004, 2010 Free Software Foundation, Inc. | ||
| 14 | This file is part of the GNU C Library. | ||
| 15 | |||
| 16 | The GNU C Library is free software; you can redistribute it and/or | ||
| 17 | @@ -47,23 +47,46 @@ | ||
| 18 | #define MS_REMOUNT MS_REMOUNT | ||
| 19 | MS_MANDLOCK = 64, /* Allow mandatory locks on an FS. */ | ||
| 20 | #define MS_MANDLOCK MS_MANDLOCK | ||
| 21 | - S_WRITE = 128, /* Write on file/directory/symlink. */ | ||
| 22 | -#define S_WRITE S_WRITE | ||
| 23 | - S_APPEND = 256, /* Append-only file. */ | ||
| 24 | -#define S_APPEND S_APPEND | ||
| 25 | - S_IMMUTABLE = 512, /* Immutable file. */ | ||
| 26 | -#define S_IMMUTABLE S_IMMUTABLE | ||
| 27 | + MS_DIRSYNC = 128, /* Directory modifications are synchronous. */ | ||
| 28 | +#define MS_DIRSYNC MS_DIRSYNC | ||
| 29 | MS_NOATIME = 1024, /* Do not update access times. */ | ||
| 30 | #define MS_NOATIME MS_NOATIME | ||
| 31 | MS_NODIRATIME = 2048, /* Do not update directory access times. */ | ||
| 32 | #define MS_NODIRATIME MS_NODIRATIME | ||
| 33 | MS_BIND = 4096, /* Bind directory at different place. */ | ||
| 34 | #define MS_BIND MS_BIND | ||
| 35 | + MS_MOVE = 8192, | ||
| 36 | +#define MS_MOVE MS_MOVE | ||
| 37 | + MS_REC = 16384, | ||
| 38 | +#define MS_REC MS_REC | ||
| 39 | + MS_SILENT = 32768, | ||
| 40 | +#define MS_SILENT MS_SILENT | ||
| 41 | + MS_POSIXACL = 1 << 16, /* VFS does not apply the umask. */ | ||
| 42 | +#define MS_POSIXACL MS_POSIXACL | ||
| 43 | + MS_UNBINDABLE = 1 << 17, /* Change to unbindable. */ | ||
| 44 | +#define MS_UNBINDABLE MS_UNBINDABLE | ||
| 45 | + MS_PRIVATE = 1 << 18, /* Change to private. */ | ||
| 46 | +#define MS_PRIVATE MS_PRIVATE | ||
| 47 | + MS_SLAVE = 1 << 19, /* Change to slave. */ | ||
| 48 | +#define MS_SLAVE MS_SLAVE | ||
| 49 | + MS_SHARED = 1 << 20, /* Change to shared. */ | ||
| 50 | +#define MS_SHARED MS_SHARED | ||
| 51 | + MS_RELATIME = 1 << 21, /* Update atime relative to mtime/ctime. */ | ||
| 52 | +#define MS_RELATIME MS_RELATIME | ||
| 53 | + MS_KERNMOUNT = 1 << 22, /* This is a kern_mount call. */ | ||
| 54 | +#define MS_KERNMOUNT MS_KERNMOUNT | ||
| 55 | + MS_I_VERSION = 1 << 23, /* Update inode I_version field. */ | ||
| 56 | +#define MS_I_VERSION MS_I_VERSION | ||
| 57 | + MS_STRICTATIME = 1 << 24, /* Always perform atime updates. */ | ||
| 58 | +#define MS_STRICTATIME MS_STRICTATIME | ||
| 59 | + MS_ACTIVE = 1 << 30, | ||
| 60 | +#define MS_ACTIVE MS_ACTIVE | ||
| 61 | + MS_NOUSER = 1 << 31 | ||
| 62 | +#define MS_NOUSER MS_NOUSER | ||
| 63 | }; | ||
| 64 | |||
| 65 | /* Flags that can be altered by MS_REMOUNT */ | ||
| 66 | -#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_NOATIME \ | ||
| 67 | - |MS_NODIRATIME) | ||
| 68 | +#define MS_RMT_MASK (MS_RDONLY|MS_SYNCHRONOUS|MS_MANDLOCK|MS_I_VERSION) | ||
| 69 | |||
| 70 | |||
| 71 | /* Magic mount flag number. Has to be or-ed to the flag values. */ | ||
| 72 | @@ -100,8 +123,10 @@ | ||
| 73 | #define MNT_FORCE MNT_FORCE | ||
| 74 | MNT_DETACH = 2, /* Just detach from the tree. */ | ||
| 75 | #define MNT_DETACH MNT_DETACH | ||
| 76 | - MNT_EXPIRE = 4 /* Mark for expiry. */ | ||
| 77 | + MNT_EXPIRE = 4, /* Mark for expiry. */ | ||
| 78 | #define MNT_EXPIRE MNT_EXPIRE | ||
| 79 | + UMOUNT_NOFOLLOW = 8 /* Don't follow symlink on umount. */ | ||
| 80 | +#define UMOUNT_NOFOLLOW UMOUNT_NOFOLLOW | ||
| 81 | }; | ||
| 82 | |||
| 83 | |||
diff --git a/meta/recipes-core/uclibc/uclibc_git.bb b/meta/recipes-core/uclibc/uclibc_git.bb index 2a609472d5..e8a6d68523 100644 --- a/meta/recipes-core/uclibc/uclibc_git.bb +++ b/meta/recipes-core/uclibc/uclibc_git.bb | |||
| @@ -1,5 +1,3 @@ | |||
| 1 | SRCREV="0dcc13bf7a61b1d0708e5dd103d5515e0ffec79a" | ||
| 2 | |||
| 3 | require uclibc.inc | 1 | require uclibc.inc |
| 4 | require uclibc-package.inc | 2 | require uclibc-package.inc |
| 5 | require uclibc-git.inc | 3 | require uclibc-git.inc |
