* [PATCH 0/1] pseudo 1.4.4
@ 2013-02-12 22:52 Peter Seebach
2013-02-12 22:52 ` [PATCH 1/1] pseudo_git.bb: Bump to " Peter Seebach
0 siblings, 1 reply; 2+ messages in thread
From: Peter Seebach @ 2013-02-12 22:52 UTC (permalink / raw)
To: openembedded-core
So, about two days AFTER pseudo 1.4.3 goes in, I finally hit the fairly
obvious bug in the link/linkat() changes. Summary: In general, if parameter
names end in 'path' pseudo tries to do automatic path fixups for them.
This doesn't work well for the *at() functions, because they can need
magic done with their corresponding file descriptors. So linkat() doesn't
take already-converted names.
link(), however, was using fully-expanded names. And when I converted it
to just call linkat(), it preserved this behavior. The obvious failure
is that in a chroot() environment, link() would prepend the chroot path
twice; once in link(), and once in linkat() which it called.
Fixed in pseudo 1.4.4, retested against the test case. Due to the
slightly-too-magical way pseudo works, the only actual changes are to
the names of the parameters of link().
The following changes since commit c58e6cf352774e147038e6543ac95ab0060f2327:
Anders Roxell (1):
distro_check: Remove creation of empty Meego filelist.
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib seebs/pseudo144
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/pseudo144
Peter Seebach (1):
pseudo_git.bb: Bump to pseudo 1.4.4.
.../pseudo/{pseudo_1.4.3.bb => pseudo_1.4.4.bb} | 4 ++--
meta/recipes-devtools/pseudo/pseudo_git.bb | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/pseudo/{pseudo_1.4.3.bb => pseudo_1.4.4.bb} (43%)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] pseudo_git.bb: Bump to pseudo 1.4.4.
2013-02-12 22:52 [PATCH 0/1] pseudo 1.4.4 Peter Seebach
@ 2013-02-12 22:52 ` Peter Seebach
0 siblings, 0 replies; 2+ messages in thread
From: Peter Seebach @ 2013-02-12 22:52 UTC (permalink / raw)
To: openembedded-core
The pseudo 1.4.2 linkat() implementation had a broken edge case
in which you could end up with chroot paths being doubled when
using plain link() calls instead of linkat() calls.
Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
---
.../pseudo/{pseudo_1.4.3.bb => pseudo_1.4.4.bb} | 4 ++--
meta/recipes-devtools/pseudo/pseudo_git.bb | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/pseudo/{pseudo_1.4.3.bb => pseudo_1.4.4.bb} (43%)
diff --git a/meta/recipes-devtools/pseudo/pseudo_1.4.3.bb b/meta/recipes-devtools/pseudo/pseudo_1.4.4.bb
similarity index 43%
rename from meta/recipes-devtools/pseudo/pseudo_1.4.3.bb
rename to meta/recipes-devtools/pseudo/pseudo_1.4.4.bb
index 8f25bd0..dea607c 100644
--- a/meta/recipes-devtools/pseudo/pseudo_1.4.3.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_1.4.4.bb
@@ -4,5 +4,5 @@ PR = "r0"
SRC_URI = "http://www.yoctoproject.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2"
-SRC_URI[md5sum] = "ac943153aa78e210e2d0db7c85845db3"
-SRC_URI[sha256sum] = "0ca12a319c0ee87d1c8b2a4310c36a6d68d8d4b8c9c7dba00bace1773baf18e8"
+SRC_URI[md5sum] = "ae18a1388c032ac910adbf8c3111fdc4"
+SRC_URI[sha256sum] = "e72cb188fd8efb9eadfb5ce571a45a99245ae312eb9830cb9a9726bb25e47c17"
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index bbdba43..efffc95 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -1,7 +1,7 @@
require pseudo.inc
-SRCREV = "a01d7884e5f3acba1460cf6b500d28390e7af9f8"
-PV = "1.4.3+git${SRCPV}"
+SRCREV = "363a94bb851046f62648d7c96c749e899bd0648e"
+PV = "1.4.4+git${SRCPV}"
PR = "r0"
DEFAULT_PREFERENCE = "-1"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-12 23:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12 22:52 [PATCH 0/1] pseudo 1.4.4 Peter Seebach
2013-02-12 22:52 ` [PATCH 1/1] pseudo_git.bb: Bump to " Peter Seebach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox