Re: [oe] Some spare developer boards and other devices
W dniu 16.07.2012 00:58, Denis 'GNUtoo' Carikli pisze: On Sun, 2012-07-15 at 23:15 +0200, Marcin Juszkiewicz wrote: 4. Openmoko GTA01bv3 One of 36 devices from Phase0 - so very low serial number. But also serious battery problems. Device with 128MB microSD card. Should be bootable. The advantage over the freerunner is that there is no glamo, so the microsd and framebuffer support are way better right? Never used gta02. Is there a limit on the capacity of the microSD card that you can put inside the GTA01? I used 128 and 1-2GB ones. 5. Sharp Zaurus c760 Some time ago I looked at the status of the zauruses, it seems that the mainline kernel support for them is quite complete. The userspace support too(opie is still alive and there is a meta-opie...). The only problem is that they lost their mplayer acceleration for videos right? I stopped using c760 about 3-5 years ago. Since then I did not tracked what is going on there. ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] Proposal: Creating meta-networking
On Fri, Jul 13, 2012 at 05:15:33PM +0100, Paul Eggleton wrote: On Friday 13 July 2012 18:03:08 Koen Kooi wrote: Op 13 jul. 2012, om 17:58 heeft Paul Eggleton het volgende geschreven: On Thursday 12 July 2012 15:57:52 Joe MacDonald wrote: Just to make sure we're got it in context, though, the open points were: - tcpdump listed in meta-oe's recipes-core/tasks/task-cli-tools, under RDEPENDS_${PN}-debug. Koen, any suggestions? This task has pretty random contents - some of it is even hardware-specific. Do we really need to keep this together? That's an SHR recipe, you'd have to ask Martin Jansa. Ultimately we should not have anything distro-specific in meta-oe at all, which means we all ought to have a say in its contents - otherwise it belongs in the distro layer. It was added from oe-core, because we (SHR) were still using it in our images/tasks. If we're the only one user I don't mind moving it to our distro layer or reworking it to something usefull for other people too. Martin, do you have any objection to this task recipe being reworked in the face of the proposal to split tcpdump (and other networking-related recipes) out to meta-networking? Not at all.. I'll just add meta-networking to our layers setup.. The biggest blocker right now is where meta-networking is going to be hosted, the layers in the meta-openembedded repo can only depend on oe-core and bitbake, no other external layers. I'll leave this for Joe to comment on. Cheers, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe,V2 00/32] transit to meta-systemd
On Fri, Jul 13, 2012 at 10:30:08AM +0200, Andreas Müller wrote: v1-v2: * rebase to latest head * 4 meta-oe/layer.conf: systemd-serialgetty moved to meta-systemd * 5 append systemd package to RRECOMMENDS * remove warning in case systemd-stuff is packed in ${PN} * 7+8 make tasks usable without meta-systemd * xserver-nodm-init: include Martin's patch [1] * use FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}: for multiple bbappends I haven't tested this V2, because I was away on holidays, but from my tests with V1 I would say: Acked-by: Martin Jansa martin.ja...@gmail.com and then we can resolve possible minor issues :). Cheers, The series can be pulled from [2] branch systemd [1] http://patches.openembedded.org/patch/30383/ [2] git://gitorious.org/schnitzeltony-oe-meta/meta-openembedded-systemd.git Andreas Müller (32): systemd.bbclass: move to meta-systemd move systemd recipes to meta-systemd layer.conf/README: search directory structure for bbappends changed meta-oe/layer.conf: systemd-serialgetty moved to meta-systemd systemd.bbclass: add *-systemd packages to RRECOMMENDS systemd.bbclass: do not warn for systemd files are in ${PN} task-basic: move systemd support to meta systemd task-x11: in case meta-systemd is part of BBLAYERS, xserver-nodm-init-systemd is recommended automatically polkit: meta-systemd rework gdm: move systemd support to meta-systemd busybox: move systemd support to meta-systemd ntp: move systemd support to meta-systemd syslog-ng: move systemd support to meta-systemd udisks: move systemd support to meta-systemd lighttpd: move systemd support to meta-systemd cronie: move systemd support to meta-systemd elsa: move systemd support to meta-systemd net-snmp: move systemd support to meta-systemd atftp: move systemd support to meta-systemd dhcp: move systemd support to meta-systemd connman: move systemd support to meta-systemd gateone: move systemd support to meta-systemd cherokee: move systemd support to meta-systemd openssh: move systemd support to meta-systemd cloud9: move systemd support to meta-systemd xinput-calibrator: : move systemd support to meta-systemd xserver-nodm-init: move systemd support to meta-systemd dropbear: move systemd support to meta-systemd keymaps: move systemd support to meta-systemd rsyslog: move systemd support to meta-systemd gpsd: move systemd support to meta-systemd networkmanager: move systemd support to meta-systemd meta-efl/recipes-efl/efl/elsa_svn.bb |9 + meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb |8 +--- meta-oe/conf/layer.conf|1 - .../cherokee/cherokee_1.2.98.bb| 10 ++ .../recipes-connectivity/gateone/gateone_git.bb|9 + .../networkmanager/networkmanager_0.9.2.0.bb | 13 +++ .../recipes-core/busybox/busybox_1.19.4.bbappend | 20 +-- meta-oe/recipes-core/tasks/task-basic.bb |7 ++-- meta-oe/recipes-core/tasks/task-x11_1.0.bb |6 ++-- meta-oe/recipes-devtools/cloud9/cloud9_0.6.bb |9 + meta-oe/recipes-extended/atftp/atftp_0.7.bb| 10 ++ .../recipes-extended/net-snmp/net-snmp_5.7.1.bb| 17 + .../recipes-extended/polkit/polkit_0.104.bbappend |4 +- meta-oe/recipes-extended/rsyslog/rsyslog.inc | 10 +++--- .../xinput-calibrator/xinput-calibrator_0.7.5.bb |8 +--- .../xserver-nodm-init/xserver-nodm-init_2.0.bb | 16 + meta-oe/recipes-navigation/gpsd/gpsd_3.4.bb| 15 ++-- meta-oe/recipes-navigation/gpsd/gpsd_3.5.bb| 15 ++-- meta-oe/recipes-navigation/gpsd/gpsd_git.bb| 14 ++-- meta-oe/recipes-support/ntp/ntp_4.2.6p3.bb | 18 +- meta-oe/recipes-support/syslog-ng/syslog-ng.inc|9 + meta-oe/recipes-support/udisks/udisks_1.0.4.bb | 10 ++ meta-systemd/README|5 +++ {meta-oe = meta-systemd}/classes/systemd.bbclass | 35 +-- meta-systemd/conf/layer.conf |2 +- .../recipes-efl/efl/elsa/xserver-nodm.service |0 .../meta-efl/recipes-efl/efl/elsa_svn.bbappend | 13 +++ .../meta-gnome}/recipes-gnome/gdm/gdm/gdm.service |0 .../recipes-gnome/gdm/gdm_2.32.2.bbappend | 13 +++ .../recipes-bsp/keymaps/keymaps/keymaps.service|0 .../recipes-bsp/keymaps/keymaps_1.0.bbappend |2 +- .../cherokee/cherokee/cherokee.service |0 .../cherokee/cherokee_1.2.98.bbappend | 10 ++ .../connman/connman_1.0.bbappend |2 + .../recipes-connectivity/dhcp/dhcp}/dhcpd.service |0 .../dhcp/dhcp}/dhcrelay.service|0 .../dhcp/dhcp_4.2.3-P2.bbappend|4 +- .../gateone/gateone/gateone.service
[oe] [meta-oe][meta-systemd][PATCH] libpam 1.1.5 bbappend: register PAM session with logind
This makes screen/tmux/etc work as intended Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend |6 ++ 1 file changed, 6 insertions(+) create mode 100644 meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend diff --git a/meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend b/meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend new file mode 100644 index 000..7c4bcd8 --- /dev/null +++ b/meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend @@ -0,0 +1,6 @@ +PRINC := ${@int(PRINC) + 1} + +# Register with logind to make screen/tmux/etc work +do_install_append() { + echo session required pam_systemd.so ${D}${sysconfdir}/pam.d/common-session +} -- 1.7.10 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][meta-efl][PATCH] various: update ; proto= to ; protocol= in SRC_URI
On Fri, Jul 13, 2012 at 05:26:45PM +0200, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net I'm also tracking bitbake master and 100 lines of warnings on every build is quite annoying.. so I'm fine with this in (would be even better with new bitbake release and required bitbake version bump as Paul said..) Acked-by: Martin Jansa martin.ja...@gmail.com Cheers, --- meta-efl/recipes-devtools/python/python-efl.inc|2 +- meta-efl/recipes-efl/e17/e-module.inc |2 +- .../e17/e-wm-theme-illume-efenniht_svn.bb |2 +- meta-efl/recipes-efl/e17/e-wm_svn.bb |2 +- meta-efl/recipes-efl/e17/edje-viewer_svn.bb|2 +- meta-efl/recipes-efl/e17/elementary-alarm_svn.bb |2 +- meta-efl/recipes-efl/e17/elmdentica_svn.bb |2 +- meta-efl/recipes-efl/e17/emprint_svn.bb|2 +- meta-efl/recipes-efl/e17/enjoy_svn.bb |2 +- meta-efl/recipes-efl/e17/eve_svn.bb|2 +- meta-efl/recipes-efl/e17/exalt_svn.bb |2 +- meta-efl/recipes-efl/e17/expedite_svn.bb |2 +- meta-efl/recipes-efl/e17/exquisite-theme-illume.bb |2 +- meta-efl/recipes-efl/e17/exquisite_svn.bb |2 +- meta-efl/recipes-efl/e17/rage_svn.bb |2 +- meta-efl/recipes-efl/e17/waker_svn.bb |2 +- meta-efl/recipes-efl/efl/azy_svn.bb|2 +- meta-efl/recipes-efl/efl/ecore_svn.bb |2 +- meta-efl/recipes-efl/efl/edb_svn.bb|2 +- meta-efl/recipes-efl/efl/edbus_svn.bb |2 +- meta-efl/recipes-efl/efl/edje_svn.bb |2 +- meta-efl/recipes-efl/efl/eet_svn.bb|2 +- meta-efl/recipes-efl/efl/eeze_svn.bb |2 +- meta-efl/recipes-efl/efl/efreet_svn.bb |2 +- meta-efl/recipes-efl/efl/eina_svn.bb |2 +- meta-efl/recipes-efl/efl/eio_svn.bb|2 +- .../efl/elementary-theme-efenniht_svn.bb |4 ++-- meta-efl/recipes-efl/efl/elementary_svn.bb |2 +- meta-efl/recipes-efl/efl/elsa_svn.bb |2 +- meta-efl/recipes-efl/efl/embryo_svn.bb |2 +- meta-efl/recipes-efl/efl/emotion_svn.bb|2 +- meta-efl/recipes-efl/efl/engrave_svn.bb|2 +- meta-efl/recipes-efl/efl/epdf_svn.bb |2 +- meta-efl/recipes-efl/efl/epeg_svn.bb |2 +- meta-efl/recipes-efl/efl/ethumb_svn.bb |2 +- meta-efl/recipes-efl/efl/evas_svn.bb |2 +- meta-efl/recipes-efl/efl/imlib2_svn.bb |2 +- meta-efl/recipes-efl/efl/libeflvala_svn.bb |2 +- meta-efl/recipes-efl/efl/libeweather_svn.bb|2 +- meta-efl/recipes-efl/webkit/webkit-efl_svn.bb |6 +++--- meta-oe/recipes-core/jpeg/libjpeg-turbo_svn.bb |2 +- meta-oe/recipes-multimedia/jack/jack_0.121.0.bb|2 +- .../recipes-support/opencv/opencv-samples_2.4.bb |2 +- meta-oe/recipes-support/opencv/opencv_2.4.bb |2 +- toolchain-layer/recipes-devtools/gcc/gcc-4.6.inc |2 +- 45 files changed, 48 insertions(+), 48 deletions(-) diff --git a/meta-efl/recipes-devtools/python/python-efl.inc b/meta-efl/recipes-devtools/python/python-efl.inc index fe4521c..6ca5e3f 100644 --- a/meta-efl/recipes-devtools/python/python-efl.inc +++ b/meta-efl/recipes-devtools/python/python-efl.inc @@ -15,7 +15,7 @@ export HOST_SYS inherit e-base autotools pkgconfig distutils-base -SRC_URI = ${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};proto=http +SRC_URI = ${E_SVN}/trunk/BINDINGS/python;module=${SRCNAME};protocol=http S = ${WORKDIR}/${SRCNAME} diff --git a/meta-efl/recipes-efl/e17/e-module.inc b/meta-efl/recipes-efl/e17/e-module.inc index 2c1706e..d3f6e1b 100644 --- a/meta-efl/recipes-efl/e17/e-module.inc +++ b/meta-efl/recipes-efl/e17/e-module.inc @@ -8,7 +8,7 @@ INC_PR = r0 SRCNAME = E-MODULES-EXTRA/${PN} inherit e gettext -SRC_URI = ${E_SVN}/trunk;module=${SRCNAME};proto=http;scmdata=keep +SRC_URI = ${E_SVN}/trunk;module=${SRCNAME};protocol=http;scmdata=keep S = ${WORKDIR}/${SRCNAME} EXTRA_OECONF = --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc diff --git a/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb index 038a19f..5ff0681 100644 --- a/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb +++ b/meta-efl/recipes-efl/e17/e-wm-theme-illume-efenniht_svn.bb @@ -18,7 +18,7 @@ PV = 0.0+svnr${SRCPV} inherit e-base allarch SRCNAME = efenniht -SRC_URI = ${E_SVN}/trunk/THEMES;module=${SRCNAME};proto=http \ +SRC_URI = ${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http \ file://LICENSE \ S = ${WORKDIR}/${SRCNAME} diff --git a/meta-efl/recipes-efl/e17/e-wm_svn.bb
Re: [oe] [meta-oe][meta-efl][PATCH] various: update ; proto= to ; protocol= in SRC_URI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 16-07-12 10:47, Martin Jansa schreef: On Fri, Jul 13, 2012 at 05:26:45PM +0200, Koen Kooi wrote: Signed-off-by: Koen Kooi k...@dominion.thruhere.net I'm also tracking bitbake master and 100 lines of warnings on every build is quite annoying.. so I'm fine with this in (would be even better with new bitbake release and required bitbake version bump as Paul said..) Acked-by: Martin Jansa martin.ja...@gmail.com Pushed, with a minor tweak to elsa_svn.bb to account for the meta-systemd split. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFQA9nXMkyGM64RGpERAjlnAKCpJPdeVaVz1SRvBRgyNtGBSfspAgCfdxEW UWMlUUZBItQOmHgnnqilX0w= =tHfZ -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe,V2 00/32] transit to meta-systemd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 16-07-12 09:21, Martin Jansa schreef: On Fri, Jul 13, 2012 at 10:30:08AM +0200, Andreas Müller wrote: v1-v2: * rebase to latest head * 4 meta-oe/layer.conf: systemd-serialgetty moved to meta-systemd * 5 append systemd package to RRECOMMENDS * remove warning in case systemd-stuff is packed in ${PN} * 7+8 make tasks usable without meta-systemd * xserver-nodm-init: include Martin's patch [1] * use FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}: for multiple bbappends I haven't tested this V2, because I was away on holidays, but from my tests with V1 I would say: Acked-by: Martin Jansa martin.ja...@gmail.com and then we can resolve possible minor issues :). Pushed -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFQA9npMkyGM64RGpERAtqTAJ9412kJIdC9EG08zoayP9JfjcpubgCgoZTJ qH7+dTWAs55otaFpMcBNNsM= =HYhp -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [RFC][meta-oe][meta-systemd][PATCH] systemd: update to 186+git
This is a combined udev+systemd recipe: it will build both udev and systemd in one go, but keep the old (sub)package layout: udev udev-utils udev-systemd systemd systemd-vconsole-setup systemd-analyze systemd-initramfs And all libraries are seperated out: libgudev-1.0-0 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 libudev1 The SRCREV is 94 patches ahead of the v186 tag to drag in compile fixes for 'old' gcc versions like 4.5.x. Runtime tested with build from scratch and opkg upgrade with angstrom Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- This is an RFC, it builds works, but it can use cleanup. A regression from the previous udev recipe are the 2 missing OE rule files: touchscreen.rules and modprobe.rules. These should certainly get added. A potential cleanup would be to give each lib its own -dev, -dbg and -staticdev to avoid dragging in systemd with installing libudev1-dbg, which is what people are currently griping about. .../systemd/systemd/format-replace-m-uclibc.patch | 389 .../recipes-core/systemd/systemd}/gtk-doc.make |0 .../systemd/systemd/paper-over-mkostemp.patch | 19 - meta-systemd/recipes-core/systemd/systemd_git.bb | 89 - 4 files changed, 75 insertions(+), 422 deletions(-) delete mode 100644 meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch copy {meta-oe/recipes-core/udev/udev = meta-systemd/recipes-core/systemd/systemd}/gtk-doc.make (100%) delete mode 100644 meta-systemd/recipes-core/systemd/systemd/paper-over-mkostemp.patch diff --git a/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch b/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch deleted file mode 100644 index dd86121..000 --- a/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch +++ /dev/null @@ -1,389 +0,0 @@ -Patch from Henning. %m is a glibc only thing. For uclibc we need to do it -differently. So we use static strings instead of mallocing them and free'ing - -I dont know if upstream systemd have plans to make systemd work on non -glibc system libraries if not then this patch would not make sense for -upstream - -Signed-off-by: Khem Raj raj.k...@gmail.com - -Index: git/src/mount-setup.c -=== git.orig/src/mount-setup.c 2012-01-26 21:15:12.573084007 -0800 -+++ git/src/mount-setup.c 2012-01-26 21:15:16.005084174 -0800 -@@ -182,10 +182,10 @@ - (void) fgets(buf, sizeof(buf), f); - - for (;;) { --char *controller; -+char controller[30]; - int enabled = 0; - --if (fscanf(f, %ms %*i %*i %i, controller, enabled) != 2) { -+if (fscanf(f, %s %*i %*i %i, controller, enabled) != 2) { - - if (feof(f)) - break; -@@ -196,14 +196,12 @@ - } - - if (!enabled) { --free(controller); - continue; - } - - r = set_put(controllers, controller); - if (r 0) { - log_error(Failed to add controller to set.); --free(controller); - goto finish; - } - } -@@ -273,7 +271,6 @@ - p.fatal = false; - - r = mount_one(p, true); --free(controller); - free(where); - - if (r 0) { -Index: git/src/socket-util.c -=== git.orig/src/socket-util.c 2012-01-26 21:15:12.593084008 -0800 -+++ git/src/socket-util.c 2012-01-26 21:15:16.005084174 -0800 -@@ -192,7 +192,7 @@ - int socket_address_parse_netlink(SocketAddress *a, const char *s) { - int family; - unsigned group = 0; --char* sfamily = NULL; -+char sfamily[50]; - assert(a); - assert(s); - -@@ -200,17 +200,14 @@ - a-type = SOCK_RAW; - - errno = 0; --if (sscanf(s, %ms %u, sfamily, group) 1) -+if (sscanf(s, %49s %u, sfamily, group) 1) - return errno ? -errno : -EINVAL; - - if ((family = netlink_family_from_string(sfamily)) 0) - if (safe_atoi(sfamily, family) 0) { --free(sfamily); - return -EINVAL; - } - --free(sfamily); -- - a-sockaddr.nl.nl_family = AF_NETLINK; - a-sockaddr.nl.nl_groups = group; - -Index: git/src/swap.c -=== git.orig/src/swap.c2012-01-26 21:15:12.593084008 -0800 -+++ git/src/swap.c 2012-01-26
[oe] [meta-handheld][PATCH] recipes: svn SRC_URI s/proto=/protocol=/g
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- recipes-bsp/ezx/ezx-gpiotool_svn.bb |2 +- recipes-bsp/ezx/ezxd_svn.bb |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/ezx/ezx-gpiotool_svn.bb b/recipes-bsp/ezx/ezx-gpiotool_svn.bb index 2d403de..ed733a2 100644 --- a/recipes-bsp/ezx/ezx-gpiotool_svn.bb +++ b/recipes-bsp/ezx/ezx-gpiotool_svn.bb @@ -7,7 +7,7 @@ SRCREV = 1877 PV = ${SRCPV} PR = r1 -SRC_URI = svn://svn.openezx.org/trunk/src/userspace;module=gpiotool;proto=http +SRC_URI = svn://svn.openezx.org/trunk/src/userspace;module=gpiotool;protocol=http S = ${WORKDIR}/gpiotool do_compile() { diff --git a/recipes-bsp/ezx/ezxd_svn.bb b/recipes-bsp/ezx/ezxd_svn.bb index f738b5f..6dbcd0f 100644 --- a/recipes-bsp/ezx/ezxd_svn.bb +++ b/recipes-bsp/ezx/ezxd_svn.bb @@ -7,7 +7,7 @@ SRCREV = 2513 PV = 0.0+svnr${SRCPV} PR = r4 -SRC_URI = svn://svn.openezx.org/trunk/src/userspace/;module=ezxd;proto=http \ +SRC_URI = svn://svn.openezx.org/trunk/src/userspace/;module=ezxd;protocol=http \ file://ezxd.init \ -- 1.7.8.6 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build
It picks up host qmake and breaks the build. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- .../v4l-utils/0001-disable-qv4l2-build.patch | 39 .../recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb |6 ++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch new file mode 100644 index 000..4b11038 --- /dev/null +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch @@ -0,0 +1,39 @@ +From 1422d4c562660407919fb753dc5f074293b395e5 Mon Sep 17 00:00:00 2001 +From: Koen Kooi k...@dominion.thruhere.net +Date: Mon, 16 Jul 2012 12:00:34 +0200 +Subject: [PATCH] disable qv4l2 build + +Signed-off-by: Koen Kooi k...@dominion.thruhere.net +--- + utils/Makefile | 15 --- + 1 files changed, 0 insertions(+), 15 deletions(-) + +diff --git a/utils/Makefile b/utils/Makefile +index 014b82d..db74851 100644 +--- a/utils/Makefile b/utils/Makefile +@@ -5,21 +5,6 @@ all install: + $(MAKE) -C $$i $@ || exit 1; \ + done + +- # Test whether qmake is installed, and whether it is for qt4. +- @if which qmake-qt4 /dev/null 21; then \ +- QMAKE=qmake-qt4; \ +- else \ +- QMAKE=qmake; \ +- fi; \ +- if which $$QMAKE /dev/null 21; then \ +- if $$QMAKE --version 21 | grep '4\.[0-9][0-9]*\.[0-9][0-9]*' /dev/null; then \ +- if [ ! -f qv4l2/Makefile ]; then \ +- (cd qv4l2 $$QMAKE) || exit 1; \ +- fi; \ +- $(MAKE) -C qv4l2 -f Makefile.install $@; \ +- fi \ +- fi +- + sync-with-kernel: + $(MAKE) -C keytable $@ + $(MAKE) -C v4l2-dbg $@ +-- +1.7.7.6 + diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb index 18f361f..e5d1fc2 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb @@ -3,12 +3,16 @@ LICENSE = GPLv2 LGPLv2.1 LIC_FILES_CHKSUM = file://COPYING;md5=48da9957849056017dc568bbc43d8975 \ file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0 +PR = r1 + DEPENDS = jpeg # libv4l was absorbed into this, let OE know that PROVIDES = libv4l -SRC_URI = git://linuxtv.org/v4l-utils.git;protocol=git +SRC_URI = git://linuxtv.org/v4l-utils.git;protocol=git \ + file://0001-disable-qv4l2-build.patch \ + # 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 - v0.8.8 tag SRCREV = 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -- 1.7.10 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build
On 2012-07-16 05:20, Koen Kooi wrote: It picks up host qmake and breaks the build. Does it still break if you have QT in your image? If not, then perhaps this could be made conditional rather than just removed. Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- .../v4l-utils/0001-disable-qv4l2-build.patch | 39 .../recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb |6 ++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch new file mode 100644 index 000..4b11038 --- /dev/null +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils/0001-disable-qv4l2-build.patch @@ -0,0 +1,39 @@ +From 1422d4c562660407919fb753dc5f074293b395e5 Mon Sep 17 00:00:00 2001 +From: Koen Kooi k...@dominion.thruhere.net +Date: Mon, 16 Jul 2012 12:00:34 +0200 +Subject: [PATCH] disable qv4l2 build + +Signed-off-by: Koen Kooi k...@dominion.thruhere.net +--- + utils/Makefile | 15 --- + 1 files changed, 0 insertions(+), 15 deletions(-) + +diff --git a/utils/Makefile b/utils/Makefile +index 014b82d..db74851 100644 +--- a/utils/Makefile b/utils/Makefile +@@ -5,21 +5,6 @@ all install: + $(MAKE) -C $$i $@ || exit 1; \ + done + +- # Test whether qmake is installed, and whether it is for qt4. +- @if which qmake-qt4 /dev/null 21; then \ +- QMAKE=qmake-qt4; \ +- else \ +- QMAKE=qmake; \ +- fi; \ +- if which $$QMAKE /dev/null 21; then \ +- if $$QMAKE --version 21 | grep '4\.[0-9][0-9]*\.[0-9][0-9]*' /dev/null; then \ +- if [ ! -f qv4l2/Makefile ]; then \ +- (cd qv4l2 $$QMAKE) || exit 1; \ +- fi; \ +- $(MAKE) -C qv4l2 -f Makefile.install $@; \ +- fi \ +- fi +- + sync-with-kernel: + $(MAKE) -C keytable $@ + $(MAKE) -C v4l2-dbg $@ +-- +1.7.7.6 + diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb index 18f361f..e5d1fc2 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb @@ -3,12 +3,16 @@ LICENSE = GPLv2 LGPLv2.1 LIC_FILES_CHKSUM = file://COPYING;md5=48da9957849056017dc568bbc43d8975 \ file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0 +PR = r1 + DEPENDS = jpeg # libv4l was absorbed into this, let OE know that PROVIDES = libv4l -SRC_URI = git://linuxtv.org/v4l-utils.git;protocol=git +SRC_URI = git://linuxtv.org/v4l-utils.git;protocol=git \ + file://0001-disable-qv4l2-build.patch \ + # 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 - v0.8.8 tag SRCREV = 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -- Gary Thomas | Consulting for the MLB Associates |Embedded world ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-oe][PATCH] v4l-utils 0.8.8: disable qv4l2 build
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 16-07-12 13:37, Gary Thomas schreef: On 2012-07-16 05:20, Koen Kooi wrote: It picks up host qmake and breaks the build. Does it still break if you have QT in your image? Yes, but image contents are irrelevant. If not, then perhaps this could be made conditional rather than just removed. As said above, image contents are irrelevant, only DEPENDS matter. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFQBAA5MkyGM64RGpERAunzAJ4hqATX7m/a1tY5C1gcdM8nBE8y9wCgsoPt IuLMq7qMY51wc+dyZ9bGDis= =TXNl -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [RFC][meta-oe][meta-systemd][PATCH] systemd: update to 186+git
On Mon, Jul 16, 2012 at 11:24:12AM +0200, Koen Kooi wrote: This is a combined udev+systemd recipe: it will build both udev and systemd in one go, but keep the old (sub)package layout: udev udev-utils udev-systemd systemd systemd-vconsole-setup systemd-analyze systemd-initramfs And all libraries are seperated out: libgudev-1.0-0 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 libudev1 The SRCREV is 94 patches ahead of the v186 tag to drag in compile fixes for 'old' gcc versions like 4.5.x. Runtime tested with build from scratch and opkg upgrade with angstrom With this upgrade (opkg upgraded) I see few services failing to start. I'll try to reproduce it on other devices (this is on qemux86-64) and maybe it was caused by some other changes (like meta-systemd move). SHR root@qemux86-64 ~ $ systemctl status systemd-modules-load.service systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static) Active: failed (Result: exit-code) since Mon, 16 Jul 2012 12:03:35 +; 2s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 524 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/systemd-modules-load.service Jul 16 12:03:35 qemux86-64 systemd-modules-load[524]: Failed to find module '... SHR root@qemux86-64 ~ $ systemctl status busybox-syslog.service busybox-syslog.service - System Logging Service Loaded: loaded (/lib/systemd/system/busybox-syslog.service; enabled) Active: failed (Result: exit-code) since Mon, 16 Jul 2012 12:03:55 +; 1s ago Process: 532 ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/busybox-syslog.service Jul 16 12:03:56 qemux86-64 systemctl[532]: Failed to issue method call: Unit Cheers, Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- This is an RFC, it builds works, but it can use cleanup. A regression from the previous udev recipe are the 2 missing OE rule files: touchscreen.rules and modprobe.rules. These should certainly get added. A potential cleanup would be to give each lib its own -dev, -dbg and -staticdev to avoid dragging in systemd with installing libudev1-dbg, which is what people are currently griping about. .../systemd/systemd/format-replace-m-uclibc.patch | 389 .../recipes-core/systemd/systemd}/gtk-doc.make |0 .../systemd/systemd/paper-over-mkostemp.patch | 19 - meta-systemd/recipes-core/systemd/systemd_git.bb | 89 - 4 files changed, 75 insertions(+), 422 deletions(-) delete mode 100644 meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch copy {meta-oe/recipes-core/udev/udev = meta-systemd/recipes-core/systemd/systemd}/gtk-doc.make (100%) delete mode 100644 meta-systemd/recipes-core/systemd/systemd/paper-over-mkostemp.patch diff --git a/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch b/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch deleted file mode 100644 index dd86121..000 --- a/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch +++ /dev/null @@ -1,389 +0,0 @@ -Patch from Henning. %m is a glibc only thing. For uclibc we need to do it -differently. So we use static strings instead of mallocing them and free'ing - -I dont know if upstream systemd have plans to make systemd work on non -glibc system libraries if not then this patch would not make sense for -upstream - -Signed-off-by: Khem Raj raj.k...@gmail.com - -Index: git/src/mount-setup.c -=== git.orig/src/mount-setup.c 2012-01-26 21:15:12.573084007 -0800 -+++ git/src/mount-setup.c2012-01-26 21:15:16.005084174 -0800 -@@ -182,10 +182,10 @@ - (void) fgets(buf, sizeof(buf), f); - - for (;;) { --char *controller; -+char controller[30]; - int enabled = 0; - --if (fscanf(f, %ms %*i %*i %i, controller, enabled) != 2) { -+if (fscanf(f, %s %*i %*i %i, controller, enabled) != 2) { - - if (feof(f)) - break; -@@ -196,14 +196,12 @@ - } - - if (!enabled) { --free(controller); - continue; - } - - r = set_put(controllers, controller); - if (r 0) { - log_error(Failed to add controller to set.); --free(controller); -
Re: [oe] [RFC][meta-oe][meta-systemd][PATCH] systemd: update to 186+git
Op 16 jul. 2012, om 14:08 heeft Martin Jansa het volgende geschreven: On Mon, Jul 16, 2012 at 11:24:12AM +0200, Koen Kooi wrote: This is a combined udev+systemd recipe: it will build both udev and systemd in one go, but keep the old (sub)package layout: udev udev-utils udev-systemd systemd systemd-vconsole-setup systemd-analyze systemd-initramfs And all libraries are seperated out: libgudev-1.0-0 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 libudev1 The SRCREV is 94 patches ahead of the v186 tag to drag in compile fixes for 'old' gcc versions like 4.5.x. Runtime tested with build from scratch and opkg upgrade with angstrom With this upgrade (opkg upgraded) I see few services failing to start. I'll try to reproduce it on other devices (this is on qemux86-64) and maybe it was caused by some other changes (like meta-systemd move). SHR root@qemux86-64 ~ $ systemctl status systemd-modules-load.service systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static) Active: failed (Result: exit-code) since Mon, 16 Jul 2012 12:03:35 +; 2s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 524 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/systemd-modules-load.service Jul 16 12:03:35 qemux86-64 systemd-modules-load[524]: Failed to find module '... can you add a '-a' to the systemctl line, that will show the actual error :) SHR root@qemux86-64 ~ $ systemctl status busybox-syslog.service busybox-syslog.service - System Logging Service Loaded: loaded (/lib/systemd/system/busybox-syslog.service; enabled) Active: failed (Result: exit-code) since Mon, 16 Jul 2012 12:03:55 +; 1s ago Process: 532 ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/busybox-syslog.service Jul 16 12:03:56 qemux86-64 systemctl[532]: Failed to issue method call: Unit Same here. regards, KOen Cheers, Signed-off-by: Koen Kooi k...@dominion.thruhere.net --- This is an RFC, it builds works, but it can use cleanup. A regression from the previous udev recipe are the 2 missing OE rule files: touchscreen.rules and modprobe.rules. These should certainly get added. A potential cleanup would be to give each lib its own -dev, -dbg and -staticdev to avoid dragging in systemd with installing libudev1-dbg, which is what people are currently griping about. .../systemd/systemd/format-replace-m-uclibc.patch | 389 .../recipes-core/systemd/systemd}/gtk-doc.make |0 .../systemd/systemd/paper-over-mkostemp.patch | 19 - meta-systemd/recipes-core/systemd/systemd_git.bb | 89 - 4 files changed, 75 insertions(+), 422 deletions(-) delete mode 100644 meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch copy {meta-oe/recipes-core/udev/udev = meta-systemd/recipes-core/systemd/systemd}/gtk-doc.make (100%) delete mode 100644 meta-systemd/recipes-core/systemd/systemd/paper-over-mkostemp.patch diff --git a/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch b/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch deleted file mode 100644 index dd86121..000 --- a/meta-systemd/recipes-core/systemd/systemd/format-replace-m-uclibc.patch +++ /dev/null @@ -1,389 +0,0 @@ -Patch from Henning. %m is a glibc only thing. For uclibc we need to do it -differently. So we use static strings instead of mallocing them and free'ing - -I dont know if upstream systemd have plans to make systemd work on non -glibc system libraries if not then this patch would not make sense for -upstream - -Signed-off-by: Khem Raj raj.k...@gmail.com - -Index: git/src/mount-setup.c -=== git.orig/src/mount-setup.c 2012-01-26 21:15:12.573084007 -0800 -+++ git/src/mount-setup.c 2012-01-26 21:15:16.005084174 -0800 -@@ -182,10 +182,10 @@ - (void) fgets(buf, sizeof(buf), f); - - for (;;) { --char *controller; -+char controller[30]; - int enabled = 0; - --if (fscanf(f, %ms %*i %*i %i, controller, enabled) != 2) { -+if (fscanf(f, %s %*i %*i %i, controller, enabled) != 2) { - - if (feof(f)) - break; -@@ -196,14 +196,12 @@ - } - - if (!enabled) { --free(controller); - continue; - } - - r =
[oe] [meta-xfce,resend 1/2] xfce4-power-manager: update to 1.2.0
Signed-off-by: Andreas Müller schnitzelt...@googlemail.com --- ...ager_1.0.10.bb = xfce4-power-manager_1.2.0.bb} |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) rename meta-xfce/recipes-xfce/xfce4-power-manager/{xfce4-power-manager_1.0.10.bb = xfce4-power-manager_1.2.0.bb} (85%) diff --git a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.2.0.bb similarity index 85% rename from meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb rename to meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.2.0.bb index 4641178..670fc25 100644 --- a/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.0.10.bb +++ b/meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_1.2.0.bb @@ -24,5 +24,5 @@ FILES_xfce4-brightness-plugin = \ ${datadir}/xfce4/panel-plugins/xfce4-brightness-plugin.desktop \ -SRC_URI[md5sum] = 38cbd272eb30e36ae538d9f38858bd38 -SRC_URI[sha256sum] = 80e4bb44f81c485ec09654dde432d6e28667d49a787625632a4413aac30422f0 +SRC_URI[md5sum] = 935599b7114b0a4b0e2c9a5d6c72524c +SRC_URI[sha256sum] = d7fb98a540284b62f4201527de17d4b24123f9d26c9f49131dd497c8387184e9 -- 1.7.6.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [RFC][meta-oe][meta-systemd][PATCH] systemd: update to 186+git
On Mon, Jul 16, 2012 at 02:16:01PM +0200, Koen Kooi wrote: Op 16 jul. 2012, om 14:08 heeft Martin Jansa het volgende geschreven: On Mon, Jul 16, 2012 at 11:24:12AM +0200, Koen Kooi wrote: This is a combined udev+systemd recipe: it will build both udev and systemd in one go, but keep the old (sub)package layout: udev udev-utils udev-systemd systemd systemd-vconsole-setup systemd-analyze systemd-initramfs And all libraries are seperated out: libgudev-1.0-0 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 libudev1 The SRCREV is 94 patches ahead of the v186 tag to drag in compile fixes for 'old' gcc versions like 4.5.x. Runtime tested with build from scratch and opkg upgrade with angstrom With this upgrade (opkg upgraded) I see few services failing to start. I'll try to reproduce it on other devices (this is on qemux86-64) and maybe it was caused by some other changes (like meta-systemd move). SHR root@qemux86-64 ~ $ systemctl status systemd-modules-load.service systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static) Active: failed (Result: exit-code) since Mon, 16 Jul 2012 12:03:35 +; 2s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 524 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/systemd-modules-load.service Jul 16 12:03:35 qemux86-64 systemd-modules-load[524]: Failed to find module '... can you add a '-a' to the systemctl line, that will show the actual error :) Ah, much better :) so this is because there is no ipv6 module in latest greatest 3.4.4-yocto-standard, not systemd fault SHR root@qemux86-64 ~ $ systemctl status busybox-syslog.service busybox-syslog.service - System Logging Service Loaded: loaded (/lib/systemd/system/busybox-syslog.service; enabled) Active: failed (Result: exit-code) since Mon, 16 Jul 2012 12:03:55 +; 1s ago Process: 532 ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/busybox-syslog.service Jul 16 12:03:56 qemux86-64 systemctl[532]: Failed to issue method call: Unit Jul 16 12:25:18 qemux86-64 systemctl[149]: Failed to issue method call: Unit systemd-kmsg-syslogd.service not loaded. /lib/systemd/system/busybox-syslog.service: ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service and systemd-kmsg-syslogd.service seems gone (for quite a while since replaced by journald), maybe hit wasn't fatal before.. Cheers, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [RFC][meta-oe][meta-systemd][PATCH] systemd: update to 186+git
On Mon, Jul 16, 2012 at 03:59:33PM +0200, Martin Jansa wrote: On Mon, Jul 16, 2012 at 02:16:01PM +0200, Koen Kooi wrote: Op 16 jul. 2012, om 14:08 heeft Martin Jansa het volgende geschreven: On Mon, Jul 16, 2012 at 11:24:12AM +0200, Koen Kooi wrote: This is a combined udev+systemd recipe: it will build both udev and systemd in one go, but keep the old (sub)package layout: udev udev-utils udev-systemd systemd systemd-vconsole-setup systemd-analyze systemd-initramfs And all libraries are seperated out: libgudev-1.0-0 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0 libsystemd-login0 libudev1 The SRCREV is 94 patches ahead of the v186 tag to drag in compile fixes for 'old' gcc versions like 4.5.x. Runtime tested with build from scratch and opkg upgrade with angstrom With this upgrade (opkg upgraded) I see few services failing to start. I'll try to reproduce it on other devices (this is on qemux86-64) and maybe it was caused by some other changes (like meta-systemd move). SHR root@qemux86-64 ~ $ systemctl status systemd-modules-load.service systemd-modules-load.service - Load Kernel Modules Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static) Active: failed (Result: exit-code) since Mon, 16 Jul 2012 12:03:35 +; 2s ago Docs: man:systemd-modules-load.service(8) man:modules-load.d(5) Process: 524 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/systemd-modules-load.service Jul 16 12:03:35 qemux86-64 systemd-modules-load[524]: Failed to find module '... can you add a '-a' to the systemctl line, that will show the actual error :) Ah, much better :) so this is because there is no ipv6 module in latest greatest 3.4.4-yocto-standard, not systemd fault SHR root@qemux86-64 ~ $ systemctl status busybox-syslog.service busybox-syslog.service - System Logging Service Loaded: loaded (/lib/systemd/system/busybox-syslog.service; enabled) Active: failed (Result: exit-code) since Mon, 16 Jul 2012 12:03:55 +; 1s ago Process: 532 ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/busybox-syslog.service Jul 16 12:03:56 qemux86-64 systemctl[532]: Failed to issue method call: Unit Jul 16 12:25:18 qemux86-64 systemctl[149]: Failed to issue method call: Unit systemd-kmsg-syslogd.service not loaded. /lib/systemd/system/busybox-syslog.service: ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service and systemd-kmsg-syslogd.service seems gone (for quite a while since replaced by journald), maybe hit wasn't fatal before.. Cheers, There is also libudev soname change.. so stuff depending on old libudev0 should be PR bumped, in my image: * print_dependents_warning:libphone-ui-shr * print_dependents_warning:e-wm * print_dependents_warning:libemotion-backend-gstreamer * print_dependents_warning:shr-e-gadgets * print_dependents_warning:shr-wizard * print_dependents_warning:xserver-xorg * print_dependents_warning:libemotion1 * print_dependents_warning:ethumb * print_dependents_warning:bluez4 * print_dependents_warning:elementary * print_dependents_warning:python-elementary * print_dependents_warning:eeze I can send PR bump patch for those if you want, but not sure if oe-core will accept more PR bumps especially when it's not their udev changing soname.. And for some machines I got unpackaged file: NOTE: package systemd-git-r5: task do_package: Started WARNING: QA Issue: systemd: Files/directories were installed but not shipped /etc/rpm /etc/rpm/macros.systemd Cheers, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [RFC][meta-oe][PATCH 3/3] blacklist.bbclass: Move to meta-angstrom
This class is angstrom specific so lets move it to more appropriate layer Signed-off-by: Khem Raj raj.k...@gmail.com --- meta-oe/classes/blacklist.bbclass | 20 1 file changed, 20 deletions(-) delete mode 100644 meta-oe/classes/blacklist.bbclass diff --git a/meta-oe/classes/blacklist.bbclass b/meta-oe/classes/blacklist.bbclass deleted file mode 100644 index 7bf4a73..000 --- a/meta-oe/classes/blacklist.bbclass +++ /dev/null @@ -1,20 +0,0 @@ -# anonymous support class from angstrom -# -# Features: -# -# * blacklist handling, set ANGSTROM_BLACKLIST_pn-blah = message -# - -python () { -import bb - -blacklist = bb.data.getVar(ANGSTROM_BLACKLIST, d, 1) -pkgnm = bb.data.getVar(PN, d, 1) -distro = bb.data.getVar(DISTRO, d, 1) - -if blacklist: - bb.note(%s DOES NOT support %s because %s % (distro,pkgnm, blacklist)) -raise bb.parse.SkipPackage(%s DOES NOT support %s because %s % (distro,pkgnm, blacklist)) - -} - -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [RFC][meta-oe][PATCH 2/3] testlab.bbclass: Delete
This functionality is now provided by buildhistory as well. so lets remove it in favor of that Signed-off-by: Khem Raj raj.k...@gmail.com --- meta-oe/classes/testlab.bbclass | 114 --- 1 file changed, 114 deletions(-) delete mode 100644 meta-oe/classes/testlab.bbclass diff --git a/meta-oe/classes/testlab.bbclass b/meta-oe/classes/testlab.bbclass deleted file mode 100644 index c097e9e..000 --- a/meta-oe/classes/testlab.bbclass +++ /dev/null @@ -1,114 +0,0 @@ -# -# Performs various tests and analysises on images -# -# Copyright (C) 2007, 2008 Koen Kooi k...@openembedded.org - -# The current features are: -# 1) dump a list of installed packages -# 2) dump a list of sizes of installed packages -# 3) dependency graphs of installed packages - -# See -# * http://dominion.thruhere.net/koen/cms/the-testlab-strikes-again -# * http://dominion.thruhere.net/koen/cms/package-relations-inside-images -# for use cases - -# TODO: -# * log information to a server for safekeeping -# * use git notes to record this info into the scm -# * add test suite to run on the target device - - -# Needs 'dot', 'opkg-cl' - -do_testlab() { -if [ -e ${IMAGE_ROOTFS}/etc/opkg ] [ ${ONLINE_PACKAGE_MANAGEMENT} = full ] ; then - - IPKG_TMP_DIR=${IMAGE_ROOTFS}-tmp - IPKG_ARGS=-f ${STAGING_ETCDIR_NATIVE}/opkg.conf -o ${IMAGE_ROOTFS} -t ${IPKG_TMP_DIR} - - TESTLAB_DIR=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}-testlab -mkdir -p ${TESTLAB_DIR}/ -mkdir -p ${IPKG_TMP_DIR}/ - ls -laR ${IMAGE_ROOTFS} ${TESTLAB_DIR}/files-in-image.txt - - echo ${TESTLAB_DIR}/installed-packages.txt - echo -e digraph depends {\nnode [shape=plaintext] ${TESTLAB_DIR}/depends.dot - - for pkg in $(opkg-cl ${IPKG_ARGS} list_installed | awk '{print $1}') ; do - name=`opkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 ^Status.* \(\(installed\)\|\(unpacked\)\) | awk '/^Package/ {printf $2_}'` - name=$name`opkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 ^Status.* \(\(installed\)\|\(unpacked\)\) | awk -F: '/^Version/ {printf $NF_}' | sed 's/^\s*//g'` - name=$name`opkg-cl ${IPKG_ARGS} info $pkg | grep -B 7 -A 7 ^Status.* \(\(installed\)\|\(unpacked\)\) | awk '/^Archi/ {print $2.ipk}'` - echo $name ${TESTLAB_DIR}/installed-packages.txt - - for depends in $(opkg-cl ${IPKG_ARGS} info $pkg | grep ^Depends) ; do - echo $pkg OPP $depends; | grep -v ( | grep -v ) | grep -v $pkg OPP Depends | sed -e 's:,::g' -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' |sed 's:OPP:-:g' ${TESTLAB_DIR}/depends.dot - done - - for recommends in $(opkg-cl ${IPKG_ARGS} info $pkg | grep ^Recom) ; do - echo $pkg OPP $recommends [style=dotted]; | grep -v ( | grep -v ) | grep -v $pkg OPP Recom | sed -e 's:,::g' -e 's:-:_:g' -e 's:\.:_:g' -e 's:+::g' |sed 's:OPP:-:g' ${TESTLAB_DIR}/depends.dot - done - done - - echo } ${TESTLAB_DIR}/depends.dot - rm -rf ${IPKG_TMP_DIR} - - grep -v kernel_2 ${TESTLAB_DIR}/depends.dot | grep -v kernel_image ${TESTLAB_DIR}/depends-nokernel.dot - grep -v libc6 ${TESTLAB_DIR}/depends-nokernel.dot | grep -v libgcc ${TESTLAB_DIR}/depends-nokernel-nolibc.dot - grep -v update_ ${TESTLAB_DIR}/depends-nokernel-nolibc.dot ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot -grep -v kernel_module ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate-nomodules.dot - - #dot has some library troubles when run under fakeroot, uncomment at your own risk - #dot -Tpng -o ${TESTLAB_DIR}/image-dependencies.png ${TESTLAB_DIR}/depends.dot - #dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc.png ${TESTLAB_DIR}/depends-nokernel-nolibc.dot - #dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc-noupdate.png ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate.dot - #dot -Tpng -o ${TESTLAB_DIR}/image-dependencies-nokernel-nolibc-noupdate-nomodules.png ${TESTLAB_DIR}/depends-nokernel-nolibc-noupdate-nomodules.dot - - for file in $(cat ${TESTLAB_DIR}/installed-packages.txt) ; do - du -k $(find ${DEPLOY_DIR_IPK} -name $file) | head -n1 - done | grep \.ipk | sed -e s:${DEPLOY_DIR_IPK}::g | sort -n -r | awk '{print $1 \tKiB $2}' ${TESTLAB_DIR}/installed-package-sizes.txt - - for file in $(cat ${TESTLAB_DIR}/installed-packages.txt) ; do - echo `find ${DEPLOY_DIR_IPK} -name $file | xargs opkg-list-fields | grep ^License | sed -e 's/^.*:[ \t]*//g'` '=' $(echo $file | awk -F_ '{print $1}') - done | awk -F= '{printf(%50s:%s\n, $1, $2)}' ${TESTLAB_DIR}/installed-package-licenses.txt - # Log results to a git controlled directory structure than can be pushed to a remote location - if [ ${TESTLABLOG}
[oe] [RFC][meta-oe][PATCH 1/3] kernel.bbclass: Rename to machine_kernel_pr.bbclass which provides added functionality
Diffing with the OE-Core's kernel.bbclass only difference is setting of machine kernel pr. So lets convert it to a separate class which provides the added functionality and let everyone use kernel.bbclass from kernel It needs the dependent layers to inherit this class in addition to kernel.bbclass It leaves up with one less conflict with OE-Core Signed-off-by: Khem Raj raj.k...@gmail.com --- meta-oe/classes/kernel.bbclass| 559 - meta-oe/classes/machine_kernel_pr.bbclass |7 + 2 files changed, 7 insertions(+), 559 deletions(-) delete mode 100644 meta-oe/classes/kernel.bbclass create mode 100644 meta-oe/classes/machine_kernel_pr.bbclass diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass deleted file mode 100644 index b30ed36..000 --- a/meta-oe/classes/kernel.bbclass +++ /dev/null @@ -1,559 +0,0 @@ -inherit linux-kernel-base module_strip - -PROVIDES += virtual/kernel -DEPENDS += virtual/${TARGET_PREFIX}gcc kmod-native virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules - -# we include gcc above, we dont need virtual/libc -INHIBIT_DEFAULT_DEPS = 1 - -KERNEL_IMAGETYPE ?= zImage -INITRAMFS_IMAGE ?= -INITRAMFS_TASK ?= - -python __anonymous () { -kerneltype = d.getVar('KERNEL_IMAGETYPE', True) or '' -if kerneltype == 'uImage': -depends = d.getVar(DEPENDS, True) -depends = %s u-boot-mkimage-native % depends -d.setVar(DEPENDS, depends) - -image = d.getVar('INITRAMFS_IMAGE', True) -if image: -d.setVar('INITRAMFS_TASK', '${INITRAMFS_IMAGE}:do_rootfs') - -machine_kernel_pr = d.getVar('MACHINE_KERNEL_PR', True) - -if machine_kernel_pr: -d.setVar('PR', machine_kernel_pr) -} - -inherit kernel-arch deploy - -PACKAGES_DYNAMIC += kernel-module-* -PACKAGES_DYNAMIC += kernel-image-* -PACKAGES_DYNAMIC += kernel-firmware-* - -export OS = ${TARGET_OS} -export CROSS_COMPILE = ${TARGET_PREFIX} - -KERNEL_PRIORITY ?= ${@int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[0]) * 1 + \ - int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[1]) * 100 + \ - int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[-1])} - -KERNEL_RELEASE ?= ${KERNEL_VERSION} - -KERNEL_CCSUFFIX ?= -KERNEL_LDSUFFIX ?= - -# Set TARGET_??_KERNEL_ARCH in the machine .conf to set architecture -# specific options necessary for building the kernel and modules. -#FIXME: should be this: TARGET_CC_KERNEL_ARCH ?= ${TARGET_CC_ARCH} -TARGET_CC_KERNEL_ARCH ?= -HOST_CC_KERNEL_ARCH ?= ${TARGET_CC_KERNEL_ARCH} -TARGET_LD_KERNEL_ARCH ?= -HOST_LD_KERNEL_ARCH ?= ${TARGET_LD_KERNEL_ARCH} - -KERNEL_CC = ${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS} -KERNEL_LD = ${HOST_PREFIX}ld${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS} - -# Where built kernel lies in the kernel tree -KERNEL_OUTPUT ?= arch/${ARCH}/boot/${KERNEL_IMAGETYPE} -KERNEL_IMAGEDEST = boot - -# -# configuration -# -export CMDLINE_CONSOLE = console=${@d.getVar(KERNEL_CONSOLE,1) or ttyS0} - -KERNEL_VERSION = ${@get_kernelversion('${B}')} - -KERNEL_LOCALVERSION ?= - -# kernels are generally machine specific -PACKAGE_ARCH = ${MACHINE_ARCH} - -# U-Boot support -UBOOT_ENTRYPOINT ?= 20008000 -UBOOT_LOADADDRESS ?= ${UBOOT_ENTRYPOINT} - -# For the kernel, we don't want the '-e MAKEFLAGS=' in EXTRA_OEMAKE. -# We don't want to override kernel Makefile variables from the environment -EXTRA_OEMAKE = - -KERNEL_ALT_IMAGETYPE ??= - -KERNEL_IMAGETYPE_FOR_MAKE = ${@(lambda s: s[:-3] if s[-3:] == .gz else s)(d.getVar('KERNEL_IMAGETYPE', True))} - -kernel_do_compile() { - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE - oe_runmake include/linux/version.h CC=${KERNEL_CC} LD=${KERNEL_LD} - oe_runmake ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_ALT_IMAGETYPE} CC=${KERNEL_CC} LD=${KERNEL_LD} - if test ${KERNEL_IMAGETYPE_FOR_MAKE}.gz = ${KERNEL_IMAGETYPE}; then - gzip -9c ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_OUTPUT} - fi -} - -do_compile_kernelmodules() { - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE - if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then - oe_runmake ${PARALLEL_MAKE} modules CC=${KERNEL_CC} LD=${KERNEL_LD} - else - bbnote no modules to compile - fi -} -addtask compile_kernelmodules after do_compile before do_install - -kernel_do_install() { - # - # First install the modules - # - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE - if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then - oe_runmake DEPMOD=echo INSTALL_MOD_PATH=${D} modules_install - rm -f ${D}/lib/modules/${KERNEL_VERSION}/modules.order - rm -f ${D}/lib/modules/${KERNEL_VERSION}/modules.builtin - rm ${D}/lib/modules/${KERNEL_VERSION}/build - rm
Re: [oe] [RFC][meta-oe][PATCH 3/3] blacklist.bbclass: Move to meta-angstrom
On Mon, Jul 16, 2012 at 10:38:36AM -0700, Khem Raj wrote: This class is angstrom specific so lets move it to more appropriate layer This is also used by SHR, that's why I've asked Koen to move blacklist from meta-angstrom to meta-oe before http://git.openembedded.org/meta-openembedded/commit/?id=68c15845d087df0a6f66c58a9fd80548a9bb3a59 Cheers, Signed-off-by: Khem Raj raj.k...@gmail.com --- meta-oe/classes/blacklist.bbclass | 20 1 file changed, 20 deletions(-) delete mode 100644 meta-oe/classes/blacklist.bbclass diff --git a/meta-oe/classes/blacklist.bbclass b/meta-oe/classes/blacklist.bbclass deleted file mode 100644 index 7bf4a73..000 --- a/meta-oe/classes/blacklist.bbclass +++ /dev/null @@ -1,20 +0,0 @@ -# anonymous support class from angstrom -# -# Features: -# -# * blacklist handling, set ANGSTROM_BLACKLIST_pn-blah = message -# - -python () { -import bb - -blacklist = bb.data.getVar(ANGSTROM_BLACKLIST, d, 1) -pkgnm = bb.data.getVar(PN, d, 1) -distro = bb.data.getVar(DISTRO, d, 1) - -if blacklist: - bb.note(%s DOES NOT support %s because %s % (distro,pkgnm, blacklist)) -raise bb.parse.SkipPackage(%s DOES NOT support %s because %s % (distro,pkgnm, blacklist)) - -} - -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [RFC][meta-oe][PATCH 1/3] kernel.bbclass: Rename to machine_kernel_pr.bbclass which provides added functionality
On Mon, Jul 16, 2012 at 10:38:34AM -0700, Khem Raj wrote: Diffing with the OE-Core's kernel.bbclass only difference is setting of machine kernel pr. So lets convert it to a separate class which provides the added functionality and let everyone use kernel.bbclass from kernel There is also this change http://lists.linuxtogo.org/pipermail/openembedded-core/2012-April/021608.html which never made it to oe-core version.. Cheers, It needs the dependent layers to inherit this class in addition to kernel.bbclass It leaves up with one less conflict with OE-Core Signed-off-by: Khem Raj raj.k...@gmail.com --- meta-oe/classes/kernel.bbclass| 559 - meta-oe/classes/machine_kernel_pr.bbclass |7 + 2 files changed, 7 insertions(+), 559 deletions(-) delete mode 100644 meta-oe/classes/kernel.bbclass create mode 100644 meta-oe/classes/machine_kernel_pr.bbclass diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass deleted file mode 100644 index b30ed36..000 --- a/meta-oe/classes/kernel.bbclass +++ /dev/null @@ -1,559 +0,0 @@ -inherit linux-kernel-base module_strip - -PROVIDES += virtual/kernel -DEPENDS += virtual/${TARGET_PREFIX}gcc kmod-native virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules - -# we include gcc above, we dont need virtual/libc -INHIBIT_DEFAULT_DEPS = 1 - -KERNEL_IMAGETYPE ?= zImage -INITRAMFS_IMAGE ?= -INITRAMFS_TASK ?= - -python __anonymous () { -kerneltype = d.getVar('KERNEL_IMAGETYPE', True) or '' -if kerneltype == 'uImage': -depends = d.getVar(DEPENDS, True) -depends = %s u-boot-mkimage-native % depends -d.setVar(DEPENDS, depends) - -image = d.getVar('INITRAMFS_IMAGE', True) -if image: -d.setVar('INITRAMFS_TASK', '${INITRAMFS_IMAGE}:do_rootfs') - -machine_kernel_pr = d.getVar('MACHINE_KERNEL_PR', True) - -if machine_kernel_pr: -d.setVar('PR', machine_kernel_pr) -} - -inherit kernel-arch deploy - -PACKAGES_DYNAMIC += kernel-module-* -PACKAGES_DYNAMIC += kernel-image-* -PACKAGES_DYNAMIC += kernel-firmware-* - -export OS = ${TARGET_OS} -export CROSS_COMPILE = ${TARGET_PREFIX} - -KERNEL_PRIORITY ?= ${@int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[0]) * 1 + \ - int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[1]) * 100 + \ - int(d.getVar('PV',1).split('-')[0].split('+')[0].split('.')[-1])} - -KERNEL_RELEASE ?= ${KERNEL_VERSION} - -KERNEL_CCSUFFIX ?= -KERNEL_LDSUFFIX ?= - -# Set TARGET_??_KERNEL_ARCH in the machine .conf to set architecture -# specific options necessary for building the kernel and modules. -#FIXME: should be this: TARGET_CC_KERNEL_ARCH ?= ${TARGET_CC_ARCH} -TARGET_CC_KERNEL_ARCH ?= -HOST_CC_KERNEL_ARCH ?= ${TARGET_CC_KERNEL_ARCH} -TARGET_LD_KERNEL_ARCH ?= -HOST_LD_KERNEL_ARCH ?= ${TARGET_LD_KERNEL_ARCH} - -KERNEL_CC = ${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS} -KERNEL_LD = ${HOST_PREFIX}ld${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS} - -# Where built kernel lies in the kernel tree -KERNEL_OUTPUT ?= arch/${ARCH}/boot/${KERNEL_IMAGETYPE} -KERNEL_IMAGEDEST = boot - -# -# configuration -# -export CMDLINE_CONSOLE = console=${@d.getVar(KERNEL_CONSOLE,1) or ttyS0} - -KERNEL_VERSION = ${@get_kernelversion('${B}')} - -KERNEL_LOCALVERSION ?= - -# kernels are generally machine specific -PACKAGE_ARCH = ${MACHINE_ARCH} - -# U-Boot support -UBOOT_ENTRYPOINT ?= 20008000 -UBOOT_LOADADDRESS ?= ${UBOOT_ENTRYPOINT} - -# For the kernel, we don't want the '-e MAKEFLAGS=' in EXTRA_OEMAKE. -# We don't want to override kernel Makefile variables from the environment -EXTRA_OEMAKE = - -KERNEL_ALT_IMAGETYPE ??= - -KERNEL_IMAGETYPE_FOR_MAKE = ${@(lambda s: s[:-3] if s[-3:] == .gz else s)(d.getVar('KERNEL_IMAGETYPE', True))} - -kernel_do_compile() { - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE - oe_runmake include/linux/version.h CC=${KERNEL_CC} LD=${KERNEL_LD} - oe_runmake ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_ALT_IMAGETYPE} CC=${KERNEL_CC} LD=${KERNEL_LD} - if test ${KERNEL_IMAGETYPE_FOR_MAKE}.gz = ${KERNEL_IMAGETYPE}; then - gzip -9c ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_OUTPUT} - fi -} - -do_compile_kernelmodules() { - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE - if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then - oe_runmake ${PARALLEL_MAKE} modules CC=${KERNEL_CC} LD=${KERNEL_LD} - else - bbnote no modules to compile - fi -} -addtask compile_kernelmodules after do_compile before do_install - -kernel_do_install() { - # - # First install the modules - # - unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE - if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then -
Re: [oe] [RFC][meta-oe][PATCH 3/3] blacklist.bbclass: Move to meta-angstrom
On Mon, Jul 16, 2012 at 10:46 AM, Martin Jansa martin.ja...@gmail.com wrote: On Mon, Jul 16, 2012 at 10:38:36AM -0700, Khem Raj wrote: This class is angstrom specific so lets move it to more appropriate layer This is also used by SHR, that's why I've asked Koen to move blacklist from meta-angstrom to meta-oe before http://git.openembedded.org/meta-openembedded/commit/?id=68c15845d087df0a6f66c58a9fd80548a9bb3a59 OK, OE-Core also has blacklist implementation. Have you given a thought to use it ? Cheers, Signed-off-by: Khem Raj raj.k...@gmail.com --- meta-oe/classes/blacklist.bbclass | 20 1 file changed, 20 deletions(-) delete mode 100644 meta-oe/classes/blacklist.bbclass diff --git a/meta-oe/classes/blacklist.bbclass b/meta-oe/classes/blacklist.bbclass deleted file mode 100644 index 7bf4a73..000 --- a/meta-oe/classes/blacklist.bbclass +++ /dev/null @@ -1,20 +0,0 @@ -# anonymous support class from angstrom -# -# Features: -# -# * blacklist handling, set ANGSTROM_BLACKLIST_pn-blah = message -# - -python () { -import bb - -blacklist = bb.data.getVar(ANGSTROM_BLACKLIST, d, 1) -pkgnm = bb.data.getVar(PN, d, 1) -distro = bb.data.getVar(DISTRO, d, 1) - -if blacklist: - bb.note(%s DOES NOT support %s because %s % (distro,pkgnm, blacklist)) -raise bb.parse.SkipPackage(%s DOES NOT support %s because %s % (distro,pkgnm, blacklist)) - -} - -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [RFC][meta-oe][PATCH 1/3] kernel.bbclass: Rename to machine_kernel_pr.bbclass which provides added functionality
On Mon, Jul 16, 2012 at 10:50 AM, Martin Jansa martin.ja...@gmail.com wrote: There is also this change http://lists.linuxtogo.org/pipermail/openembedded-core/2012-April/021608.html which never made it to oe-core version.. I missed that part. That would need an enhancement in OE-Core to provide a variable to override uImage if a machine asks for. ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [RFC][meta-oe][PATCH 3/3] blacklist.bbclass: Move to meta-angstrom
On Mon, Jul 16, 2012 at 10:50:58AM -0700, Khem Raj wrote: On Mon, Jul 16, 2012 at 10:46 AM, Martin Jansa martin.ja...@gmail.com wrote: On Mon, Jul 16, 2012 at 10:38:36AM -0700, Khem Raj wrote: This class is angstrom specific so lets move it to more appropriate layer This is also used by SHR, that's why I've asked Koen to move blacklist from meta-angstrom to meta-oe before http://git.openembedded.org/meta-openembedded/commit/?id=68c15845d087df0a6f66c58a9fd80548a9bb3a59 OK, OE-Core also has blacklist implementation. Have you given a thought to use it ? Yes, but that would require distro config to be updated from ANGSTROM_BLACKLIST_PN to PNBLACKLIST[pn] at the same time this class is moved or duplicate all blacklist entries now and then remove ANGSTROM_BLACKLIST_PN after it's moved.. Cheers, Cheers, Signed-off-by: Khem Raj raj.k...@gmail.com --- meta-oe/classes/blacklist.bbclass | 20 1 file changed, 20 deletions(-) delete mode 100644 meta-oe/classes/blacklist.bbclass diff --git a/meta-oe/classes/blacklist.bbclass b/meta-oe/classes/blacklist.bbclass deleted file mode 100644 index 7bf4a73..000 --- a/meta-oe/classes/blacklist.bbclass +++ /dev/null @@ -1,20 +0,0 @@ -# anonymous support class from angstrom -# -# Features: -# -# * blacklist handling, set ANGSTROM_BLACKLIST_pn-blah = message -# - -python () { -import bb - -blacklist = bb.data.getVar(ANGSTROM_BLACKLIST, d, 1) -pkgnm = bb.data.getVar(PN, d, 1) -distro = bb.data.getVar(DISTRO, d, 1) - -if blacklist: - bb.note(%s DOES NOT support %s because %s % (distro,pkgnm, blacklist)) -raise bb.parse.SkipPackage(%s DOES NOT support %s because %s % (distro,pkgnm, blacklist)) - -} - -- 1.7.9.5 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [RFC][meta-oe][PATCH 3/3] blacklist.bbclass: Move to meta-angstrom
On Mon, Jul 16, 2012 at 10:58 AM, Martin Jansa martin.ja...@gmail.com wrote: Yes, but that would require distro config to be updated from ANGSTROM_BLACKLIST_PN to PNBLACKLIST[pn] at the same time this class is moved or duplicate all blacklist entries now and then remove ANGSTROM_BLACKLIST_PN after it's moved.. synchronisation can be worked out if you are willing. ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [RFC][meta-oe][PATCH 3/3] blacklist.bbclass: Move to meta-angstrom
On Mon, Jul 16, 2012 at 11:00:37AM -0700, Khem Raj wrote: On Mon, Jul 16, 2012 at 10:58 AM, Martin Jansa martin.ja...@gmail.com wrote: Yes, but that would require distro config to be updated from ANGSTROM_BLACKLIST_PN to PNBLACKLIST[pn] at the same time this class is moved or duplicate all blacklist entries now and then remove ANGSTROM_BLACKLIST_PN after it's moved.. synchronisation can be worked out if you are willing. Yes, it can and I'm willing to do it.. that's why haven't responded just with NACK :). Cheers, -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [oe-commits] Andreas Müller : systemd.bbclass: add *-systemd packages to RRECOMMENDS
On Mon, Jul 16, 2012 at 07:42:56AM +, g...@git.openembedded.org wrote: Module: meta-openembedded.git Branch: master Commit: 264e5a44ef939b43c11bb9514a0b435918db URL: http://git.openembedded.org/?p=meta-openembedded.gita=commit;h=264e5a44ef939b43c11bb9514a0b435918db Author: Andreas Müller schnitzelt...@googlemail.com Date: Wed Jul 11 20:46:07 2012 +0200 systemd.bbclass: add *-systemd packages to RRECOMMENDS This is a bit unfortunate e.g. when busybox is used in small chroot image. busybox pulls busybox-syslog, which now adds busybox-syslog-systemd and it ends with systemd/dbus/udev/shadow/pam/util-linux/kmod being added to previously small image, see: http://git.shr-project.org/git/?p=buildhistory.git;a=blobdiff;f=images/crespo/eglibc/chroot-image/installed-package-names.txt;h=07187b9e51bd0199910152a8019d117ed41cc2db;hp=8f401e657dd449e30fe8183dc86a791d09614d9f;hb=ac04304bb15221b49e5af6838068f158e7d628ed;hpb=4c0555e7fa689c3c20902c7fc1ec8e525769723f So it could be solved by image specific BAD_RECOMMENDATIONs or something like that, but by default it doesn't work very well in this use-case. Cheers, --- meta-systemd/classes/systemd.bbclass | 26 ++ 1 files changed, 22 insertions(+), 4 deletions(-) diff --git a/meta-systemd/classes/systemd.bbclass b/meta-systemd/classes/systemd.bbclass index 2e585c3..fce314d 100644 --- a/meta-systemd/classes/systemd.bbclass +++ b/meta-systemd/classes/systemd.bbclass @@ -180,8 +180,21 @@ python populate_packages_prepend () { raise bb.build.FuncFailed, \n\nFor package %s SYSTEMD_SERVICE-entry %s does not exist % \ (pkg_systemd, service) - # *-systemd packages get RDEPENDS to systemd and their base package - def systemd_add_rdepends(pkg_systemd): + Setup rdepends / rrecommmends as: + +- +| pkg_systemd_base: 'foo' | +- + |^ + || -- + rrecommends || rdepends| 'systemd' | + || --- + V| / rdepends +--/ +| pkg_systemd: 'foo-systemd' | +-- + + def systemd_add_rdepends_rrecommends(pkg_systemd): # RDEPENDS_${pkg_systemd} += pkg_systemd_base systemd rdepends = d.getVar('RDEPENDS_' + pkg_systemd, 1) or rdepends_arr = rdepends.split() @@ -195,13 +208,18 @@ python populate_packages_prepend () { if len(rdepends_arr) == 0 and pkg_systemd != '${PN}' and not pkg_systemd_base in rdepends: rdepends = '%s %s' % (rdepends, pkg_systemd_base) d.setVar('RDEPENDS_' + pkg_systemd, rdepends) - + # RRECOMMENDS_${pkg_systemd_base} += pkg_systemd systemd + rrecommends = d.getVar('RRECOMMENDS_' + pkg_systemd_base, 1) or + # not rrecommending myself AND avoid double entries + if pkg_systemd != pkg_systemd_base and not pkg_systemd in rrecommends.split(): + rrecommends = '%s %s' % (rrecommends, pkg_systemd) + d.setVar('RRECOMMENDS_' + pkg_systemd_base, rrecommends) # run all modifications once when creating package if os.path.exists('${D}'): for pkg_systemd in d.getVar('SYSTEMD_PACKAGES', 1).split(): if get_package_var(d, 'SYSTEMD_SERVICE', pkg_systemd) != : systemd_generate_package_scripts(pkg_systemd) - systemd_add_rdepends(pkg_systemd) + systemd_add_rdepends_rrecommends(pkg_systemd) systemd_check_services() } ___ Openembedded-commits mailing list openembedded-comm...@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-commits -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com signature.asc Description: Digital signature ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [meta-oe][PATCH] pulseaudio: add patch to fix build with new udev API provided by systemd recipe
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- .../pulseaudio/pulseaudio-2.0-udev-symbols.patch | 80 .../pulseaudio/pulseaudio_1.1.bbappend |5 + 2 files changed, 85 insertions(+), 0 deletions(-) create mode 100644 meta-systemd/oe-core/recipes-multimedia/pulseaudio/pulseaudio/pulseaudio-2.0-udev-symbols.patch create mode 100644 meta-systemd/oe-core/recipes-multimedia/pulseaudio/pulseaudio_1.1.bbappend diff --git a/meta-systemd/oe-core/recipes-multimedia/pulseaudio/pulseaudio/pulseaudio-2.0-udev-symbols.patch b/meta-systemd/oe-core/recipes-multimedia/pulseaudio/pulseaudio/pulseaudio-2.0-udev-symbols.patch new file mode 100644 index 000..1ad720b --- /dev/null +++ b/meta-systemd/oe-core/recipes-multimedia/pulseaudio/pulseaudio/pulseaudio-2.0-udev-symbols.patch @@ -0,0 +1,80 @@ +From 2e64edbd3e12145950ccd952bb7984a4420b8c02 Mon Sep 17 00:00:00 2001 +From: Marc-Antoine Perennou marc-anto...@perennou.com +Date: Thu, 17 May 2012 22:50:22 +0200 +Subject: [PATCH] udev: Don't use deprecated udev_get_*_path() functions + +[These symbols were removed in libudev.so.1.0.0. Replace them with +hardcoded strings. -- heftig] + +Signed-off-by: Marc-Antoine Perennou marc-anto...@perennou.com +--- + src/modules/module-udev-detect.c |9 +++-- + src/modules/udev-util.c |4 ++-- + 2 files changed, 5 insertions(+), 8 deletions(-) + +diff --git a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c +index 1192194..31416bd 100644 +--- a/src/modules/module-udev-detect.c b/src/modules/module-udev-detect.c +@@ -123,7 +123,7 @@ static char *card_get_sysattr(const char *card_idx, const char *name) { + goto finish; + } + +-t = pa_sprintf_malloc(%s/class/sound/card%s, udev_get_sys_path(udev), card_idx); ++t = pa_sprintf_malloc(/sys/class/sound/card%s, card_idx); + card = udev_device_new_from_syspath(udev, t); + pa_xfree(t); + +@@ -282,7 +282,7 @@ static void verify_access(struct userdata *u, struct device *d) { + pa_assert(u); + pa_assert(d); + +-cd = pa_sprintf_malloc(%s/snd/controlC%s, udev_get_dev_path(u-udev), path_get_card_id(d-path)); ++cd = pa_sprintf_malloc(/dev/snd/controlC%s, path_get_card_id(d-path)); + accessible = access(cd, R_OK|W_OK) = 0; + pa_log_debug(%s is accessible: %s, cd, pa_yes_no(accessible)); + +@@ -621,7 +621,6 @@ fail: + } + + static int setup_inotify(struct userdata *u) { +-char *dev_snd; + int r; + + if (u-inotify_fd = 0) +@@ -632,9 +631,7 @@ static int setup_inotify(struct userdata *u) { + return -1; + } + +-dev_snd = pa_sprintf_malloc(%s/snd, udev_get_dev_path(u-udev)); +-r = inotify_add_watch(u-inotify_fd, dev_snd, IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF); +-pa_xfree(dev_snd); ++r = inotify_add_watch(u-inotify_fd, /dev/snd, IN_ATTRIB|IN_CLOSE_WRITE|IN_DELETE_SELF|IN_MOVE_SELF); + + if (r 0) { + int saved_errno = errno; +diff --git a/src/modules/udev-util.c b/src/modules/udev-util.c +index 2f18bc4..b0bb17d 100644 +--- a/src/modules/udev-util.c b/src/modules/udev-util.c +@@ -180,7 +180,7 @@ int pa_udev_get_info(int card_idx, pa_proplist *p) { + goto finish; + } + +-t = pa_sprintf_malloc(%s/class/sound/card%i, udev_get_sys_path(udev), card_idx); ++t = pa_sprintf_malloc(/sys/class/sound/card%i, card_idx); + card = udev_device_new_from_syspath(udev, t); + pa_xfree(t); + +@@ -277,7 +277,7 @@ char* pa_udev_get_property(int card_idx, const char *name) { + goto finish; + } + +-t = pa_sprintf_malloc(%s/class/sound/card%i, udev_get_sys_path(udev), card_idx); ++t = pa_sprintf_malloc(/sys/class/sound/card%i, card_idx); + card = udev_device_new_from_syspath(udev, t); + pa_xfree(t); + +-- +1.7.8.6 + diff --git a/meta-systemd/oe-core/recipes-multimedia/pulseaudio/pulseaudio_1.1.bbappend b/meta-systemd/oe-core/recipes-multimedia/pulseaudio/pulseaudio_1.1.bbappend new file mode 100644 index 000..3e81365 --- /dev/null +++ b/meta-systemd/oe-core/recipes-multimedia/pulseaudio/pulseaudio_1.1.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := ${THISDIR}/${PN}: + +SRC_URI += file://pulseaudio-2.0-udev-symbols.patch + +PRINC := ${@int(PRINC) + 1} -- 1.7.8.6 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [meta-browser][PATCH] chromium: restrict COMPATIBLE_MACHINE to any armv6 or armv7a MACHINE
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- recipes-browser/chromium/chromium_19.0.1049.3.bb |5 + recipes-browser/chromium/chromium_20.0.1086.0.bb |5 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/recipes-browser/chromium/chromium_19.0.1049.3.bb b/recipes-browser/chromium/chromium_19.0.1049.3.bb index 4c9de8e..e657c48 100644 --- a/recipes-browser/chromium/chromium_19.0.1049.3.bb +++ b/recipes-browser/chromium/chromium_19.0.1049.3.bb @@ -10,6 +10,11 @@ SRC_URI = http://commondatastorage.googleapis.com/chromium-browser-official/${P file://softfloat-fix.patch \ +# include.gypi exists only for armv6 and armv7a and there isn't something like COMPATIBLE_ARCH afaik +COMPATIBLE_MACHINE = (-) +COMPATIBLE_MACHINE_armv6 = (.*) +COMPATIBLE_MACHINE_armv7a = (.*) + PR = r1 SRC_URI[md5sum] = 0cdd94b2be21180af93f719e9a9a2883 diff --git a/recipes-browser/chromium/chromium_20.0.1086.0.bb b/recipes-browser/chromium/chromium_20.0.1086.0.bb index 47f0173..527f317 100644 --- a/recipes-browser/chromium/chromium_20.0.1086.0.bb +++ b/recipes-browser/chromium/chromium_20.0.1086.0.bb @@ -7,6 +7,11 @@ SRC_URI = http://commondatastorage.googleapis.com/chromium-browser-official/${P file://include.gypi \ +# include.gypi exists only for armv6 and armv7a and there isn't something like COMPATIBLE_ARCH afaik +COMPATIBLE_MACHINE = (-) +COMPATIBLE_MACHINE_armv6 = (.*) +COMPATIBLE_MACHINE_armv7a = (.*) + DEFAULT_PREFERENCE = -1 SRC_URI[md5sum] = 86535af2d00d157b358e8fd6fb6ad38c -- 1.7.8.6 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-browser][PATCH] chromium: restrict COMPATIBLE_MACHINE to any armv6 or armv7a MACHINE
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 16-07-12 21:24, Martin Jansa schreef: Signed-off-by: Martin Jansa martin.ja...@gmail.com --- recipes-browser/chromium/chromium_19.0.1049.3.bb |5 + recipes-browser/chromium/chromium_20.0.1086.0.bb |5 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/recipes-browser/chromium/chromium_19.0.1049.3.bb b/recipes-browser/chromium/chromium_19.0.1049.3.bb index 4c9de8e..e657c48 100644 --- a/recipes-browser/chromium/chromium_19.0.1049.3.bb +++ b/recipes-browser/chromium/chromium_19.0.1049.3.bb @@ -10,6 +10,11 @@ SRC_URI = http://commondatastorage.googleapis.com/chromium-browser-official/${P file://softfloat-fix.patch \ +# include.gypi exists only for armv6 and armv7a and there isn't something like COMPATIBLE_ARCH afaik +COMPATIBLE_MACHINE = (-) +COMPATIBLE_MACHINE_armv6 = (.*) +COMPATIBLE_MACHINE_armv7a = (.*) + PR = r1 SRC_URI[md5sum] = 0cdd94b2be21180af93f719e9a9a2883 diff --git a/recipes-browser/chromium/chromium_20.0.1086.0.bb b/recipes-browser/chromium/chromium_20.0.1086.0.bb index 47f0173..527f317 100644 --- a/recipes-browser/chromium/chromium_20.0.1086.0.bb +++ b/recipes-browser/chromium/chromium_20.0.1086.0.bb @@ -7,6 +7,11 @@ SRC_URI = http://commondatastorage.googleapis.com/chromium-browser-official/${P file://include.gypi \ +# include.gypi exists only for armv6 and armv7a and there isn't something like COMPATIBLE_ARCH afaik COMPATIBLE_HOST -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Darwin) Comment: GPGTools - http://gpgtools.org iD8DBQFQBGwgMkyGM64RGpERAkalAJ9L4B9WgeMXcqgJkYZIu1QgbQ2bvgCfRpFB C4ukDSjXiVL0tSjgxFePQUA= =Wnan -END PGP SIGNATURE- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-browser][PATCH] chromium: restrict COMPATIBLE_MACHINE to any armv6 or armv7a MACHINE
Le Mon, 16 Jul 2012 21:24:58 +0200, Martin Jansa martin.ja...@gmail.com a écrit : Signed-off-by: Martin Jansa martin.ja...@gmail.com --- recipes-browser/chromium/chromium_19.0.1049.3.bb |5 + recipes-browser/chromium/chromium_20.0.1086.0.bb |5 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/recipes-browser/chromium/chromium_19.0.1049.3.bb b/recipes-browser/chromium/chromium_19.0.1049.3.bb index 4c9de8e..e657c48 100644 --- a/recipes-browser/chromium/chromium_19.0.1049.3.bb +++ b/recipes-browser/chromium/chromium_19.0.1049.3.bb @@ -10,6 +10,11 @@ SRC_URI = http://commondatastorage.googleapis.com/chromium-browser-official/${P file://softfloat-fix.patch \ +# include.gypi exists only for armv6 and armv7a and there isn't applied thanks, and if anyone want to adapt these recipes to other archs : feel free to send patches ;-) Eric ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
[oe] [meta-browser][PATCH] chromium: use COMPATIBLE_HOST instead of COMPATIBLE_MACHINE
Signed-off-by: Martin Jansa martin.ja...@gmail.com --- recipes-browser/chromium/chromium_19.0.1049.3.bb |6 ++ recipes-browser/chromium/chromium_20.0.1086.0.bb |4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/recipes-browser/chromium/chromium_19.0.1049.3.bb b/recipes-browser/chromium/chromium_19.0.1049.3.bb index e657c48..97843a3 100644 --- a/recipes-browser/chromium/chromium_19.0.1049.3.bb +++ b/recipes-browser/chromium/chromium_19.0.1049.3.bb @@ -10,10 +10,8 @@ SRC_URI = http://commondatastorage.googleapis.com/chromium-browser-official/${P file://softfloat-fix.patch \ -# include.gypi exists only for armv6 and armv7a and there isn't something like COMPATIBLE_ARCH afaik -COMPATIBLE_MACHINE = (-) -COMPATIBLE_MACHINE_armv6 = (.*) -COMPATIBLE_MACHINE_armv7a = (.*) +# include.gypi exists only for armv6 and armv7a +COMPATIBLE_HOST = (armv6|armv7).*-linux PR = r1 diff --git a/recipes-browser/chromium/chromium_20.0.1086.0.bb b/recipes-browser/chromium/chromium_20.0.1086.0.bb index 527f317..d1ae7e5 100644 --- a/recipes-browser/chromium/chromium_20.0.1086.0.bb +++ b/recipes-browser/chromium/chromium_20.0.1086.0.bb @@ -8,9 +8,7 @@ SRC_URI = http://commondatastorage.googleapis.com/chromium-browser-official/${P # include.gypi exists only for armv6 and armv7a and there isn't something like COMPATIBLE_ARCH afaik -COMPATIBLE_MACHINE = (-) -COMPATIBLE_MACHINE_armv6 = (.*) -COMPATIBLE_MACHINE_armv7a = (.*) +COMPATIBLE_HOST = (armv6|armv7).*-linux DEFAULT_PREFERENCE = -1 -- 1.7.8.6 ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] Proposal: Creating meta-networking
On Friday 13 July 2012 16:58:00 Paul Eggleton wrote: On Thursday 12 July 2012 15:57:52 Joe MacDonald wrote: - systemd Despite what I said yesterday Andreas has come through with v2 of the patch series this morning, so assuming that's in good shape, it looks like we should be on track to do the meta-systemd split and then meta-networking after that, which will save a whole lot of hassle. It probably will be necessary to patch meta-systemd at the same time to move the meta-networking parts into a subdirectory so they can be masked out if desired, but that's a trivial exercise. Following up, the meta-systemd split-out has now been merged, so this should no longer be a blocker. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: [oe] [meta-xilinx] xilinx-kernel.bbclass: Fix support for binary device tree generation.
Applied. Thanks! On Sun, Jul 15, 2012 at 1:16 PM, Elvis Dowson elvis.dow...@gmail.com wrote: This commit fixes support for binary device tree generation, which was broken as a result of commit 8c904eb643ad8ca1bc29cb2d870a80b355dcb341 in oe-core: linux-dtb: add multi-dtb build support including following enhancement: * support multi-dtb build * skip dtb build and install when KERNEL_DEVICETREE is empty * print a warning message when specified dts file is not available Signed-off-by: Elvis Dowson elvis.dow...@gmail.com --- classes/xilinx-kernel.bbclass | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/classes/xilinx-kernel.bbclass b/classes/xilinx-kernel.bbclass index 14f4c7d..7c51b3d 100644 --- a/classes/xilinx-kernel.bbclass +++ b/classes/xilinx-kernel.bbclass @@ -22,16 +22,14 @@ def device_tree(a, d): board = bb.data.getVar('XILINX_BOARD', d, 1) cpu = bb.data.getVar('TARGET_CPU', d, 1) - if re.match('powerpc', a): target = cpu + '-' + board -dts = 'arch/' + a + '/boot/dts/virtex' + target + '.dts' +dts = '${S}/arch/' + a + '/boot/dts/virtex' + target + '.dts' else: target = 'system' -dts = 'arch/' + a + '/boot/dts/' + target + '.dts' +dts = '${S}/arch/' + a + '/boot/dts/' + target + '.dts' bb.data.setVar('KERNEL_TARGET', target, d) - return dts @@ -44,10 +42,10 @@ if [ -n ${XILINX_BSP_PATH} ]; then if [ -e $dts ]; then bbnote Xilinx BSP device tree located in: ${dts} if [ ${TARGET_ARCH} = powerpc ]; then - bbnote Replacing linux kernel powerpc device tree to match located hardware model + bbnote Replacing linux kernel powerpc device tree to match located hardware model: virtex${KERNEL_TARGET}.dts cp -pP ${dts} ${S}/arch/powerpc/boot/dts/virtex${KERNEL_TARGET}.dts else - bbnote Replacing linux kernel microblaze device tree to match located hardware model + bbnote Replacing linux kernel microblaze device tree to match located hardware model: ${KERNEL_TARGET}.dts cp -pP ${dts} ${S}/arch/microblaze/platform/generic/${KERNEL_TARGET}.dts fi else -- 1.7.9.5 -- Saludos Adrian Alonso http://aalonso.wordpress.com ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel