Re: [OE-core] [PATCH 2/2] eglibc: migrate configurability from oe
Op 8 jun 2011, om 03:45 heeft Kang Kai het volgende geschreven: On 2011年06月07日 17:48, Koen Kooi wrote: Op 7 jun 2011, om 11:42 heeft Kang Kai het volgende geschreven: From: Kang Kaikai.k...@windriver.com Migrate configurability from oe, try to shrink minimal image size Update to get eglibc configuration options from DISTRO_FEATURES and enable them. All the options are enabled by default. Uncomment the line in conf/local.extended.conf to define DISTRO_FEATURES, so put what options you want to enable there. Signed-off-by: Kang Kaikai.k...@windriver.com --- meta/conf/distro/include/default-distrovars.inc|8 ++- .../eglibc-2.13-fix-macro-RTLD_DEBUG.patch | 20 ++ meta/recipes-core/eglibc/eglibc-options.inc| 62 meta/recipes-core/eglibc/eglibc.inc|6 ++ meta/recipes-core/eglibc/eglibc_2.13.bb|4 +- 5 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-core/eglibc/eglibc-2.13/eglibc-2.13-fix-macro-RTLD_DEBUG.patch create mode 100644 meta/recipes-core/eglibc/eglibc-options.inc diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 4b68a0a..16ac681 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc @@ -10,7 +10,13 @@ LIMIT_BUILT_LOCALES ?= POSIX en_US en_GB ENABLE_BINARY_LOCALE_GENERATION ?= 1 LOCALE_UTF8_ONLY ?= 0 -DISTRO_FEATURES ?= alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci +DISTRO_FEATURES ?= alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci \ + libc-ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ + libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ + libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code \ + libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \ + libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ + libc-posix-wchar-io Hi Koen, I think a seperate DISTRO_LIBC_FEATURES var would be cleaner and easier to override. I used DISTRO_FEATURES_EGLIBC before, but it didn't make Richard happy. :) So how does one easily override LIBC features without touching other features? ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] sysvinitL split inittab into it's own recipe
ping Op 4 jun 2011, om 11:21 heeft Koen Kooi het volgende geschreven: A proper fix for [YOCTO ##1131] Signed-off-by: k...@dominion.thruhere.net --- .../recipes-core/sysvinit/sysvinit-inittab/inittab | 30 +++ .../sysvinit/sysvinit-inittab_2.88dsf.bb | 55 meta/recipes-core/sysvinit/sysvinit/inittab| 30 --- meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 41 +-- 4 files changed, 86 insertions(+), 70 deletions(-) create mode 100644 meta/recipes-core/sysvinit/sysvinit-inittab/inittab create mode 100644 meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb delete mode 100644 meta/recipes-core/sysvinit/sysvinit/inittab diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab/inittab b/meta/recipes-core/sysvinit/sysvinit-inittab/inittab new file mode 100644 index 000..6abbdf4 --- /dev/null +++ b/meta/recipes-core/sysvinit/sysvinit-inittab/inittab @@ -0,0 +1,30 @@ +# /etc/inittab: init(8) configuration. +# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ + +# The default runlevel. +id:5:initdefault: + +# Boot-time system configuration/initialization script. +# This is run first except when booting in emergency (-b) mode. +si::sysinit:/etc/init.d/rcS + +# What to do in single-user mode. +~~:S:wait:/sbin/sulogin + +# /etc/init.d executes the S and K scripts upon change +# of runlevel. +# +# Runlevel 0 is halt. +# Runlevel 1 is single-user. +# Runlevels 2-5 are multi-user. +# Runlevel 6 is reboot. + +l0:0:wait:/etc/init.d/rc 0 +l1:1:wait:/etc/init.d/rc 1 +l2:2:wait:/etc/init.d/rc 2 +l3:3:wait:/etc/init.d/rc 3 +l4:4:wait:/etc/init.d/rc 4 +l5:5:wait:/etc/init.d/rc 5 +l6:6:wait:/etc/init.d/rc 6 +# Normally not reached, but fallthrough in case of emergency. +z6:6:respawn:/sbin/sulogin diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb new file mode 100644 index 000..4e57b5a --- /dev/null +++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb @@ -0,0 +1,55 @@ +DESCRIPTION = Inittab for sysvinit +LICENSE = GPLv2+ +LIC_FILES_CHKSUM = file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ + file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4 + +PR = r5 + +# Need the whole source for the license checks +SRC_URI = http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV}.tar.bz2 \ + file://inittab + +SRC_URI[md5sum] = 6eda8a97b86e0a6f59dabbf25202aa6f +SRC_URI[sha256sum] = 60bbc8c1e1792056e23761d22960b30bb13eccc2cabff8c7310a01f4d5df1519 + +S = ${WORKDIR}/sysvinit-${PV} + +do_install() { + install -d ${D}${sysconfdir} +install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab +if [ ! -z ${SERIAL_CONSOLE} ]; then +echo S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE} ${D}${sysconfdir}/inittab +fi +if [ ${USE_VT} = 1 ]; then +cat EOF ${D}${sysconfdir}/inittab +# ${base_sbindir}/getty invocations for the runlevels. +# +# The id field MUST be the same as the last +# characters of the device (after tty). +# +# Format: +# id:runlevels:action:process +# + +EOF + +for n in ${SYSVINIT_ENABLED_GETTYS} +do +echo $n:2345:respawn:${base_sbindir}/getty 38400 tty$n ${D}${sysconfdir}/inittab +done +echo ${D}${sysconfdir}/inittab +fi +} + +# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. +# Set PACKAGE_ARCH appropriately. +PACKAGE_ARCH = ${MACHINE_ARCH} + +FILES_${PN} = ${sysconfdir}/inittab +CONFFILES_${PN} = ${sysconfdir}/inittab + +USE_VT ?= 1 +SYSVINIT_ENABLED_GETTYS ?= 1 + + + diff --git a/meta/recipes-core/sysvinit/sysvinit/inittab b/meta/recipes-core/sysvinit/sysvinit/inittab deleted file mode 100644 index 6abbdf4..000 --- a/meta/recipes-core/sysvinit/sysvinit/inittab +++ /dev/null @@ -1,30 +0,0 @@ -# /etc/inittab: init(8) configuration. -# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ - -# The default runlevel. -id:5:initdefault: - -# Boot-time system configuration/initialization script. -# This is run first except when booting in emergency (-b) mode. -si::sysinit:/etc/init.d/rcS - -# What to do in single-user mode. -~~:S:wait:/sbin/sulogin - -# /etc/init.d executes the S and K scripts upon change -# of runlevel. -# -# Runlevel 0 is halt. -# Runlevel 1 is single-user. -# Runlevels 2-5 are multi-user. -# Runlevel 6 is reboot. - -l0:0:wait:/etc/init.d/rc 0 -l1:1:wait:/etc/init.d/rc 1 -l2:2:wait:/etc/init.d/rc 2 -l3:3:wait:/etc/init.d/rc 3 -l4:4:wait:/etc/init.d/rc 4 -l5:5:wait:/etc/init.d/rc 5 -l6:6:wait:/etc/init.d/rc 6 -# Normally not reached, but fallthrough in case of emergency. -z6:6:respawn:/sbin/sulogin diff --git a/meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb
Re: [OE-core] [PATCH 2/2] eglibc: migrate configurability from oe
On 2011年06月08日 14:25, Koen Kooi wrote: Op 8 jun 2011, om 03:45 heeft Kang Kai het volgende geschreven: On 2011年06月07日 17:48, Koen Kooi wrote: Op 7 jun 2011, om 11:42 heeft Kang Kai het volgende geschreven: From: Kang Kaikai.k...@windriver.com Migrate configurability from oe, try to shrink minimal image size Update to get eglibc configuration options from DISTRO_FEATURES and enable them. All the options are enabled by default. Uncomment the line in conf/local.extended.conf to define DISTRO_FEATURES, so put what options you want to enable there. Signed-off-by: Kang Kaikai.k...@windriver.com --- meta/conf/distro/include/default-distrovars.inc|8 ++- .../eglibc-2.13-fix-macro-RTLD_DEBUG.patch | 20 ++ meta/recipes-core/eglibc/eglibc-options.inc| 62 meta/recipes-core/eglibc/eglibc.inc|6 ++ meta/recipes-core/eglibc/eglibc_2.13.bb|4 +- 5 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-core/eglibc/eglibc-2.13/eglibc-2.13-fix-macro-RTLD_DEBUG.patch create mode 100644 meta/recipes-core/eglibc/eglibc-options.inc diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 4b68a0a..16ac681 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc @@ -10,7 +10,13 @@ LIMIT_BUILT_LOCALES ?= POSIX en_US en_GB ENABLE_BINARY_LOCALE_GENERATION ?= 1 LOCALE_UTF8_ONLY ?= 0 -DISTRO_FEATURES ?= alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci +DISTRO_FEATURES ?= alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci \ + libc-ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ + libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ + libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code \ + libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \ + libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ + libc-posix-wchar-io Hi Koen, I think a seperate DISTRO_LIBC_FEATURES var would be cleaner and easier to override. I used DISTRO_FEATURES_EGLIBC before, but it didn't make Richard happy. :) So how does one easily override LIBC features without touching other features? That is why use libc-spawn not spawn itself. ___ 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] eglibc: migrate configurability from oe
On Wed, Jun 08, 2011 at 02:35:18PM +0800, Kang Kai wrote: On 2011年06月08日 14:25, Koen Kooi wrote: Op 8 jun 2011, om 03:45 heeft Kang Kai het volgende geschreven: On 2011年06月07日 17:48, Koen Kooi wrote: Op 7 jun 2011, om 11:42 heeft Kang Kai het volgende geschreven: From: Kang Kaikai.k...@windriver.com Migrate configurability from oe, try to shrink minimal image size Update to get eglibc configuration options from DISTRO_FEATURES and enable them. All the options are enabled by default. Uncomment the line in conf/local.extended.conf to define DISTRO_FEATURES, so put what options you want to enable there. Signed-off-by: Kang Kaikai.k...@windriver.com --- meta/conf/distro/include/default-distrovars.inc|8 ++- .../eglibc-2.13-fix-macro-RTLD_DEBUG.patch | 20 ++ meta/recipes-core/eglibc/eglibc-options.inc| 62 meta/recipes-core/eglibc/eglibc.inc|6 ++ meta/recipes-core/eglibc/eglibc_2.13.bb|4 +- 5 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-core/eglibc/eglibc-2.13/eglibc-2.13-fix-macro-RTLD_DEBUG.patch create mode 100644 meta/recipes-core/eglibc/eglibc-options.inc diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 4b68a0a..16ac681 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc @@ -10,7 +10,13 @@ LIMIT_BUILT_LOCALES ?= POSIX en_US en_GB ENABLE_BINARY_LOCALE_GENERATION ?= 1 LOCALE_UTF8_ONLY ?= 0 -DISTRO_FEATURES ?= alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci +DISTRO_FEATURES ?= alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci \ +libc-ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ +libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ +libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-libm-big libc-locales libc-locale-code \ +libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \ +libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ +libc-posix-wchar-io Hi Koen, I think a seperate DISTRO_LIBC_FEATURES var would be cleaner and easier to override. I used DISTRO_FEATURES_EGLIBC before, but it didn't make Richard happy. :) So how does one easily override LIBC features without touching other features? That is why use libc-spawn not spawn itself. I agree with koen, when distro wants to keep all default libc-* but alter other DISTRO_FEATURES it has to list all libc-* in it's own config. IMHO DISTRO_FEATURES_EGLIBC had wrong only suffix as it's not _EGLIBC specific, DISTRO_FEATURES_LIBC or proposed DISTRO_LIBC_FEATURES will allow distributions to override it like this: DISTRO_FEATURES = foo bar ${DISTRO_FEATURES_LIBC} which is much better then 6 lines of libc-* features which need to resync when someone adds new feature with new *libc version. Regards, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com pgpCth73AjFC3.pgp Description: PGP signature ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] pkg-config sometimes return unexpanded variables
On Tue, Jun 07, 2011 at 08:28:07AM +0200, Martin Jansa wrote: My webkit-efl build fails with: -- checking for module 'cairo' -- found cairo, version 1.10.0 CMake Error at /OE/shr-core/tmp/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:104 (set): Syntax error in cmake code at �:104 when parsing string ;/OE/shr-core/tmp/sysroots/nokia900\{libdir\} Invalid escape sequence \{ and it's because pkg-config itself returns unexpanded variable found it only with --libs-only-L and --static params $ pkg-config --libs-only-L --static cairo -L/OE/shr-core/tmp/sysroots/nokia900\{libdir\} $ pkg-config --version 0.25 I'm not sure if it's pkg-config fault worth reporting upstream or something wrong in our sysroot, but .pc looks sane (and it's the same as with oe.dev): prefix=/usr exec_prefix=/usr libdir=/usr/lib includedir=/usr/include Name: cairo Description: Multi-platform 2D graphics library Version: 1.10.0 Requires.private: gobject-2.0 glib-2.0pixman-1 = 0.18.4 fontconfig = 2.2.95 freetype2 = 9.7.3 libpng xrender = 0.6 x11 Libs: -L${libdir} -lcairo Libs.private: -lz -lz Cflags: -I${includedir}/cairo I haven't seen this with pkg-config-0.23 from oe.dev and there is 0.26 relase available upstream, but looking on changelog it doesn't look like resolved there. Have anyone seen this too? Regards, More info: oe.dev has 0.23 with one extra patch http://git.openembedded.org/cgit.cgi/openembedded/tree/recipes/pkgconfig/pkgconfig-0.23/sysrootfix.patch and returns nothing $ pkg-config --libs-only-L --static cairo if I downgrade SRCREV used in oe-core pkgconfig_git to http://cgit.freedesktop.org/pkg-config/commit/?id=515745885f68fcb121197e1d5e43c3ee77edce3f which coresponds to 0.23 release I still get libdir but this time without backslashes (and cmake doesn't fail - webkit-efl builds fine) $ pkg-config --libs-only-L --static cairo -L/OE/shr-core/tmp/sysroots/nokia900{libdir} if I add sysrootfix.patch from oe.dev it's still the same (not sure why oe.dev returns nothing). backslash to {libdir} is added by this commit http://cgit.freedesktop.org/pkg-config/commit/?id=69a7eaa6763bb0920e2b539fffbad51348d94deb and -L/OE/shr-core/tmp/sysroots/nokia900\{libdir\} is still returned by latest upstream version 0.26 Upstream dropped support for legacy -config scripts and embedded glib http://cgit.freedesktop.org/pkg-config/commit/?id=03bd4a55287cd9492c5fde6adb1ac81a37b75cce http://cgit.freedesktop.org/pkg-config/commit/?id=99964eddb5935173fcedfc793e762d7dc7d01bba which makes pkgconfig_0.26.bb much smaller, but also causes dependency loop (at least for glib-2.0_git - 2.29.3 from meta-oe) pkg-config-native - glib-2.0-native - python-argparse-native - python-setuptools-native - python-native - openssl-native - pkg-config-native So that's another issue we have to resolve somehow if it gets fixed upstream and we would need to upgrade pkgconfig version. I'm not sure if I'll find time to work on this in next few weeks, so feel free to take it over.. Regards, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com pgpnd1lYl3JcG.pgp Description: PGP signature ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1][RFC] libc locale split
Hi Richard and Saul, This pull request split the libc-locale from libc recipe, which can improve the build performance. Please help to review and pull. Some test results: CPU: Intel i7 870 CPU. Memory: 4G. Image: core-image-sato. Machine: qemux86. W/o the patch: real111m52.954s user367m56.610s sys 49m20.770s W/ the patch: real105m25.436s user372m48.040s sys 51m23.950s There are about 6% performance gain. Thanks, Dongxiao The following changes since commit 5af197b55a4b779f1ec93186f0723026949ba2b5: cache: Implement multiple extra cache fields request support (2011-06-07 22:40:01 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib dxu4/libc-locale http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/libc-locale Dongxiao Xu (1): libc-locale: split locale handling from libc recipe. meta/classes/libc-common.bbclass | 23 meta/classes/libc-package.bbclass | 24 meta/conf/distro/include/tclibc-eglibc.inc | 12 ++-- meta/conf/distro/include/tclibc-glibc.inc | 12 ++-- meta/recipes-core/eglibc/eglibc-initial_2.13.bb|4 ++ meta/recipes-core/eglibc/eglibc-locale_2.13.bb | 56 meta/recipes-core/eglibc/eglibc-package.inc| 32 +-- meta/recipes-core/eglibc/eglibc.inc|5 +- meta/recipes-core/eglibc/eglibc_2.13.bb| 12 meta/recipes-core/glibc/glibc-initial_2.10.1.bb|4 ++ meta/recipes-core/glibc/glibc-locale_2.10.1.bb | 48 + meta/recipes-core/glibc/glibc-package.inc | 31 ++- meta/recipes-core/glibc/glibc.inc |2 +- meta/recipes-core/glibc/glibc_2.10.1.bb| 12 .../meta/external-csl-toolchain_2008q3-72.bb |3 +- meta/recipes-core/meta/external-poky-toolchain.bb |2 +- meta/recipes-gnome/gtk+/gtk+.inc |2 +- 17 files changed, 187 insertions(+), 97 deletions(-) create mode 100644 meta/classes/libc-common.bbclass create mode 100644 meta/recipes-core/eglibc/eglibc-locale_2.13.bb create mode 100644 meta/recipes-core/glibc/glibc-locale_2.10.1.bb ___ 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.
On Wed, 2011-06-08 at 17:08 +0800, Dongxiao Xu wrote: *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. This commit moves locale handling into a separate recipe *libc-locale. Can you quantify the effect on build performance a bit? If I understand correctly, you're basically saying that the goal is to increase parallelism. Does that cause reduced performance for people running with few threads? For example, it would be interesting to know what the before and after times are for some representative image build using (say) BB_NUMBER_THREADS=1 and BB_NUMBER_THREADS=16. Also, see below. diff --git a/meta/conf/distro/include/tclibc-eglibc.inc b/meta/conf/distro/include/tclibc-eglibc.inc index a4c648e..8997d9e 100644 --- a/meta/conf/distro/include/tclibc-eglibc.inc +++ b/meta/conf/distro/include/tclibc-eglibc.inc @@ -10,7 +10,7 @@ TARGET_OS_powerpc = linux${@['','-gnuspe'][bb.data.getVar('BASE_PACKAGE_ARCH',d # Add glibc overrides to the overrides for eglibc. OVERRIDES .= :libc-glibc -PREFERRED_PROVIDER_virtual/libiconv ?= eglibc +PREFERRED_PROVIDER_virtual/libiconv ?= eglibc-locale That looks a bit strange. Is this really correct? - eglibc-localedata-i18n \ - eglibc-gconv-ibm850 \ - eglibc-gconv-cp1252 \ - eglibc-gconv-iso8859-1 \ - eglibc-gconv-iso8859-15 \ + eglibc-locale-localedata-i18n \ + eglibc-locale-gconv-ibm850 \ + eglibc-locale-gconv-cp1252 \ + eglibc-locale-gconv-iso8859-1 \ + eglibc-locale-gconv-iso8859-15 \ This kind of thing is definitely not very desirable. Can you find a way to keep the output package names the same? p. ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] bitbake -s broken?
Hi, Apart from -b being broken as I reported earlier -s seems to be broken as well now: koen@dominion:/OE/tentacle/sources/meta-openembedded/meta-oe/recipes-gnome$ MACHINE=beagleboard bitbake -s | head -n10 Loading cache...done. Loaded 1622 entries from dependency cache. WARNING: No bb files matched BBFILE_PATTERN_htc-layer '^/OE/tentacle/sources/meta-smartphone/meta-htc/' Package Name Latest Version Preferred Version == = bb.cache.CoreRecipeInfo object at 0x3c96750 :171-r3 bb.cache.CoreRecipeInfo object at 0x3c96710 :2.8.0-r1 bb.cache.CoreRecipeInfo object at 0x3c96750 :1.0.0c-r13.0 bb.cache.CoreRecipeInfo object at 0x3c967101:1.0.4-r2 regards, Koen ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [poky] [PATCH 0/2] ghostscript libxml-simple-perl: fix compile failures
Sounding like a broken record here, but these kind of patches need to get sent to the oe-core list, not the poky list. Op 8 jun 2011, om 12:49 heeft Kang Kai het volgende geschreven: From: Kang Kai kai.k...@windriver.com Hi Saul, These 2 patches are fix for ghostscript and libxml-simple-perl. Update SRC_URI for ghostscript to avoid native package affected by build os. Fix libxml-simple-perl [Yocto 1132]. Regards, The following changes since commit 7f34cd1eb2a459709006ae985a14decd4d2152e6: tzcode: Update to 2011g (2011-06-06 15:58:42 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib.git kangkai/bugfix http://git.pokylinux.org/cgit.cgi//log/?h=kangkai/bugfix Kang Kai (2): ghostscript: update SRC_URI libxml-simple-perl: update EXTRA_PERLFLAGS .../perl/libxml-simple-perl_2.18.bb|4 ++-- .../ghostscript/ghostscript_9.02.bb|7 +-- 2 files changed, 7 insertions(+), 4 deletions(-) -- 1.7.5.1.300.gc565c ___ poky mailing list p...@yoctoproject.org https://lists.yoctoproject.org/listinfo/poky ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/1] Fix ip route get
The following changes since commit 30101d4153aa8e116892063933b868d325bdd79c: distro tracking: Manual Updates (2011-06-06 23:51:26 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/iproute-2.6.37 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/iproute-2.6.37 Paul Eggleton (1): iproute2: update to 2.6.37 .../configure-cross.patch |0 .../{iproute2_2.6.35.bb = iproute2_2.6.37.bb} |4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-connectivity/iproute2/{iproute2-2.6.35 = iproute2-2.6.37}/configure-cross.patch (100%) rename meta/recipes-connectivity/iproute2/{iproute2_2.6.35.bb = iproute2_2.6.37.bb} (50%) -- 1.7.4.1 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] iproute2: update to 2.6.37
Fixes ip route get not producing any output (a regression in 2.6.35). See http://marc.info/?l=linux-netdevm=129442470405398w=2 for a list of other changes in this new release. Fixes [YOCTO #1006] (reopened) Signed-off-by: Paul Eggleton paul.eggle...@linux.intel.com --- .../configure-cross.patch |0 .../{iproute2_2.6.35.bb = iproute2_2.6.37.bb} |4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-connectivity/iproute2/{iproute2-2.6.35 = iproute2-2.6.37}/configure-cross.patch (100%) rename meta/recipes-connectivity/iproute2/{iproute2_2.6.35.bb = iproute2_2.6.37.bb} (50%) diff --git a/meta/recipes-connectivity/iproute2/iproute2-2.6.35/configure-cross.patch b/meta/recipes-connectivity/iproute2/iproute2-2.6.37/configure-cross.patch similarity index 100% rename from meta/recipes-connectivity/iproute2/iproute2-2.6.35/configure-cross.patch rename to meta/recipes-connectivity/iproute2/iproute2-2.6.37/configure-cross.patch diff --git a/meta/recipes-connectivity/iproute2/iproute2_2.6.35.bb b/meta/recipes-connectivity/iproute2/iproute2_2.6.37.bb similarity index 50% rename from meta/recipes-connectivity/iproute2/iproute2_2.6.35.bb rename to meta/recipes-connectivity/iproute2/iproute2_2.6.37.bb index 93ae06c..337f93f 100644 --- a/meta/recipes-connectivity/iproute2/iproute2_2.6.35.bb +++ b/meta/recipes-connectivity/iproute2/iproute2_2.6.37.bb @@ -5,5 +5,5 @@ PR = r0 SRC_URI = http://developer.osdl.org/dev/iproute2/download/${P}.tar.bz2 \ file://configure-cross.patch -SRC_URI[md5sum] = b0f281b3124bf04669e18f5fe16d4934 -SRC_URI[sha256sum] = 8ab2f47e129925fb8acb09421008d07aeafa01b2ddd1fcba4a056de079f090a3 +SRC_URI[md5sum] = 9774ff9d74ebd301bf56bd8d74473786 +SRC_URI[sha256sum] = 71754f8ad68facdb97d0cb9d7a298dc7f1ba069370bce902b661e06959f264e3 -- 1.7.4.1 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH] initramfs-live-install: remove allarch inherit
initramfs-live-install is only compatible with i.86|x86_64 so shouldn't inherit 'allarch'. This removes it. More specifically, commit 52295fa3deef3b0374b99829626d524cefae6001 (Improve handling of 'all' architecture recipes and their interaction with sstate) sets TARGET_ARCH which due to the COMPATIBLE_HOST setting in the recipe causes it to be skipped and gives the following error for any -live build: NOTE: Resolving any missing task queue dependencies NOTE: Runtime target 'initramfs-live-install' is unbuildable, removing... Missing or unbuildable dependency chain was: ['initramfs-live-install'] ERROR: Required build target 'core-image-sato-live' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-sato-live', 'core-ima\ ge-minimal-initramfs', 'initramfs-live-install'] ERROR: Nothing RPROVIDES 'initramfs-live-install' Signed-off-by: Tom Zanussi tom.zanu...@intel.com --- .../initrdscripts/initramfs-live-install_1.0.bb|2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb index fdda718..6a16f4c 100644 --- a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb +++ b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb @@ -11,8 +11,6 @@ do_install() { install -m 0755 ${WORKDIR}/init-install.sh ${D}/install.sh } -inherit allarch - FILES_${PN} = /install.sh # Alternatives to grub need adding for other arch support -- 1.7.0.4 ___ 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.
On Wed, 2011-06-08 at 10:36 +0100, Phil Blundell wrote: On Wed, 2011-06-08 at 17:08 +0800, Dongxiao Xu wrote: *libc's do_package will cost a lot of time due to the locale handing, which may delay the other recipe's do_package task and affect the build performance. This commit moves locale handling into a separate recipe *libc-locale. Can you quantify the effect on build performance a bit? If I understand correctly, you're basically saying that the goal is to increase parallelism. Does that cause reduced performance for people running with few threads? One of the side effects of debian.bbclass is that it requires all dependencies to do_package before any package itself can do_package so any renaming of dependencies can be accounted for. There is an issue if do_package for libc takes an age as it holds up any other tasks from writing out packages. Pretty much most things depend on libc. This patch therefore splits it into two stages and means that packaging of things depending on libc can happen sooner thereby increasing the potential parallelism of the packaging stages of builds. There is a very clear step on the bootchart graphs of builds I made showing this. I'm not sure how this would reduce performance of builds of a few threads, it should just make better use of any available spare processing capacity throughout the build. Cheers, Richard ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] Autobuilder DOWNTIME *IP Addr Change*
We will be bringing the Autobuilder down and it will be changing IP address around 10:15 to 11:15 today, this will mean that the PREMIRROR and primary MIRROR will be offline for that period. We have reset the TTL to 5 minutes, but you may have other DNS caches so please be aware of this change. Any updates will be provided in #yocto IRC -- Sau! Saul Wold Yocto Component Wrangler @ Intel Yocto Project / Poky Build System ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/2] pseudo: Update pseudo to 1.1.1 version
Update both the core and pseudo_git packages to the latest 1.1.1 verison. This fixes an issues where the call system() was not wrapped. This could lead to issues where certain spawned commands broke out of a pseudo-chroot and created files in the wrong place. Also the update the 1.0 - 1.1.1 adds additional capabilities such as beginning support for MacOS X. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- meta/recipes-devtools/pseudo/pseudo.inc| 12 ++-- .../recipes-devtools/pseudo/pseudo/oe-config.patch | 58 meta/recipes-devtools/pseudo/pseudo_1.0.bb |9 --- meta/recipes-devtools/pseudo/pseudo_1.1.1.bb | 10 meta/recipes-devtools/pseudo/pseudo_git.bb |7 ++- 5 files changed, 78 insertions(+), 18 deletions(-) create mode 100644 meta/recipes-devtools/pseudo/pseudo/oe-config.patch delete mode 100644 meta/recipes-devtools/pseudo/pseudo_1.0.bb create mode 100644 meta/recipes-devtools/pseudo/pseudo_1.1.1.bb diff --git a/meta/recipes-devtools/pseudo/pseudo.inc b/meta/recipes-devtools/pseudo/pseudo.inc index a458dcc..78191bb 100644 --- a/meta/recipes-devtools/pseudo/pseudo.inc +++ b/meta/recipes-devtools/pseudo/pseudo.inc @@ -18,8 +18,8 @@ NO32LIBS ??= 0 # Compile for the local machine arch... do_compile () { - ${S}/configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=${SITEINFO_BITS} - oe_runmake 'LIB=lib/pseudo/lib$(MARK64)' + ${S}/configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib${SITEINFO_BITS} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=${SITEINFO_BITS} + oe_runmake } # Two below are the same @@ -28,8 +28,8 @@ do_compile () { do_compile_prepend_virtclass-native () { if [ ${SITEINFO_BITS} == 64 -a -e /usr/include/gnu/stubs-32.h -a ${PN} == pseudo-native -a ${NO32LIBS} != 1 ]; then # We need the 32-bit libpseudo on a 64-bit machine... - ./configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 - oe_runmake 'CFLAGS=-m32' 'LIB=lib/pseudo/lib' libpseudo + ./configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 + oe_runmake libpseudo # prevent it from removing the lib, but remove everything else make 'LIB=foo' distclean fi @@ -38,8 +38,8 @@ do_compile_prepend_virtclass-native () { do_compile_prepend_virtclass-nativesdk () { if [ ${SITEINFO_BITS} == 64 -a -e /usr/include/gnu/stubs-32.h -a ${PN} == pseudo-native -a ${NO32LIBS} != 1 ]; then # We need the 32-bit libpseudo on a 64-bit machine... - ./configure --prefix=${prefix} --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 - oe_runmake 'CFLAGS=-m32' 'LIB=lib/pseudo/lib' libpseudo + ./configure --prefix=${prefix} --libdir=${prefix}/lib/pseudo/lib --with-sqlite=${STAGING_DIR_TARGET}${exec_prefix} --bits=32 + oe_runmake libpseudo # prevent it from removing the lib, but remove everything else make 'LIB=foo' distclean fi diff --git a/meta/recipes-devtools/pseudo/pseudo/oe-config.patch b/meta/recipes-devtools/pseudo/pseudo/oe-config.patch new file mode 100644 index 000..8b64c47 --- /dev/null +++ b/meta/recipes-devtools/pseudo/pseudo/oe-config.patch @@ -0,0 +1,58 @@ +configure: Fix configuration to match OE-Core requirements + +In OE-Core we need to be able to configure for both 32-bit and 64-bit libpseudo +libraries. In order to avoid some complex manipulations, we adjust the configure +and Makefile to facilitate this. + +Upstream-Status: Submitted + +Signed-off-by: Mark Hatle mark.ha...@windriver.com + +diff --git a/Makefile.in b/Makefile.in +index 6c57d43..342d066 100644 +--- a/Makefile.in b/Makefile.in +@@ -27,7 +27,7 @@ MARK64=@MARK64@ + RPATH=@RPATH@ + VERSION=1.1.1 + +-LIB=$(shell basename $(LIBDIR)) ++LIB=@LIB@ + BIN=bin + LOCALSTATE=var/pseudo + BINDIR=$(PREFIX)/$(BIN) +diff --git a/configure b/configure +index 9a480fb..bef419d 100755 +--- a/configure b/configure +@@ -80,14 +80,18 @@ if [ -z $opt_prefix ]; then + usage + fi + +-if [ -n $opt_bits ] [ -n $opt_libdir ]; then +-echo 2 Can not specify both --libdir and --bits +-exit 1 +-fi + if [ -z $opt_libdir ]; then + opt_libdir=$opt_prefix/lib$opt_mark64 + fi + ++# If the libdir was passed in as part of the prefix, use it to ++# determine the lib chunk... ++# Otherwise just use the basename. ++opt_lib=${opt_libdir/$opt_prefix\//} ++if [ $opt_lib = $opt_libdir ]; then ++opt_lib=`basename $opt_libdir` ++fi ++ + if [ ! -f ${opt_sqlite}/include/sqlite3.h ]; then + echo 2 SQLite3 headers not found in at ${opt_sqlite}/include/sqlite3.h. Please check that SQLite3 and SQLite3 headers are installed. + exit 1 +@@ -107,6 +111,7 @@ fi
[OE-core] [PATCH 0/2] pseudo: Update pseudo to 1.1.1 version V2
Update pseudo to latest release version. -- second version of the patches This has been tested with an core-minimal-image, as well as existing pseudo tests outside of oe-core. Version 2 corrects a problem w/ 32-bit hosts. The following changes since commit 30101d4153aa8e116892063933b868d325bdd79c: distro tracking: Manual Updates (2011-06-06 23:51:26 -0700) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/pseudo http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/pseudo Mark Hatle (2): pseudo: Update pseudo to 1.1.1 version distro_tracking_fields.inc: add pseudo .../conf/distro/include/distro_tracking_fields.inc |6 ++ meta/recipes-devtools/pseudo/pseudo.inc| 12 ++-- .../recipes-devtools/pseudo/pseudo/oe-config.patch | 58 meta/recipes-devtools/pseudo/pseudo_1.0.bb |9 --- meta/recipes-devtools/pseudo/pseudo_1.1.1.bb | 10 meta/recipes-devtools/pseudo/pseudo_git.bb |7 ++- 6 files changed, 84 insertions(+), 18 deletions(-) create mode 100644 meta/recipes-devtools/pseudo/pseudo/oe-config.patch delete mode 100644 meta/recipes-devtools/pseudo/pseudo_1.0.bb create mode 100644 meta/recipes-devtools/pseudo/pseudo_1.1.1.bb -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/2] distro_tracking_fields.inc: add pseudo
Add pseudo to tracking, with me as the maintainer. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../conf/distro/include/distro_tracking_fields.inc |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc index 38e0c4d..53dad27 100644 --- a/meta/conf/distro/include/distro_tracking_fields.inc +++ b/meta/conf/distro/include/distro_tracking_fields.inc @@ -5754,3 +5754,9 @@ RECIPE_STATUS_pn-gettext = red RECIPE_LATEST_VERSION_pn-gettext = 0.18.1.1 RECIPE_LAST_UPDATE_pn-gettext = Jun 6, 2010 RECIPE_MANUAL_CHECK_DATE_pn-gettext = Jun 7, 2011 + +RECIPE_STATUS_pn-pseudo = green +RECIPE_LATEST_VERSION_pn-pseudo = 1.1.1 +RECIPE_LAST_UPDATE_pn-pseudo = June 06, 2011 +RECIPE_MAINTAINER_pn-pseudo = Mark Hatle mark.ha...@windriver.com +RECIPE_COMMENTS_pn-pseudo = Yocto Project maintained -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] util-linux: package agetty seperately
On 06/06/2011 01:39 AM, Koen Kooi wrote: Some packages like systemd only want agetty to spawn a console and not drag in all of util-linux just for that. Signed-off-by: Koen Kooik...@dominion.thruhere.net --- meta/recipes-core/util-linux/util-linux.inc |3 ++- meta/recipes-core/util-linux/util-linux_2.19.1.bb |2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 71601dc..4b36100 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc @@ -25,7 +25,7 @@ SRC_URI = ${KERNELORG_MIRROR}/linux/utils/util-linux-ng/v${MAJOR_VERSION}/util- file://make_include \ -PACKAGES =+ util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \ +PACKAGES =+ util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfdisk \ util-linux-swaponoff util-linux-losetup util-linux-umount \ util-linux-mount util-linux-readprofile util-linux-libblkid \ util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \ @@ -37,6 +37,7 @@ EXTRA_OECONF = --disable-use-tty-group --disable-makeinstall-chown --enable-elv FILES_${PN}-doc += ${datadir}/getopt/getopt-*.* +FILES_util-linux-agetty = ${base_sbindir}/agetty FILES_util-linux-fdisk = ${base_sbindir}/fdisk.${PN} FILES_util-linux-cfdisk = ${base_sbindir}/cfdisk FILES_util-linux-sfdisk = ${sbindir}/sfdisk diff --git a/meta/recipes-core/util-linux/util-linux_2.19.1.bb b/meta/recipes-core/util-linux/util-linux_2.19.1.bb index 7fe7497..40183c9 100644 --- a/meta/recipes-core/util-linux/util-linux_2.19.1.bb +++ b/meta/recipes-core/util-linux/util-linux_2.19.1.bb @@ -1,5 +1,5 @@ MAJOR_VERSION = 2.19 -PR = r0 +PR = r1 require util-linux.inc # note that `lscpu' is under GPLv3+ Merged into oe-core Thanks Sau! ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] sqlite: remove dependency on tcl-native
On 06/03/2011 03:40 AM, Phil Blundell wrote: Older versions of sqlite required tclsh at compile time but this is no longer the case with recent 3.7.x. See http://lists.linuxtogo.org/pipermail/openembedded-core/2011-June/003653.html Signed-off-by: Phil Blundellph...@gnu.org --- meta/recipes-support/sqlite/sqlite3.inc |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/sqlite/sqlite3.inc b/meta/recipes-support/sqlite/sqlite3.inc index d8ef8dc..939df14 100644 --- a/meta/recipes-support/sqlite/sqlite3.inc +++ b/meta/recipes-support/sqlite/sqlite3.inc @@ -2,8 +2,8 @@ DESCRIPTION = An Embeddable SQL Database Engine HOMEPAGE = http://www.sqlite.org; SECTION = libs PRIORITY = optional -DEPENDS = readline ncurses tcl-native -DEPENDS_virtclass-native = tcl-native +DEPENDS = readline ncurses +DEPENDS_virtclass-native = LICENSE = PD inherit autotools pkgconfig Merged into oe-core Thanks Sau! ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/1] distro tracking updates
On 06/04/2011 11:14 AM, Scott Garman wrote: This pull request updates some distro tracking fields and should quiet some manual check warnings the Yocto package reporting system has been sending me recently. The following changes since commit 6b5d323b6c8960a0999dbafa0422fe127fd0fa97: event: don't catch systemexit from handler execution (2011-06-02 23:58:05 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib sgarman/version-checks http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/version-checks Scott Garman (1): distro-tracking: updates .../conf/distro/include/distro_tracking_fields.inc | 34 +++ 1 files changed, 20 insertions(+), 14 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core Merged into oe-core Thanks Sau! ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/4] Recipe upgrades: openssh, grep, tar
On 06/05/2011 09:49 PM, Scott Garman wrote: Good day, Here are some straightforward recipe upgrades for openssh, grep, and tar. Build tested on all five qemu MACHINEs we support. Runtime tested on qemuarm. The following changes since commit 6b5d323b6c8960a0999dbafa0422fe127fd0fa97: event: don't catch systemexit from handler execution (2011-06-02 23:58:05 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib sgarman/recipe-upgrades http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/recipe-upgrades Scott Garman (4): openssh: upgrade to v5.8p2 grep: upgrade to v2.8 tar: upgrade to v1.26 distro-tracking: update openssh, tar, and grep .../conf/distro/include/distro_tracking_fields.inc | 26 ++-- .../openssh/{openssh-5.6p1 = openssh-5.8p2}/init |0 .../{openssh-5.6p1 = openssh-5.8p2}/nostrip.patch |0 .../{openssh-5.6p1 = openssh-5.8p2}/ssh_config|0 .../{openssh-5.6p1 = openssh-5.8p2}/sshd_config |0 .../openssh/{openssh_5.6p1.bb = openssh_5.8p2.bb} |9 --- .../grep/{grep_2.7.bb = grep_2.8.bb} |7 +++-- ...tive_1.25.bb = tar-replacement-native_1.26.bb} |0 meta/recipes-extended/tar/tar.inc |1 + meta/recipes-extended/tar/tar_1.25.bb |9 --- meta/recipes-extended/tar/tar_1.26.bb |9 +++ 11 files changed, 32 insertions(+), 29 deletions(-) rename meta/recipes-connectivity/openssh/{openssh-5.6p1 = openssh-5.8p2}/init (100%) rename meta/recipes-connectivity/openssh/{openssh-5.6p1 = openssh-5.8p2}/nostrip.patch (100%) rename meta/recipes-connectivity/openssh/{openssh-5.6p1 = openssh-5.8p2}/ssh_config (100%) rename meta/recipes-connectivity/openssh/{openssh-5.6p1 = openssh-5.8p2}/sshd_config (100%) rename meta/recipes-connectivity/openssh/{openssh_5.6p1.bb = openssh_5.8p2.bb} (93%) rename meta/recipes-extended/grep/{grep_2.7.bb = grep_2.8.bb} (84%) rename meta/recipes-extended/tar/{tar-replacement-native_1.25.bb = tar-replacement-native_1.26.bb} (100%) delete mode 100644 meta/recipes-extended/tar/tar_1.25.bb create mode 100644 meta/recipes-extended/tar/tar_1.26.bb ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core Pulled into oe-core Thanks Sau! ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH 0/1] Fix ip route get
On 06/08/2011 06:44 AM, Paul Eggleton wrote: The following changes since commit 30101d4153aa8e116892063933b868d325bdd79c: distro tracking: Manual Updates (2011-06-06 23:51:26 -0700) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/iproute-2.6.37 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/iproute-2.6.37 Paul Eggleton (1): iproute2: update to 2.6.37 .../configure-cross.patch |0 .../{iproute2_2.6.35.bb = iproute2_2.6.37.bb} |4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-connectivity/iproute2/{iproute2-2.6.35 = iproute2-2.6.37}/configure-cross.patch (100%) rename meta/recipes-connectivity/iproute2/{iproute2_2.6.35.bb = iproute2_2.6.37.bb} (50%) 2.6.38 is current (and in oe.dev), so why not that one? -- Tom Rini Mentor Graphics Corporation ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 2/2] distro_tracking_fields.inc: add pseudo
Add pseudo to tracking, with me as the maintainer. Signed-off-by: Mark Hatle mark.ha...@windriver.com --- .../conf/distro/include/distro_tracking_fields.inc |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc index 38e0c4d..53dad27 100644 --- a/meta/conf/distro/include/distro_tracking_fields.inc +++ b/meta/conf/distro/include/distro_tracking_fields.inc @@ -5754,3 +5754,9 @@ RECIPE_STATUS_pn-gettext = red RECIPE_LATEST_VERSION_pn-gettext = 0.18.1.1 RECIPE_LAST_UPDATE_pn-gettext = Jun 6, 2010 RECIPE_MANUAL_CHECK_DATE_pn-gettext = Jun 7, 2011 + +RECIPE_STATUS_pn-pseudo = green +RECIPE_LATEST_VERSION_pn-pseudo = 1.1.1 +RECIPE_LAST_UPDATE_pn-pseudo = June 06, 2011 +RECIPE_MAINTAINER_pn-pseudo = Mark Hatle mark.ha...@windriver.com +RECIPE_COMMENTS_pn-pseudo = Yocto Project maintained -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 0/2] pseudo: Update pseudo to 1.1.1 version V3
Hopefully third and final version. The patch that is part of this has been contribed to and reviewed upstream. (Not yet accepted upstream) V3 fixes an issue with building on a 32-bit host. The following changes since commit 30101d4153aa8e116892063933b868d325bdd79c: distro tracking: Manual Updates (2011-06-06 23:51:26 -0700) are available in the git repository at: git://git.pokylinux.org/poky-contrib mhatle/pseudo http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/pseudo Mark Hatle (2): pseudo: Update pseudo to 1.1.1 version distro_tracking_fields.inc: add pseudo .../conf/distro/include/distro_tracking_fields.inc |6 ++ meta/recipes-devtools/pseudo/pseudo.inc| 20 +-- .../recipes-devtools/pseudo/pseudo/oe-config.patch | 58 meta/recipes-devtools/pseudo/pseudo_1.0.bb |9 --- meta/recipes-devtools/pseudo/pseudo_1.1.1.bb | 10 meta/recipes-devtools/pseudo/pseudo_git.bb |7 ++- 6 files changed, 92 insertions(+), 18 deletions(-) create mode 100644 meta/recipes-devtools/pseudo/pseudo/oe-config.patch delete mode 100644 meta/recipes-devtools/pseudo/pseudo_1.0.bb create mode 100644 meta/recipes-devtools/pseudo/pseudo_1.1.1.bb -- 1.7.3.4 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [OE-core] [PATCH] sysvinitL split inittab into it's own recipe
On 06/04/2011 02:21 AM, Koen Kooi wrote: A proper fix for [YOCTO ##1131] Koen, Hate to ask this, but what kind of testing did you do with sysvinit_inittab recipe? I have been chasing down a problem with it failing, thought it was a change I made, so want to check what testing you did with it. Have you done a scratch build in poky, by any chance? Maybe you forgot a dependency or library? here's the failure I got: i586-poky-linux-gcc -march=i586 --sysroot=/intel/poky2/builds/master/tmp/sysroots/qemux86 -Wl,-O1 -Wl,--as-needed sulogin.o-o sulogin | sulogin.o: In function `main': | /intel/poky2/builds/master/tmp/work/qemux86-poky-linux/sysvinit-inittab-2.88dsf-r5/sysvinit-2.88dsf/src/sulogin.c:595: undefined reference to `crypt' | collect2: ld returned 1 exit status | make[1]: *** [sulogin] Error 1 | make[1]: Leaving directory `/intel/poky2/builds/master/tmp/work/qemux86-poky-linux/sysvinit-inittab-2.88dsf-r5/sysvinit-2.88dsf/src' | make: *** [all] Error 2 | ERROR: oe_runmake failed | ERROR: Function 'do_compile' failed (see /intel/poky2/builds/master/tmp/work/qemux86-poky-linux/sysvinit-inittab-2.88dsf-r5/temp/log.do_compile.29128 for further information) | ERROR: Function 'do_compile' failed (see /intel/poky2/builds/master/tmp/work/qemux86-poky-linux/sysvinit-inittab-2.88dsf-r5/temp/log.do_compile.29128 for further information) NOTE: package sysvinit-inittab-2.88dsf-r5: task do_compile: Failed ERROR: Task 7 (/intel/poky/distro/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb, do_compile) failed with exit code '1' Thanks Sau! Signed-off-by:k...@dominion.thruhere.net --- .../recipes-core/sysvinit/sysvinit-inittab/inittab | 30 +++ .../sysvinit/sysvinit-inittab_2.88dsf.bb | 55 meta/recipes-core/sysvinit/sysvinit/inittab| 30 --- meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb | 41 +-- 4 files changed, 86 insertions(+), 70 deletions(-) create mode 100644 meta/recipes-core/sysvinit/sysvinit-inittab/inittab create mode 100644 meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb delete mode 100644 meta/recipes-core/sysvinit/sysvinit/inittab diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab/inittab b/meta/recipes-core/sysvinit/sysvinit-inittab/inittab new file mode 100644 index 000..6abbdf4 --- /dev/null +++ b/meta/recipes-core/sysvinit/sysvinit-inittab/inittab @@ -0,0 +1,30 @@ +# /etc/inittab: init(8) configuration. +# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ + +# The default runlevel. +id:5:initdefault: + +# Boot-time system configuration/initialization script. +# This is run first except when booting in emergency (-b) mode. +si::sysinit:/etc/init.d/rcS + +# What to do in single-user mode. +~~:S:wait:/sbin/sulogin + +# /etc/init.d executes the S and K scripts upon change +# of runlevel. +# +# Runlevel 0 is halt. +# Runlevel 1 is single-user. +# Runlevels 2-5 are multi-user. +# Runlevel 6 is reboot. + +l0:0:wait:/etc/init.d/rc 0 +l1:1:wait:/etc/init.d/rc 1 +l2:2:wait:/etc/init.d/rc 2 +l3:3:wait:/etc/init.d/rc 3 +l4:4:wait:/etc/init.d/rc 4 +l5:5:wait:/etc/init.d/rc 5 +l6:6:wait:/etc/init.d/rc 6 +# Normally not reached, but fallthrough in case of emergency. +z6:6:respawn:/sbin/sulogin diff --git a/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb new file mode 100644 index 000..4e57b5a --- /dev/null +++ b/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb @@ -0,0 +1,55 @@ +DESCRIPTION = Inittab for sysvinit +LICENSE = GPLv2+ +LIC_FILES_CHKSUM = file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ + file://COPYRIGHT;endline=15;md5=349c872e0066155e1818b786938876a4 + +PR = r5 + +# Need the whole source for the license checks +SRC_URI = http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV}.tar.bz2 \ + file://inittab + +SRC_URI[md5sum] = 6eda8a97b86e0a6f59dabbf25202aa6f +SRC_URI[sha256sum] = 60bbc8c1e1792056e23761d22960b30bb13eccc2cabff8c7310a01f4d5df1519 + +S = ${WORKDIR}/sysvinit-${PV} + +do_install() { + install -d ${D}${sysconfdir} +install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab +if [ ! -z ${SERIAL_CONSOLE} ]; then +echo S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE} ${D}${sysconfdir}/inittab +fi +if [ ${USE_VT} = 1 ]; then +catEOF${D}${sysconfdir}/inittab +# ${base_sbindir}/getty invocations for the runlevels. +# +# The id field MUST be the same as the last +# characters of the device (after tty). +# +# Format: +#id:runlevels:action:process +# + +EOF + +for n in ${SYSVINIT_ENABLED_GETTYS} +do +echo $n:2345:respawn:${base_sbindir}/getty 38400 tty$n ${D}${sysconfdir}/inittab +done +echo ${D}${sysconfdir}/inittab +fi +} + +# USE_VT and SERIAL_CONSOLE are generally defined by the MACHINE .conf. +# Set
[OE-core] [PATCH 0/1]distro_tracking_fields.inc: Fix a date issue
Hi Saul, This patch fix a little date issue in distro_tracking_fields.inc. Thanks Lei The following changes since commit a702c3dbf5fdc88eefdadd1f6c4cd6e04811c1e1: Richard Purdie (1): bitbake-layers: Fixup after recent server changes are available in the git repository at: git://git.pokylinux.org/poky-contrib lmei3/distro_date_issue http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=lmei3/distro_date_issue Mei Lei (1): distro_tracking_fields.inc: Fix a incorrect date format .../conf/distro/include/distro_tracking_fields.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
[OE-core] [PATCH 1/1] distro_tracking_fields.inc: Fix a incorrect date format
One incorrect date format caused a checking failure in package report system. Signed-off-by: Mei Lei lei@intel.com --- .../conf/distro/include/distro_tracking_fields.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/conf/distro/include/distro_tracking_fields.inc b/meta/conf/distro/include/distro_tracking_fields.inc index 38e0c4d..8e8453e 100644 --- a/meta/conf/distro/include/distro_tracking_fields.inc +++ b/meta/conf/distro/include/distro_tracking_fields.inc @@ -5747,7 +5747,7 @@ RECIPE_MANUAL_CHECK_DATE_pn-alsa-tools = Jun 7, 2011 RECIPE_STATUS_pn-mesa-demos = red RECIPE_LATEST_VERSION_pn-mesa-demos = 8.0.1 -RECIPE_LAST_UPDATE_pn-mesa-demos = July 13, 2010 +RECIPE_LAST_UPDATE_pn-mesa-demos = Jul 13, 2010 RECIPE_MANUAL_CHECK_DATE_pn-mesa-demos = Jun 7, 2011 RECIPE_STATUS_pn-gettext = red -- 1.6.3.3 ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core