* [PATCH] pseudo-1.5.1: keep install command directory mode
@ 2014-02-17 10:17 Zhu Yanjun
2014-02-18 19:08 ` Saul Wold
0 siblings, 1 reply; 10+ messages in thread
From: Zhu Yanjun @ 2014-02-17 10:17 UTC (permalink / raw)
To: openembedded-core
From: "yanjun.zhu" <yanjun.zhu@windriver.com>
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 <yanjun.zhu@windriver.com>
---
.../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
diff --git a/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
new file mode 100644
index 0000000..02e3da2
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
@@ -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",
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
index bc92856..64115ca 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
@@ -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"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH] pseudo-1.5.1: keep install command directory mode
2014-02-17 10:17 [PATCH] pseudo-1.5.1: keep install command directory mode Zhu Yanjun
@ 2014-02-18 19:08 ` Saul Wold
2014-02-18 21:31 ` Peter Seebach
0 siblings, 1 reply; 10+ messages in thread
From: Saul Wold @ 2014-02-18 19:08 UTC (permalink / raw)
To: Zhu Yanjun, openembedded-core
On 02/17/2014 02:17 AM, Zhu Yanjun wrote:
> From: "yanjun.zhu" <yanjun.zhu@windriver.com>
>
> 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 <yanjun.zhu@windriver.com>
> ---
> .../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
>
> diff --git a/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
> new file mode 100644
> index 0000000..02e3da2
There is no patch header here, also have you checked with Peter S on
this change?
> --- /dev/null
> +++ b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
> @@ -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",
> diff --git a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> index bc92856..64115ca 100644
> --- a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> +++ b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> @@ -1,11 +1,12 @@
> require pseudo.inc
>
> -PR = "r4"
> +PR = "r5"
>
No PR Bumps needed any longer
Sau!
> 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"
>
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] pseudo-1.5.1: keep install command directory mode
2014-02-18 19:08 ` Saul Wold
@ 2014-02-18 21:31 ` Peter Seebach
2014-02-18 22:31 ` Saul Wold
0 siblings, 1 reply; 10+ messages in thread
From: Peter Seebach @ 2014-02-18 21:31 UTC (permalink / raw)
To: Saul Wold; +Cc: openembedded-core
On Tue, 18 Feb 2014 11:08:40 -0800
Saul Wold <sgw@linux.intel.com> 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
--
Listen, get this. Nobody with a good compiler needs to be justified.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] pseudo-1.5.1: keep install command directory mode
2014-02-18 21:31 ` Peter Seebach
@ 2014-02-18 22:31 ` Saul Wold
0 siblings, 0 replies; 10+ messages in thread
From: Saul Wold @ 2014-02-18 22:31 UTC (permalink / raw)
To: Peter Seebach; +Cc: openembedded-core
On 02/18/2014 01:31 PM, Peter Seebach wrote:
> On Tue, 18 Feb 2014 11:08:40 -0800
> Saul Wold <sgw@linux.intel.com> 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!
> -s
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] pseudo-1.5.1: keep install command directory mode
@ 2014-03-31 8:35 Kai Kang
2014-03-31 8:35 ` Kai Kang
0 siblings, 1 reply; 10+ messages in thread
From: Kai Kang @ 2014-03-31 8:35 UTC (permalink / raw)
To: sgw; +Cc: openembedded-core
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
--
1.8.4
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] pseudo-1.5.1: keep install command directory mode
2014-03-31 8:35 Kai Kang
@ 2014-03-31 8:35 ` Kai Kang
2014-03-31 10:24 ` Martin Jansa
0 siblings, 1 reply; 10+ messages in thread
From: Kai Kang @ 2014-03-31 8:35 UTC (permalink / raw)
To: sgw; +Cc: openembedded-core
From: "yanjun.zhu" <yanjun.zhu@windriver.com>
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 <yanjun.zhu@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
.../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
diff --git a/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
new file mode 100644
index 0000000..e8eaf13
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
@@ -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 <yanjun.zhu@windriver.com>
+Signed-off-by: Kai Kang <kai.kang@windriver.com>
+
+--- 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",
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
index bc92856..c265017 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
@@ -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"
--
1.8.4
^ permalink raw reply related [flat|nested] 10+ messages in thread* Re: [PATCH] pseudo-1.5.1: keep install command directory mode
2014-03-31 8:35 ` Kai Kang
@ 2014-03-31 10:24 ` Martin Jansa
2014-03-31 14:37 ` Kang Kai
0 siblings, 1 reply; 10+ messages in thread
From: Martin Jansa @ 2014-03-31 10:24 UTC (permalink / raw)
To: Kai Kang; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2788 bytes --]
On Mon, Mar 31, 2014 at 04:35:30PM +0800, Kai Kang wrote:
> From: "yanjun.zhu" <yanjun.zhu@windriver.com>
>
> 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 <yanjun.zhu@windriver.com>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
> .../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
>
> diff --git a/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
> new file mode 100644
> index 0000000..e8eaf13
> --- /dev/null
> +++ b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
> @@ -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 <yanjun.zhu@windriver.com>
> +Signed-off-by: Kai Kang <kai.kang@windriver.com>
> +
> +--- 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",
> diff --git a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> index bc92856..c265017 100644
> --- a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> +++ b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> @@ -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).
> -
> 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"
> --
> 1.8.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] pseudo-1.5.1: keep install command directory mode
2014-03-31 10:24 ` Martin Jansa
@ 2014-03-31 14:37 ` Kang Kai
2014-03-31 15:11 ` Martin Jansa
0 siblings, 1 reply; 10+ messages in thread
From: Kang Kai @ 2014-03-31 14:37 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-core
On 2014年03月31日 18:24, Martin Jansa wrote:
> On Mon, Mar 31, 2014 at 04:35:30PM +0800, Kai Kang wrote:
>> From: "yanjun.zhu" <yanjun.zhu@windriver.com>
>>
>> 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 <yanjun.zhu@windriver.com>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>> .../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
>>
>> diff --git a/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
>> new file mode 100644
>> index 0000000..e8eaf13
>> --- /dev/null
>> +++ b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
>> @@ -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 <yanjun.zhu@windriver.com>
>> +Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> +
>> +--- 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",
>> diff --git a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
>> index bc92856..c265017 100644
>> --- a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
>> +++ b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
>> @@ -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).
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
>
>> -
>> 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"
>> --
>> 1.8.4
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Regards,
Neil | Kai Kang
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH] pseudo-1.5.1: keep install command directory mode
2014-03-31 14:37 ` Kang Kai
@ 2014-03-31 15:11 ` Martin Jansa
0 siblings, 0 replies; 10+ messages in thread
From: Martin Jansa @ 2014-03-31 15:11 UTC (permalink / raw)
To: Kang Kai; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 3425 bytes --]
On Mon, Mar 31, 2014 at 10:37:36PM +0800, Kang Kai wrote:
> On 2014年03月31日 18:24, Martin Jansa wrote:
> > On Mon, Mar 31, 2014 at 04:35:30PM +0800, Kai Kang wrote:
> >> From: "yanjun.zhu" <yanjun.zhu@windriver.com>
> >>
> >> 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 <yanjun.zhu@windriver.com>
> >> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> >> ---
> >> .../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
> >>
> >> diff --git a/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
> >> new file mode 100644
> >> index 0000000..e8eaf13
> >> --- /dev/null
> >> +++ b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
> >> @@ -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 <yanjun.zhu@windriver.com>
> >> +Signed-off-by: Kai Kang <kai.kang@windriver.com>
> >> +
> >> +--- 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",
> >> diff --git a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> >> index bc92856..c265017 100644
> >> --- a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> >> +++ b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
> >> @@ -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).
>
> 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).
> I'll send V2.
>
> Thanks,
> Kai
>
> >
> >> -
> >> 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"
> >> --
> >> 1.8.4
> >>
> >> --
> >> _______________________________________________
> >> Openembedded-core mailing list
> >> Openembedded-core@lists.openembedded.org
> >> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
> --
> Regards,
> Neil | Kai Kang
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] V2: pseudo-1.5.1: keep install command directory mode
@ 2014-03-31 14:41 Kai Kang
2014-03-31 14:41 ` [PATCH] " Kai Kang
0 siblings, 1 reply; 10+ messages in thread
From: Kai Kang @ 2014-03-31 14:41 UTC (permalink / raw)
To: sgw, martin.jansa; +Cc: openembedded-core
V2:
* keep 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 | 1 +
2 files changed, 19 insertions(+)
create mode 100644 meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
--
1.8.1.2
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] pseudo-1.5.1: keep install command directory mode
2014-03-31 14:41 [PATCH] V2: " Kai Kang
@ 2014-03-31 14:41 ` Kai Kang
0 siblings, 0 replies; 10+ messages in thread
From: Kai Kang @ 2014-03-31 14:41 UTC (permalink / raw)
To: sgw, martin.jansa; +Cc: openembedded-core
From: "yanjun.zhu" <yanjun.zhu@windriver.com>
When install command sets the created directory mode, pseudo will change
the mode of the directory to 0700 incorrectly. Backport patch to fix it.
Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
.../files/pseudo-1.5.1-install-directory-mode.patch | 18 ++++++++++++++++++
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb | 1 +
2 files changed, 19 insertions(+)
create mode 100644 meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
diff --git a/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
new file mode 100644
index 0000000..e8eaf13
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/files/pseudo-1.5.1-install-directory-mode.patch
@@ -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 <yanjun.zhu@windriver.com>
+Signed-off-by: Kai Kang <kai.kang@windriver.com>
+
+--- 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",
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
index bc92856..215cdb8 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb
@@ -6,6 +6,7 @@ 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"
--
1.8.1.2
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-03-31 15:11 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-17 10:17 [PATCH] pseudo-1.5.1: keep install command directory mode Zhu Yanjun
2014-02-18 19:08 ` Saul Wold
2014-02-18 21:31 ` Peter Seebach
2014-02-18 22:31 ` Saul Wold
-- strict thread matches above, loose matches on Subject: below --
2014-03-31 8:35 Kai Kang
2014-03-31 8:35 ` Kai Kang
2014-03-31 10:24 ` Martin Jansa
2014-03-31 14:37 ` Kang Kai
2014-03-31 15:11 ` Martin Jansa
2014-03-31 14:41 [PATCH] V2: " Kai Kang
2014-03-31 14:41 ` [PATCH] " Kai Kang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox