pseudo-1.5.1: keep install command directory mode
PATCH 1/1 pseudo-1.5.1: keep install command directory mode
From: "yanjun.zhu" <[email protected]>
CQID:LIN5-17788
when install command sets the created directory mode, pseudo will change the mode of the directory to 0700 incorrectly.
--- .../pseudo-1.5.1-install-directory-mode.patch | 10 ++++++++++ meta/recipes-devtools/pseudo/pseudo_1.5.1.bb | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch new file +10 -0
@@ -0,0 +1,10 @@ +--- a/ports/unix/guts/mkdirat.c ++++ b/ports/unix/guts/mkdirat.c +@@ -25,6 +25,7 @@ + stat_rc = base_fstatat(dirfd, path, &buf, AT_SYMLINK_NOFOLLOW); + #endif + if (stat_rc != -1) { ++ buf.st_mode = PSEUDO_DB_MODE(buf.st_mode, mode); + pseudo_client_op(OP_MKDIR, 0, -1, dirfd, path, &buf); + } else { + pseudo_debug(1, "mkdir of %s succeeded, but stat failed: %s\n",
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +2 -1
@@ -1,11 +1,12 @@ require pseudo.inc -PR = "r4" +PR = "r5" SRC_URI = " \ http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \ file://0001-pseudo_has_unload-add-function.patch \ file://shutdownping.patch \ + file://pseudo-1.5.1-install-directory-mode.patch \ " SRC_URI[md5sum] = "5ec67c7bff5fe68c56de500859c19172"
Signature · 1 line
1.7.9.5
meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
Quoted 17 lines · Zhu Yanjun
From: "yanjun.zhu" <[email protected]>
CQID:LIN5-17788
when install command sets the created directory mode, pseudo will change the mode of the directory to 0700 incorrectly.
Signed-off-by yanjun.zhu <[email protected]>--- .../pseudo-1.5.1-install-directory-mode.patch | 10 ++++++++++ meta/recipes-devtools/pseudo/pseudo_1.5.1.bb | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-)create mode 100644
meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patchmeta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch new file +0
-0
There is no patch header here, also have you checked with Peter S on this change?
Quoted 18 lines
meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch new file +10
-0@@ -0,0 +1,10 @@ +--- a/ports/unix/guts/mkdirat.c ++++ b/ports/unix/guts/mkdirat.c +@@ -25,6 +25,7 @@ + stat_rc = base_fstatat(dirfd, path, &buf, AT_SYMLINK_NOFOLLOW); + #endif + if (stat_rc != -1) { ++ buf.st_mode = PSEUDO_DB_MODE(buf.st_mode, mode); + pseudo_client_op(OP_MKDIR, 0, -1, dirfd, path, &buf); + } else { + pseudo_debug(1, "mkdir of %s succeeded, but stat failed: %s\n",meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +0
-0
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb line 4
Quoted 5 lines
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +1
-1@@ -1,11 +1,12 @@ require pseudo.inc -PR = "r4" +PR = "r5"
No PR Bumps needed any longer
Sau!
Quoted 9 lines
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +1
-0SRC_URI = " \ http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2 \ file://0001-pseudo_has_unload-add-function.patch \ file://shutdownping.patch \ + file://pseudo-1.5.1-install-directory-mode.patch \ " SRC_URI[md5sum] = "5ec67c7bff5fe68c56de500859c19172"
Quoted 2 lines · On Tue, 18 Feb 2014 11:08:40 -0800 Saul Wold <[email protected]> wrote:
There is no patch header here, also have you checked with Peter S on this change?
The change originated with me, and is in my current 1.6 pseudo branch. The backport was being submitted because I am on other projects actively enough that I haven't got the time to finish the work for getting 1.6 ready to submit.
-s
Signature · 1 line
Listen, get this. Nobody with a good compiler needs to be justified.
Quoted 11 lines · Peter Seebach
Quoted 2 lines · On Tue, 18 Feb 2014 11:08:40 -0800 Saul Wold <[email protected]> wrote:
There is no patch header here, also have you checked with Peter S on this change?
The change originated with me, and is in my current 1.6 pseudo branch. The backport was being submitted because I am on other projects actively enough that I haven't got the time to finish the work for getting 1.6 ready to submit.
Great, had the patch header been there, I would not have to second guess and loop you in again.
Sau!
Quoted 2 lines
-s