[OE-core] [PATCH] pseudo: upgrade to 1.6.6
Ross Burton
ross.burton at intel.com
Thu Jul 16 21:12:17 UTC 2015
Fixes include proper support for creating FIFOs (remove redundant patch), and
bug fixes regarding xattrs.
[ YOCTO #7990 ]
[ YOCTO #7993 ]
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-devtools/pseudo/files/fifofix.patch | 52 ----------------------
.../pseudo/{pseudo_1.6.5.bb => pseudo_1.6.6.bb} | 5 +--
2 files changed, 2 insertions(+), 55 deletions(-)
delete mode 100644 meta/recipes-devtools/pseudo/files/fifofix.patch
rename meta/recipes-devtools/pseudo/{pseudo_1.6.5.bb => pseudo_1.6.6.bb} (74%)
diff --git a/meta/recipes-devtools/pseudo/files/fifofix.patch b/meta/recipes-devtools/pseudo/files/fifofix.patch
deleted file mode 100644
index 44a79cd..0000000
--- a/meta/recipes-devtools/pseudo/files/fifofix.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Allow mkfifo to create a real fifo.
-
-Index: pseudo-1.6.5/ports/unix/guts/mknodat.c
-===================================================================
---- pseudo-1.6.5.orig/ports/unix/guts/mknodat.c
-+++ pseudo-1.6.5/ports/unix/guts/mknodat.c
-@@ -27,22 +27,33 @@
- errno = EEXIST;
- return -1;
- }
-+ if (mode & S_IFIFO) {
- #ifdef PSEUDO_NO_REAL_AT_FUNCTIONS
-- rc = real_open(path, O_CREAT | O_WRONLY | O_EXCL,
-- PSEUDO_FS_MODE(mode, 0));
-+ rc = real_mkfifo(path, PSEUDO_FS_MODE(mode, 0));
- #else
-- rc = real_openat(dirfd, path, O_CREAT | O_WRONLY | O_EXCL,
-- PSEUDO_FS_MODE(mode, 0));
-+ rc = real_mkfifoat(dirfd, path, PSEUDO_FS_MODE(mode, 0));
- #endif
-- if (rc == -1) {
-- return -1;
-+ if (rc == -1) {
-+ return -1;
-+ }
-+ } else {
-+#ifdef PSEUDO_NO_REAL_AT_FUNCTIONS
-+ rc = real_open(path, O_CREAT | O_WRONLY | O_EXCL,
-+ PSEUDO_FS_MODE(mode, 0));
-+#else
-+ rc = real_openat(dirfd, path, O_CREAT | O_WRONLY | O_EXCL,
-+ PSEUDO_FS_MODE(mode, 0));
-+#endif
-+ if (rc == -1) {
-+ return -1;
-+ }
-+ base_fstat(rc, &buf);
-+ /* mknod does not really open the file. We don't have
-+ * to use wrap_close because we've never exposed this file
-+ * descriptor to the client code.
-+ */
-+ real_close(rc);
- }
-- base_fstat(rc, &buf);
-- /* mknod does not really open the file. We don't have
-- * to use wrap_close because we've never exposed this file
-- * descriptor to the client code.
-- */
-- real_close(rc);
-
- /* mask in the mode type bits again */
- buf.st_mode = (PSEUDO_DB_MODE(buf.st_mode, mode) & 07777) |
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.6.5.bb b/meta/recipes-devtools/pseudo/pseudo_1.6.6.bb
similarity index 74%
rename from meta/recipes-devtools/pseudo/pseudo_1.6.5.bb
rename to meta/recipes-devtools/pseudo/pseudo_1.6.6.bb
index bf14c7d..1946021 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.6.5.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.6.6.bb
@@ -4,11 +4,10 @@ SRC_URI = " \
http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \
file://fallback-passwd \
file://fallback-group \
- file://fifofix.patch \
"
-SRC_URI[md5sum] = "a5545ff365e243193c81981df98e870b"
-SRC_URI[sha256sum] = "f5a0af976c958915503f516dd02097ab6a64c98a3c0cb4ceb0ce8b1ef8e38b3c"
+SRC_URI[md5sum] = "6a7c01a1780350a695bc0f4939b58626"
+SRC_URI[sha256sum] = "1512b91d62739ff8d266e161e27f6da29c3012f4a1e77100021808d4173c0740"
PSEUDO_EXTRA_OPTS ?= "--enable-force-async --without-passwd-fallback"
--
2.1.4
More information about the Openembedded-core
mailing list