Re: [OE-core] [PATCH] gst-plugins: sync packaging with OE .dev
Op 26 jun 2011, om 04:20 heeft Saul Wold het volgende geschreven: On 06/16/2011 02:45 AM, Koen Kooi wrote: Gst-plugins get 2 extra packages: ${PN}-apps: helper apps in ${bindir} ${PN}-meta: meta package that will drag in all plugins, libs and apps ${PN} generates The packaging include was split out to be reused by external plugins (e.g. gst-plugin-gl, gst-fluendo-*). Signed-off-by: Koen Kooik...@dominion.thruhere.net --- .../gstreamer/gst-plugins-bad_0.10.21.bb |2 +- .../gstreamer/gst-plugins-base_0.10.32.bb |2 +- .../gstreamer/gst-plugins-good_0.10.28.bb |2 +- .../gstreamer/gst-plugins-package.inc | 34 .../gstreamer/gst-plugins-ugly_0.10.17.bb |2 +- meta/recipes-multimedia/gstreamer/gst-plugins.inc | 18 +- 6 files changed, 40 insertions(+), 20 deletions(-) create mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-package.inc diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb index 2b8a89c..a7023e3 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ DEPENDS += gst-plugins-base libmusicbrainz tremor librsvg -PR = r0 +PR = r1 inherit gettext diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb index f81011f..e9fadf8 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb @@ -15,7 +15,7 @@ SRC_URI += file://gst-plugins-base-tremor.patch SRC_URI[md5sum] = 2920af2b3162f3d9fbaa7fabc8ed4d38 SRC_URI[sha256sum] = e9aabfac83f6480896da0686e9c911989f896fbad634821b7771ed84a446172b -PR = r0 +PR = r1 inherit gettext diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb index b9648e3..cca63e9 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ DEPENDS += gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \ speex libsoup-2.4 -PR = r0 +PR = r1 inherit gettext diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc new file mode 100644 index 000..dae9416 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc @@ -0,0 +1,34 @@ +LIBV = 0.10 + +python populate_packages_prepend () { +gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) +postinst = bb.data.getVar('plugin_postinst', d, 1) +glibdir = bb.data.expand('${libdir}', d) + +do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) +do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst, extra_depends='') +do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)', extra_depends='') + +pn = bb.data.getVar('PN', d, 1) +metapkg = pn + '-meta' +bb.data.setVar('ALLOW_EMPTY_' + metapkg, 1, d) +bb.data.setVar('FILES_' + metapkg, , d) +blacklist = [ pn + '-locale', pn + '-dev', pn + '-dbg', pn + '-doc' ] +metapkg_rdepends = [] +packages = bb.data.getVar('PACKAGES', d, 1).split() +for pkg in packages[1:]: +if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-static'): +metapkg_rdepends.append(pkg) +bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) +bb.data.setVar('DESCRIPTION_' + metapkg, pn + ' meta package', d) +} + +ALLOW_EMPTY = 1 + +PACKAGES += ${PN}-apps ${PN}-meta +FILES_${PN}-apps = ${bindir} + +FILES_${PN} = ${datadir}/gstreamer-${LIBV} +FILES_${PN}-dbg += ${libdir}/gstreamer-${LIBV}/.debug + + diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb index 76e00a5..2a79c2a 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
Re: [OE-core] [RFC - Staticdev 1/2] multiple recipes converted to -staticdev packages
Op 26 jun 2011, om 06:36 heeft Saul Wold het volgende geschreven: This commit adds a new base package ${PN}-staticdev to bitbake.conf which pulls in the static *.a libraries as a seperate package, it filters out the nonshared.a libraries where appropriate. Additional this commit adds a new libdev.bbclass which provides a set of macros and variables to convert ${PN} to lib${PN}, which a number of recipes where then converted to use. Can't that be merged into lib_package.bbclass? ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] gcc-cross-kernel problems
On Sat, Jun 25, 2011 at 7:30 PM, Khem Raj raj.k...@gmail.com wrote: change the install command like below in gcc-cross-kernel.inc install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV} here probably install -m 0755 xgcc ${D}${bindir}/${TARGET_PREFIX}gcc-${PV} is needed instead ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] gcc-cross-kernel problems
Op 26 jun 2011, om 11:18 heeft Khem Raj het volgende geschreven: On Sat, Jun 25, 2011 at 7:30 PM, Khem Raj raj.k...@gmail.com wrote: change the install command like below in gcc-cross-kernel.inc install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV} here probably install -m 0755 xgcc ${D}${bindir}/${TARGET_PREFIX}gcc-${PV} is needed instead Thanks, that gets it into sysroots: koen@dominion:/OE/tentacle/build/tmp-angstrom_2010_x-eglibc/deploy$ find ../sysroots/ | grep 2007q3 ../sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi.gcc-cross-kernel-4.2.1/arm-angstrom-linux-gnueabi-gcc-4.2.1+csl-arm-2007q3-53 It isn't in PATH yet, but it's progress :) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] gst-plugins: sync packaging with OE .dev
Op 26 jun 2011, om 09:30 heeft Koen Kooi het volgende geschreven: Op 26 jun 2011, om 04:20 heeft Saul Wold het volgende geschreven: On 06/16/2011 02:45 AM, Koen Kooi wrote: Gst-plugins get 2 extra packages: ${PN}-apps: helper apps in ${bindir} ${PN}-meta: meta package that will drag in all plugins, libs and apps ${PN} generates The packaging include was split out to be reused by external plugins (e.g. gst-plugin-gl, gst-fluendo-*). Signed-off-by: Koen Kooik...@dominion.thruhere.net --- .../gstreamer/gst-plugins-bad_0.10.21.bb |2 +- .../gstreamer/gst-plugins-base_0.10.32.bb |2 +- .../gstreamer/gst-plugins-good_0.10.28.bb |2 +- .../gstreamer/gst-plugins-package.inc | 34 .../gstreamer/gst-plugins-ugly_0.10.17.bb |2 +- meta/recipes-multimedia/gstreamer/gst-plugins.inc | 18 +- 6 files changed, 40 insertions(+), 20 deletions(-) create mode 100644 meta/recipes-multimedia/gstreamer/gst-plugins-package.inc diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb index 2b8a89c..a7023e3 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.21.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ DEPENDS += gst-plugins-base libmusicbrainz tremor librsvg -PR = r0 +PR = r1 inherit gettext diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb index f81011f..e9fadf8 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-base_0.10.32.bb @@ -15,7 +15,7 @@ SRC_URI += file://gst-plugins-base-tremor.patch SRC_URI[md5sum] = 2920af2b3162f3d9fbaa7fabc8ed4d38 SRC_URI[sha256sum] = e9aabfac83f6480896da0686e9c911989f896fbad634821b7771ed84a446172b -PR = r0 +PR = r1 inherit gettext diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb index b9648e3..cca63e9 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-good_0.10.28.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ DEPENDS += gst-plugins-base gconf cairo jpeg libpng gtk+ zlib libid3tag flac \ speex libsoup-2.4 -PR = r0 +PR = r1 inherit gettext diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc new file mode 100644 index 000..dae9416 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-package.inc @@ -0,0 +1,34 @@ +LIBV = 0.10 + +python populate_packages_prepend () { + gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) + postinst = bb.data.getVar('plugin_postinst', d, 1) + glibdir = bb.data.expand('${libdir}', d) + + do_split_packages(d, glibdir, '^lib(.*)\.so\.*', 'lib%s', 'gstreamer %s library', extra_depends='', allow_links=True) + do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst, extra_depends='') + do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)', extra_depends='') + + pn = bb.data.getVar('PN', d, 1) + metapkg = pn + '-meta' + bb.data.setVar('ALLOW_EMPTY_' + metapkg, 1, d) + bb.data.setVar('FILES_' + metapkg, , d) + blacklist = [ pn + '-locale', pn + '-dev', pn + '-dbg', pn + '-doc' ] + metapkg_rdepends = [] + packages = bb.data.getVar('PACKAGES', d, 1).split() + for pkg in packages[1:]: + if not pkg in blacklist and not pkg in metapkg_rdepends and not pkg.endswith('-dev') and not pkg.endswith('-dbg') and not pkg.count('locale') and not pkg.count('-static'): + metapkg_rdepends.append(pkg) + bb.data.setVar('RDEPENDS_' + metapkg, ' '.join(metapkg_rdepends), d) + bb.data.setVar('DESCRIPTION_' + metapkg, pn + ' meta package', d) +} + +ALLOW_EMPTY = 1 + +PACKAGES += ${PN}-apps ${PN}-meta +FILES_${PN}-apps = ${bindir} + +FILES_${PN} = ${datadir}/gstreamer-${LIBV} +FILES_${PN}-dbg += ${libdir}/gstreamer-${LIBV}/.debug + + diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb b/meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb index 76e00a5..2a79c2a 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb +++ b/meta/recipes-multimedia/gstreamer/gst-plugins-ugly_0.10.17.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
Re: [OE-core] gcc-cross-kernel problems
On 06/25/2011 07:30 PM, Khem Raj wrote: so in you kernel recipe somewhere patch the below code PATH_prepend = ${STAGING_BINDIR_TOOLCHAIN}.gcc-cross-kernel: I guess it has 4.2.1 in the path for you as I see so you might need PATH_prepend = ${STAGING_BINDIR_TOOLCHAIN}.gcc-cross-kernel-4.2.1: -Khem ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 2/2] sanity: implement network connectivity test
On Sat, 2011-06-25 at 19:33 -0700, Khem Raj wrote: On 6/25/2011 5:53 PM, Saul Wold wrote: On 06/20/2011 11:09 AM, Joshua Lock wrote: Sanity test to verify files can be fetched from the network using git, http and https fetchers point users at a page to help get set up in the case of a failure. Addresses [YOCTO #933] Signed-off-by: Joshua Lockj...@linux.intel.com --- meta/classes/sanity.bbclass | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index bffa4f5..650df5f 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -35,6 +35,8 @@ def check_sanity_tmpdir_change(tmpdir, data): # Check that TMPDIR isn't on a filesystem with limited filename length (eg. eCryptFS) testmsg = check_create_long_filename(tmpdir, TMPDIR) + # Check that we can fetch from various network transports + testmsg = testmsg + check_connectivity(data) return testmsg def check_sanity_version_change(data): @@ -75,6 +77,38 @@ def check_create_long_filename(filepath, pathname): return Failed to create a file in %s: %s % (pathname, strerror) return +def check_connectivity(d): + # URI's to check can be set in the CONNECTIVITY_CHECK_URIS variable using + # the same syntax as SRC_URI. + test_uris = (bb.data.getVar('CONNECTIVITY_CHECK_URIS', d, True) or ).split() + # If no URI's set, fallback to some default ones we know of + if len(test_uris) == 0: + test_uris = [http://yoctoproject.org/about;, + https://eula-downloads.yoctoproject.org/crownbay/crownbay-bernard-5.0.0;, + git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD] + retval = imo this change is yocto specific doesnt belong to core Are you objecting to the feature (testing whether the fetchers can work on a newly configured tmpdir) or the implementation (using yoctoproject.org URI's)? I can change this patch to only run the check when the CONNECTIVITY_CHECK_URI's and remove the default uri's. Would that make the change less objectionable? Joshua -- Joshua Lock Yocto Project Johannes factotum Intel Open Source Technology Centre ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 2/2] sanity: implement network connectivity test
On 06/26/2011 10:37 AM, Joshua Lock wrote: On Sat, 2011-06-25 at 19:33 -0700, Khem Raj wrote: On 6/25/2011 5:53 PM, Saul Wold wrote: On 06/20/2011 11:09 AM, Joshua Lock wrote: Sanity test to verify files can be fetched from the network using git, http and https fetchers point users at a page to help get set up in the case of a failure. Addresses [YOCTO #933] Signed-off-by: Joshua Lockj...@linux.intel.com --- meta/classes/sanity.bbclass | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index bffa4f5..650df5f 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -35,6 +35,8 @@ def check_sanity_tmpdir_change(tmpdir, data): # Check that TMPDIR isn't on a filesystem with limited filename length (eg. eCryptFS) testmsg = check_create_long_filename(tmpdir, TMPDIR) + # Check that we can fetch from various network transports + testmsg = testmsg + check_connectivity(data) return testmsg def check_sanity_version_change(data): @@ -75,6 +77,38 @@ def check_create_long_filename(filepath, pathname): return Failed to create a file in %s: %s % (pathname, strerror) return +def check_connectivity(d): + # URI's to check can be set in the CONNECTIVITY_CHECK_URIS variable using + # the same syntax as SRC_URI. + test_uris = (bb.data.getVar('CONNECTIVITY_CHECK_URIS', d, True) or ).split() + # If no URI's set, fallback to some default ones we know of + if len(test_uris) == 0: + test_uris = [http://yoctoproject.org/about;, + https://eula-downloads.yoctoproject.org/crownbay/crownbay-bernard-5.0.0;, + git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD] + retval = imo this change is yocto specific doesnt belong to core Are you objecting to the feature (testing whether the fetchers can work on a newly configured tmpdir) or the implementation (using yoctoproject.org URI's)? the latter I can change this patch to only run the check when the CONNECTIVITY_CHECK_URI's and remove the default uri's. Would that make the change less objectionable? yes that would be better. Joshua ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] Question about apply eglibc configurability to create minimal image
Hi Mark, Thanks for your great help. I record the minimal eglibc configure options and the dependencies on them at https://wiki.yoctoproject.org/wiki/Minimal_Image People want make minimal image could follow the step and apply the patches in the page should get the same result with what I get. I will try to put the patches on the maillist and then check what other people thinking. Thanks and Regards, Kai ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups
Hi, I got the following ERROR with the patch: Log data follows: | Unstaged changes after reset: | M arch/powerpc/boot/dts/mpc8315erdb.dts | Deleted branch meta-temp (was cf7d7e5). | WARNING: addon feature features/taskstats was not found | ERROR: required features were not found. aborting | ERROR: Function 'do_patch' failed Maybe we forgot to push the proper commits into the linux-yocto git repo? Thanks, -- Dexuan -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Bruce Ashfield Sent: 2011年6月23日 5:29 To: richard.pur...@linuxfoundation.org Cc: dvh...@linux.intel.com; openembedded-core@lists.openembedded.org; k...@dominion.thruhere.net; Wold, Saul Subject: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups Updating the SRCREV for the kernel repo's meta branch to capture the following commits: 94fa015 meta: add taskstats experimental feature group 4fb2ed5 meta: enable freezer support 88d619e meta: enable fuse and cuse as modules f465827 meta: add namespaces + experimental configs fbdd376 meta: add devtmpfs config group b04f6d9 meta: re-enable cgroups options in the standard kernel There's also a change to the recipe itself to trigger the taskstats optional config items by default. This is to allow the introduction of these changes gradually, since other recipes inheriting the kernel can add or ignore these options at their convenience. Signed-off-by: Bruce Ashfield bruce.ashfi...@windriver.com --- meta/recipes-kernel/linux/linux-yocto_2.6.37.bb |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb b/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb index 2ee801e..90943c2 100644 --- a/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb +++ b/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb @@ -20,9 +20,9 @@ SRCREV_machine_qemuppc = 9d278962ff228ea9627a85b0d21ed717246ebf1f SRCREV_machine_qemux86 = 57545699dff0b384bb16be74b0358059da5cce6a SRCREV_machine_qemux86-64 = 5d36c23eecdc9663c9c3a2a511d4872d3b3fd669 SRCREV_machine = 12646d158aced2ba0122787bd56ff554e371091c -SRCREV_meta = d948e0ddbc5f37bd3dc23cc1b398ab230e2e +SRCREV_meta = 94fa015b130e96a3b6242a8ac4ff4cca9406951f -PR = r18 +PR = r19 PV = ${LINUX_VERSION}+git${SRCPV} SRCREV_FORMAT = meta_machine @@ -33,6 +33,7 @@ COMPATIBLE_MACHINE = (qemuarm|qemux86|qemuppc|qemumips|qemux86-64) # Functionality flags KERNEL_REVISION_CHECKING ?= t KERNEL_FEATURES=features/netfilter +KERNEL_FEATURES_append= features/taskstats KERNEL_FEATURES_append_qemux86= cfg/sound KERNEL_FEATURES_append_qemux86-64= cfg/sound -- 1.7.0.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups
Cui, Dexuan wrote: Hi, I got the following ERROR with the patch: Log data follows: Unstaged changes after reset: M arch/powerpc/boot/dts/mpc8315erdb.dts Deleted branch meta-temp (was cf7d7e5). WARNING: addon feature features/taskstats was not found ERROR: required features were not found. aborting ERROR: Function 'do_patch' failed Maybe we forgot to push the proper commits into the linux-yocto git repo? BTW, I'm building emenlow with today's poky master (commit a1f79a7896b) and mete-intel (commit 76d1178ba). After I reverted the line KERNEL_FEATURES_append= features/taskstats, at least linux-yocto's do_patch can work. Thanks, -- Dexuan -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Bruce Ashfield Sent: 2011年6月23日 5:29 To: richard.pur...@linuxfoundation.org Cc: dvh...@linux.intel.com; openembedded-core@lists.openembedded.org; k...@dominion.thruhere.net; Wold, Saul Subject: [OE-core] [PATCH 1/2] linux-yocto: update meta SRCREV for new config groups Updating the SRCREV for the kernel repo's meta branch to capture the following commits: 94fa015 meta: add taskstats experimental feature group 4fb2ed5 meta: enable freezer support 88d619e meta: enable fuse and cuse as modules f465827 meta: add namespaces + experimental configs fbdd376 meta: add devtmpfs config group b04f6d9 meta: re-enable cgroups options in the standard kernel There's also a change to the recipe itself to trigger the taskstats optional config items by default. This is to allow the introduction of these changes gradually, since other recipes inheriting the kernel can add or ignore these options at their convenience. Signed-off-by: Bruce Ashfield bruce.ashfi...@windriver.com --- meta/recipes-kernel/linux/linux-yocto_2.6.37.bb |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb b/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb index 2ee801e..90943c2 100644 --- a/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb +++ b/meta/recipes-kernel/linux/linux-yocto_2.6.37.bb @@ -20,9 +20,9 @@ SRCREV_machine_qemuppc = 9d278962ff228ea9627a85b0d21ed717246ebf1f SRCREV_machine_qemux86 = 57545699dff0b384bb16be74b0358059da5cce6a SRCREV_machine_qemux86-64 = 5d36c23eecdc9663c9c3a2a511d4872d3b3fd669 SRCREV_machine = 12646d158aced2ba0122787bd56ff554e371091c -SRCREV_meta = d948e0ddbc5f37bd3dc23cc1b398ab230e2e +SRCREV_meta = 94fa015b130e96a3b6242a8ac4ff4cca9406951f -PR = r18 +PR = r19 PV = ${LINUX_VERSION}+git${SRCPV} SRCREV_FORMAT = meta_machine @@ -33,6 +33,7 @@ COMPATIBLE_MACHINE = (qemuarm|qemux86|qemuppc|qemumips|qemux86-64) # Functionality flags KERNEL_REVISION_CHECKING ?= t KERNEL_FEATURES=features/netfilter +KERNEL_FEATURES_append= features/taskstats KERNEL_FEATURES_append_qemux86= cfg/sound KERNEL_FEATURES_append_qemux86-64= cfg/sound ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe.
-Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Khem Raj Sent: Friday, June 24, 2011 7:43 AM To: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe. On 06/23/2011 03:14 AM, Richard Purdie wrote: On Thu, 2011-06-23 at 10:40 +0100, Phil Blundell wrote: On Thu, 2011-06-23 at 12:08 +0800, Xu, Dongxiao wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Phil Blundell Sent: Wednesday, June 22, 2011 7:45 PM To: Patches and discussions about the oe-core layer Subject: Re: [OE-core] [PATCH 1/1] libc-locale: split locale handling from libc recipe. I still don't quite understand why the virtual/libiconv provider has moved from eglibc to eglibc-locale. Can you explain what's going on there? Generally, the purpose of this patch is to reduce eglibc's do_package time. Since many other recipes' do_package have dependency on eglibc's do_package, thus the sooner eglibc could finish its do_package, the ealier can other do_packages be executed, which improves the parallelism. From our study, we found most of eglibc's do_package time is used to handle locale. Therefore we split all the locale related stuffs into a separately recipe eglibc-locale. Yes, I understand that. But I don't think this answers the question about why, specifically, glibc-locale is now PROVIDEing virtual/libiconv. Does that recipe, in fact, implement libiconv? I must admit I was wondering about this too. Isn't the libiconv functionality still packaged as part of the libc recipe, not the locale part? yes it should be in libc Oh, it should be a mistake. I have changed that in my patch and doing test for it now. Thanks, Dongxiao Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core