pseudo-1.5.1: keep install command directory mode
PATCH 1/1 pseudo-1.5.1: keep install command directory mode
Update and resend.
* Update patch header.
* Drop PR.
yanjun.zhu (1):
pseudo-1.5.1: keep install command directory mode
.../files/pseudo-1.5.1-install-directory-mode.patch | 18 ++++++++++++++++++ meta/recipes-devtools/pseudo/pseudo_1.5.1.bb | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
Signature · 1 line
1.8.4
PATCH 1/1 pseudo-1.5.1: keep install command directory mode
From: "yanjun.zhu" <[email protected]>
When install command sets the created directory mode, pseudo will change the mode of the directory to 0700 incorrectly. Backport patch to fix it.
Drop PR as well.
--- .../files/pseudo-1.5.1-install-directory-mode.patch | 18 ++++++++++++++++++ meta/recipes-devtools/pseudo/pseudo_1.5.1.bb | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-) 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 +18 -0
@@ -0,0 +1,18 @@ +Upstream-Status: Backport + +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]> +Signed-off-by: Kai Kang <[email protected]> + +--- 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 +1 -2
@@ -1,11 +1,10 @@ require pseudo.inc -PR = "r4" - 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.8.4
Quoted 44 lines · Kai Kang
From: "yanjun.zhu" <[email protected]>
When install command sets the created directory mode, pseudo will change the mode of the directory to 0700 incorrectly. Backport patch to fix it.
Drop PR as well.
Signed-off-by yanjun.zhu <[email protected]>Signed-off-by Kai Kang <[email protected]>--- .../files/pseudo-1.5.1-install-directory-mode.patch | 18 ++++++++++++++++++ meta/recipes-devtools/pseudo/pseudo_1.5.1.bb | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-) 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 +18
-0@@ -0,0 +1,18 @@ +Upstream-Status: Backport + +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]> +Signed-off-by: Kai Kang <[email protected]> + +--- 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 3
Quoted 3 lines
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +0
-1@@ -1,11 +1,10 @@ require pseudo.inc -PR = "r4"
You cannot drop PR when PV/PE is the same, version goes backward (you should notice QA Error about that).
Quoted 17 lines
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +1
-1- 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 · 7 lines
1.8.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 47 lines · Martin Jansa
Quoted 46 lines · Kai Kang
From: "yanjun.zhu" <[email protected]>
When install command sets the created directory mode, pseudo will change the mode of the directory to 0700 incorrectly. Backport patch to fix it.
Drop PR as well.
Signed-off-by yanjun.zhu <[email protected]>Signed-off-by Kai Kang <[email protected]>--- .../files/pseudo-1.5.1-install-directory-mode.patch | 18 ++++++++++++++++++ meta/recipes-devtools/pseudo/pseudo_1.5.1.bb | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-)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 +18
-0@@ -0,0 +1,18 @@ +Upstream-Status: Backport + +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]> +Signed-off-by: Kai Kang <[email protected]> + +--- 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@@ -1,11 +1,10 @@ require pseudo.inc
Quoted 3 lines
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb line 3
Quoted 1 line
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +0
-1-PR = "r4"You cannot drop PR when PV/PE is the same, version goes backward (you should notice QA Error about that).
Sorry, forget that. But I didn't meet the QA Error. When should it appear, parse recipes or do_package_qa?
I'll send V2.
Thanks,
Kai
Quoted 18 lines
Quoted 18 lines
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +1
-1- 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 · 7 lines
1.8.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 2 lines
Regards, Neil | Kai Kang
Quoted 48 lines · Kang Kai
Quoted 47 lines · Martin Jansa
Quoted 46 lines · Kai Kang
From: "yanjun.zhu" <[email protected]>
When install command sets the created directory mode, pseudo will change the mode of the directory to 0700 incorrectly. Backport patch to fix it.
Drop PR as well.
Signed-off-by yanjun.zhu <[email protected]>Signed-off-by Kai Kang <[email protected]>--- .../files/pseudo-1.5.1-install-directory-mode.patch | 18 ++++++++++++++++++ meta/recipes-devtools/pseudo/pseudo_1.5.1.bb | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-)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 +18
-0@@ -0,0 +1,18 @@ +Upstream-Status: Backport + +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]> +Signed-off-by: Kai Kang <[email protected]> + +--- 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@@ -1,11 +1,10 @@ require pseudo.inc
Quoted 6 lines
Quoted 3 lines
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb line 3
Quoted 1 line
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +0
-1-PR = "r4"You cannot drop PR when PV/PE is the same, version goes backward (you should notice QA Error about that).
Sorry, forget that. But I didn't meet the QA Error. When should it appear, parse recipes or
do_package_qa?
do_package_qa (iirc it needs buildhistory enabled in order to detect it between "clean" builds).
Quoted 29 lines
I'll send V2.
Thanks,
KaiQuoted 18 lines
Quoted 18 lines
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb +1
-1- 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 · 7 lines
1.8.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-coreSignature · 2 lines
Regards, Neil | Kai Kang
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]