Pending patches - added even more patches
cover Pending patches - added even more patches
First 4 are the same, not resent (will try RP's suggestion for STAGING_DIR* variables first)
sstate.bbclass: improve performance of sstate package creation - updated ' position
shadow-sysroot: disable package creation - new patch discussed on #yocto
gst-plugin-bluetooth: upgrade to 4.98 and add checksums - old one was missing SRC_URI
checksums so was failing to build
The following changes since commit d3de5f7308b4a42b809884119a670af5bedde38f:
psplash: allow building multiple splash executables (2012-02-24 16:44:37 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/pull
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
Eric BENARD (1):
gdb-cross-canadian: build gdb with python support
Martin Jansa (6):
bitbake.conf: use weak assignment for BB_CONSOLELOG bitbake.conf: introduce SDK_NAME_PREFIX and NATIVESDK_* variables
gdb-cross-canadian: use NATIVESDK paths as it happens to be here sstate.bbclass: improve performance of sstate package creation
shadow-sysroot: disable package creation
gst-plugin-bluetooth: upgrade to 4.98 and add checksums
meta/classes/sstate.bbclass | 39 ++++++++------------
meta/conf/bitbake.conf | 16 +++++++-
...etooth_4.96.bb => gst-plugin-bluetooth_4.98.bb} | 3 +-
meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 23 +++++++++++-
.../recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | 2 +-
.../shadow/shadow-sysroot_4.1.4.3.bb | 7 +++-
6 files changed, 61 insertions(+), 29 deletions(-)
rename meta/recipes-connectivity/bluez/{gst-plugin-bluetooth_4.96.bb => gst-plugin-bluetooth_4.98.bb} (77%)Signature · 1 line
1.7.8.4
PATCH 5/7 sstate.bbclass: improve performance of sstate package creation
* also fixes replacing paths for perl where cmd line was probably too long for os.system(cmd) (it had 560410 characters because a lot of files from sstate_scan_cmd).
* also print those 2 commands so we can find them in log.do_package
--- meta/classes/sstate.bbclass | 39 ++++++++++++++++----------------------- 1 files changed, 16 insertions(+), 23 deletions(-)
meta/classes/sstate.bbclass +16 -23
@@ -304,38 +304,31 @@ python sstate_cleanall() { def sstate_hardcode_path(d): # Need to remove hardcoded paths and fix these when we install the # staging packages. - sstate_scan_cmd = d.getVar('SSTATE_SCAN_CMD', True) - p = os.popen("%s" % sstate_scan_cmd) - file_list = p.read() - - if file_list == "": - p.close() - return staging = d.getVar('STAGING_DIR', True) staging_target = d.getVar('STAGING_DIR_TARGET', True) staging_host = d.getVar('STAGING_DIR_HOST', True) sstate_builddir = d.getVar('SSTATE_BUILDDIR', True) - files = " ".join(file_list.split('\n')) - if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('cross-canadian', d): - cmd = "sed -i -e s:%s:FIXMESTAGINGDIR:g %s" % (staging, files) + sstate_sed_cmd = "sed -i -e 's:%s:FIXMESTAGINGDIR:g'" % (staging) elif bb.data.inherits_class('cross', d): - cmd = "sed -i -e s:%s:FIXMESTAGINGDIRTARGET:g %s \ - sed -i -e s:%s:FIXMESTAGINGDIR:g %s" % (staging_target, files, staging, files) + sstate_sed_cmd = "sed -i -e 's:%s:FIXMESTAGINGDIRTARGET:g; s:%s:FIXMESTAGINGDIR:g'" % (staging_target, staging) else: - cmd = "sed -i -e s:%s:FIXMESTAGINGDIRHOST:g %s" % (staging_host, files) - - if files: - os.system(cmd) - fix = open("%sfixmepath" % (sstate_builddir), "w") - fixme = [] - for f in file_list.split('\n'): - fixme.append(f.replace(sstate_builddir, "")) - fix.write("\n".join(fixme)) - fix.close() - p.close() + sstate_sed_cmd = "sed -i -e 's:%s:FIXMESTAGINGDIRHOST:g'" % (staging_host) + + sstate_scan_cmd = d.getVar('SSTATE_SCAN_CMD', True) + sstate_filelist_cmd = "tee %sfixmepath" % (sstate_builddir) + + # fixmepath file needs relative paths, drop sstate_builddir prefix + sstate_filelist_relative_cmd = "sed -i -e 's:^%s::g' %sfixmepath" % (sstate_builddir, sstate_builddir) + + sstate_hardcode_cmd = "%s | %s | xargs %s" % (sstate_scan_cmd, sstate_filelist_cmd, sstate_sed_cmd) + + print "Removing hardcoded paths from sstate package: '%s'" % (sstate_hardcode_cmd) + os.system(sstate_hardcode_cmd) + print "Replacing absolute paths in fixmepath file: '%s'" % (sstate_filelist_relative_cmd) + os.system(sstate_filelist_relative_cmd) def sstate_package(ss, d): import oe.path
Signature · 1 line
1.7.8.4
PATCH 6/7 shadow-sysroot: disable package creation
--- .../shadow/shadow-sysroot_4.1.4.3.bb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb +6 -1
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://login.defs_shadow-sysroot;md5=25e2f2de4dfc8f966ac5cdf DEPENDS = "base-passwd" -PR = "r1" +PR = "r2" # The sole purpose of this recipe is to provide the /etc/login.defs # file for the target sysroot - needed so the shadow-native utilities
@@ -28,3 +28,8 @@ do_install() { sysroot_stage_all() { sysroot_stage_dir ${D} ${SYSROOT_DESTDIR} } + +# don't create any packages +# otherwise: dbus-dev depends on shadow-sysroot-dev which depends on shadow-sysroot +# and this has another copy of /etc/login.defs already provided by shadow +PACKAGES = ""
Signature · 1 line
1.7.8.4
PATCH 7/7 gst-plugin-bluetooth: upgrade to 4.98 and add checksums
In reply to Martin Jansa---
...etooth_4.96.bb => gst-plugin-bluetooth_4.98.bb} | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
rename meta/recipes-connectivity/bluez/{gst-plugin-bluetooth_4.96.bb => gst-plugin-bluetooth_4.98.bb} (77%)meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.98.bb renamed from meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.96.bb +2 -1
@@ -1,7 +1,8 @@ require bluez4.inc require recipes-multimedia/gstreamer/gst-plugins-package.inc -PR = "r1" +SRC_URI[md5sum] = "362864b716950baa04797de735fc237b" +SRC_URI[sha256sum] = "9a5b655bada7c7a1921cb3bac83b8a32bbe49893e4c7a1377cdc1b0d35f7d233" DEPENDS = "bluez4 gst-plugins-base"
Signature · 1 line
1.7.8.4
Quoted 18 lines · Martin Jansa
First 4 are the same, not resent (will try RP's suggestion for STAGING_DIR* variables first)
sstate.bbclass: improve performance of sstate package creation - updated ' position
shadow-sysroot: disable package creation - new patch discussed on #yocto
gst-plugin-bluetooth: upgrade to 4.98 and add checksums - old one was missingSRC_URI
checksums so was failing to buildThe following changes since commit
d3de5f7308b4a42b809884119a670af5bedde38f:psplash: allow building multiple splash executables (2012-02-24 16:44:37 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribjansa/pull
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pullEric BENARD (1):
gdb-cross-canadian: build gdb with python support
Quoted 8 lines
Martin Jansa (6):
bitbake.conf: use weak assignment forBB_CONSOLELOGbitbake.conf: introduceSDK_NAME_PREFIXand NATIVESDK_* variables
gdb-cross-canadian: use NATIVESDK paths as it happens to be here sstate.bbclass: improve performance of sstate package creation
shadow-sysroot: disable package creation
gst-plugin-bluetooth: upgrade to 4.98 and add checksums
These last three have been merged into OE-core
Thanks
Sau!
Quoted 9 lines
meta/classes/sstate.bbclass | 39 ++++++++------------ meta/conf/bitbake.conf | 16 +++++++- ...etooth_4.96.bb => gst-plugin-bluetooth_4.98.bb} | 3 +- meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 23 +++++++++++- .../recipes-devtools/gdb/gdb-cross-canadian_7.4.bb | 2 +- .../shadow/shadow-sysroot_4.1.4.3.bb | 7 +++- 6 files changed, 61 insertions(+), 29 deletions(-)rename meta/recipes-connectivity/bluez/{gst-plugin-bluetooth_4.96.bb => gst-plugin-bluetooth_4.98.bb} (77%)