peudo: Upgrade to the latest seebs/xattr experimental
authorRonan Le Martret <ronan@fridu.net>
Fri, 25 Apr 2014 08:23:49 +0000 (10:23 +0200)
committerRonan Le Martret <ronan@fridu.net>
Fri, 25 Apr 2014 08:23:49 +0000 (10:23 +0200)
 version

Enables xattr support.

Change-Id: Ie83f6e6b1d09595fb6ff20cb5d8228fb8ebcbf6b
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
recipes-devtools/pseudo/files/Fix_setxattr.patch [deleted file]
recipes-devtools/pseudo/pseudo_1.5.1.bbappend [deleted file]
recipes-devtools/pseudo/pseudo_git.bbappend [new file with mode: 0644]

diff --git a/recipes-devtools/pseudo/files/Fix_setxattr.patch b/recipes-devtools/pseudo/files/Fix_setxattr.patch
deleted file mode 100644 (file)
index 538cdca..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-diff --git a/ports/linux/guts/lsetxattr.c b/ports/linux/guts/lsetxattr.c
-index 140ae8d..2f73350 100644
---- a/ports/linux/guts/lsetxattr.c
-+++ b/ports/linux/guts/lsetxattr.c
-@@ -5,14 +5,16 @@
-  * int lsetxattr(const char *pathname, const char *name, const void *value, size_t size, int flags)
-  *    int rc = -1;
-  */
--
--      /* suppress warnings */
--      (void) pathname;
--      (void) name;
--      (void) value;
--      (void) size;
--      (void) flags;
--      errno = ENOTSUP;
-+FILE *f;
-+f = fopen("/etc/smack/init_attr", "a+");
-+if (f){
-+    fprintf(f, "setfattr -n %s -v %s ${D}%s\n",name,value,pathname);
-+    fclose(f);
-+    rc=0;
-+}
-+else{
-+    errno = ENOTSUP;
-+}
-
- /*    return rc;
-  * }
-diff --git a/ports/linux/guts/setxattr.c b/ports/linux/guts/setxattr.c
-index de2de98..d7b10c9 100644
---- a/ports/linux/guts/setxattr.c
-+++ b/ports/linux/guts/setxattr.c
-@@ -5,14 +5,16 @@
-  * int setxattr(const char *pathname, const char *name, const void *value, size_t size, int flags)
-  *    int rc = -1;
-  */
--
--      /* suppress warnings */
--      (void) pathname;
--      (void) name;
--      (void) value;
--      (void) size;
--      (void) flags;
--      errno = ENOTSUP;
-+FILE *f;
-+f = fopen("/etc/smack/init_attr", "a+");
-+if (f){
-+    fprintf(f, "setfattr -n %s -v %s ${D}%s\n",name,value,pathname);
-+    fclose(f);
-+    rc=0;
-+}
-+else{
-+    errno = ENOTSUP;
-+}
-
- /*    return rc;
-  * }
diff --git a/recipes-devtools/pseudo/pseudo_1.5.1.bbappend b/recipes-devtools/pseudo/pseudo_1.5.1.bbappend
deleted file mode 100644 (file)
index bda2cfa..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-FILESEXTRAPATHS_prepend := "${THISDIR}/files"
-
-SRC_URI_append = " file://Fix_setxattr.patch "
\ No newline at end of file
diff --git a/recipes-devtools/pseudo/pseudo_git.bbappend b/recipes-devtools/pseudo/pseudo_git.bbappend
new file mode 100644 (file)
index 0000000..a67ffa6
--- /dev/null
@@ -0,0 +1,6 @@
+SRCREV = "36689a76e79bf6e6231f6f03cbfad297d4411588"
+PV = "1.6.0+git${SRCPV}"
+
+DEFAULT_PREFERENCE = "100"
+
+SRC_URI = "git://git.yoctoproject.org/pseudo;branch=seebs/xattr"
\ No newline at end of file