Re: [OE-core] [PATCH][Morty] binutils-2.27.inc: Fix alignment frags for aarch64

2017-01-18 Thread Mike Looijmans
Ping, this has been applied to master Thanks Manju Kind regards, Mike Looijmans System Expert TOPIC Products Materiaalweg 4, NL-5681 RJ Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 E-mail: mike.looijm...@topicproducts.com Website: www.topicproducts.com Please consider t

[OE-core] [morty] Please include the binutils-2.27 alignment frags for aarch64

2017-01-13 Thread Mike Looijmans
days) fails to build in the morty branch. Kind regards, Mike Looijmans System Expert TOPIC Products Materiaalweg 4, NL-5681 RJ Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 E-mail: mike.looijm...@topicproducts.com Website: www.topicproducts.com Please consider the environ

[OE-core] [PATCH] linux-firmware: Split out Realtek chipsets rtl8188 rtl8723 rtl8821

2016-12-15 Thread Mike Looijmans
Add rtl8188 rtl8712 rtl8723 rtl8821 packages to install only firmware for the corresponding chipset. Uses a rather blunt approach by simply adding all firmware files with matching prefix, to keep the package count down a bit. Signed-off-by: Mike Looijmans --- .../recipes-kernel/linux-firmware

Re: [OE-core] Kernel: Builds use old version of defconfig

2016-11-29 Thread Mike Looijmans
On 29-11-16 03:03, Khem Raj wrote: On Nov 24, 2016, at 5:55 AM, Bruce Ashfield mailto:bruce.ashfi...@gmail.com>> wrote: On Thu, Nov 24, 2016 at 5:32 AM, Mike Looijmans mailto:mike.looijm...@topic.nl>> wrote: On 24-11-16 11:10, Mike Looijmans wrote: I'm curre

Re: [OE-core] [PATCH 2/2] base-passwd: set root's default password to 'root'

2016-11-24 Thread Mike Looijmans
the internet without a "gap" where you could access it with a trivial password. Having written that, a bit more thought on the initial access is good. I for one would be glad to get rid of the aforementioned workaround. Kind regards, Mike Looijmans System Expert TOPIC Products Materiaa

Re: [OE-core] Kernel: Builds use old version of defconfig

2016-11-24 Thread Mike Looijmans
On 24-11-16 11:10, Mike Looijmans wrote: I'm currently experiencing a problem with "defconfig" files and the kernel. In short, when I make a change to the "defconfig" file, the kernel is rebuilt (which is correct), but the resulting kernel has been built using the old

[OE-core] Kernel: Builds use old version of defconfig

2016-11-24 Thread Mike Looijmans
bake -c cleansstate virtual/kernel" and build the image again: # gunzip < /proc/config.gz | grep DEVMEM CONFIG_DEVMEM=y After cleaning, the result is correct and the new defconfig is active. I'm trying to figure out how this can happen, any help is welcome... Kind regards, Mike Looijmans

[OE-core] Creating 'wic' image

2016-11-14 Thread Mike Looijmans
in an error that I should set WKS_FILE but I have no clue as to what file that should point to. Running wic manually just results in more missing variables that I can't find what to specify in them... Kind regards, Mike Looijmans System Expert TOPIC Products Materiaalweg 4, NL-5681 RJ

[OE-core] [PATCH] busybox/mdev.conf: Ignore eMMC RPMB and boot block devices

2016-11-01 Thread Mike Looijmans
eMMC devices may report block devices like "mmcblk0rpmb" and "mmcblk0boot0". These are not actually block devices and any read/write operation on them will fail. To prevent spamming error messages attempting to mount them, just ignore these devices. Signed-off-by: Mike

Re: [OE-core] [PATCH 0/2] Re-add piglit to sdk images

2016-10-19 Thread Mike Looijmans
sn't warranted here. busybox could RRPOVIDE tar? If we go down that road, we'd end up with a busybox that RPROVIDES a hundred and one utilities. I doubt anyone will be happy with that... Kind regards, Mike Looijmans System Expert TOPIC Products Materiaalweg 4, NL-5681 RJ Best Postbus

Re: [OE-core] Replacement for tslib?

2016-08-31 Thread Mike Looijmans
On 31-08-16 18:57, Richard Purdie wrote: On Wed, 2016-08-31 at 17:42 +0200, Enrico Scholz wrote: Hello, tslib is more or less mandatory for resistive touchscreens but it was removed some days ago. This breaks e.g. meta-qt5 layer which depends on it. Is this removal really final (which would b

Re: [OE-core] [PATCH] initscripts: Start devpts at 06 instead of 38

2016-08-31 Thread Mike Looijmans
On 31-08-16 15:22, Mike Looijmans wrote: For example bootlogd needs devpts to be running, but bootlogd starts at 07. Starting bootlogd early makes perfect sense, so the best option here is to move devpts up to 06 to prevent this error message at boot: cannot allocate pseudo tty: No such file or

[OE-core] [PATCH] initscripts: Start devpts at 06 instead of 38

2016-08-31 Thread Mike Looijmans
CONFIG_LEGACY_PTYS in the kernel will not see this message. Since it is called "LEGACY" for a reason, fixing this in userspace appears to be the better option here. The devpts script does not need anything except a mounted "/dev" which has been arranged in "S02sysfs.sh" already.

Re: [OE-core] inherit allarch and use RDEPENDS

2016-08-24 Thread Mike Looijmans
On 24-08-16 09:18, Richard Purdie wrote:> On Wed, 2016-08-24 at 08:35 +0200, Mike Looijmans wrote:>> First time I've heard about this limitation, I don't understand>> what's this about either. I've been telling people to put their arch>> or machine

Re: [OE-core] inherit allarch and use RDEPENDS

2016-08-23 Thread Mike Looijmans
which would highlight such> a problem.>> There are various open bugs complaining about this situation however> I've yet to come up with a way which solves the problem perfectly, much> as I'd like to.I'm totally in the d

Re: [OE-core] Broken "bitbake -S printdiff" in current OE

2016-08-22 Thread Mike Looijmans
On 23-08-16 08:18, Mike Looijmans wrote:> Was attempting to figure out why something wasn't being grabbed from the> sstate-cache, but running "bitbake -S printdiff qt4-embedded" only yields tons> of lines like this:>> WARNING: /home/mike/.../bitbake/lib/bb/run

[OE-core] [PATCH] lib/bb/siggen.py: Prevent ResourceWarning exceptions

2016-08-22 Thread Mike Looijmans
Add a "with" statement to explicitly close files. This prevents hundreds of "ResourceWarning: unclosed file" outputs. Signed-off-by: Mike Looijmans --- lib/bb/siggen.py | 309 --- 1 file changed, 155 insertions(+), 154 dele

[OE-core] Broken "bitbake -S printdiff" in current OE

2016-08-22 Thread Mike Looijmans
nothing useful came out.   Kind regards,   Mike Looijmans System Expert   TOPIC Products     Materiaalweg 4     5681 RJ Best T: +31 (0) 499 33 69 69

Re: [OE-core] [PATCH] dropbear/init: Allow extra arguments for key generation

2016-08-17 Thread Mike Looijmans
Ping!Any comments?On 09-08-16 13:36, Mike Looijmans wrote:> This patch adds DROPBEAR_RSAKEY_ARGS and DROPBEAR_DSSKEY_ARGS optional> parameters to /etc/default/dropbear. The contents are simply passed to> the 'dropbearkey' program when generating a host key.>> The d

Re: [OE-core] how build but do not install package

2016-08-09 Thread Mike Looijmans
age recipe:DEPENDS += "package-that-i-want-built-but-not-installed another-package"> How to create group of packages and rebuild them if something is changed, but> do not install into SDK or image.Create a recipe that DEPENDS on the group, and add that recipe to y

Re: [OE-core] "parted" vs "sfdisk"

2016-08-09 Thread Mike Looijmans
could handle (e.g. >2TB disks). Don't know if that's still the case.   Kind regards,   Mike Looijmans System Expert   TOPIC Products     Materiaalweg 4     5681 RJ B

[OE-core] [PATCH] dropbear/init: Allow extra arguments for key generation

2016-08-09 Thread Mike Looijmans
nerated in about 0.2 seconds on the same CPU. This is particulary useful for read-only rootfs systems which generate a key on each boot. Signed-off-by: Mike Looijmans --- resubmitted: Added the [OE-core] prefix meta/recipes-core/dropbear/dropbear/init | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

Re: [OE-core] [PATCH] kernel.bbclass: add lzop dependency

2016-08-09 Thread Mike Looijmans
I've been adding "lzop-native" to a lot of kernel recipes because you also need it when generating an LZO compressed kernel (I like my boot time to be under 1 second). It's a small dependency which is hard to automatically figure out, since there are a number of ways to trigger it (we just fou

[OE-core] [PATCH] dropbear/init: Allow extra arguments for key generation

2016-08-09 Thread Mike Looijmans
nerated in about 0.2 seconds on the same CPU. This is particulary useful for read-only rootfs systems which generate a key on each boot. Signed-off-by: Mike Looijmans --- meta/recipes-core/dropbear/dropbear/init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-co

Re: [OE-core] [PATCH 28/45] swig: move to Python 3

2016-05-27 Thread Mike Looijmans
n to the state before the transition or attempt to maintain a "python-2" fork. Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 E-mail: mike.looijm...@topicproducts.com Web

Re: [OE-core] PRServer's problem

2016-05-20 Thread Mike Looijmans
way, and an alternative way maybe add a var so that the user can configure it: PR_CHECKSUM = "${BB_TASKHASH}" (current way) Or PR_CHECKSUM = "" Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK B

Re: [OE-core] Staging machine specific kernel headers in sysroot

2016-04-04 Thread Mike Looijmans
ound the header being "kernel" related is to create a second recipe referring the same repository as the module, but that just installs the header. That turns it into a simple "library" dependency instead of making things machine-specific. Kind regards, Mike Looijmans Sys

[OE-core] [PATCH] ffmpeg: Remove RSUGGEST=mplayer

2016-03-19 Thread Mike Looijmans
This line causes 'mplayer' to be built unless one explicitly removes it. There are plenty uses for ffmpeg that don't involve a player, so the "suggestion" doesn't make sense. Signed-off-by: Mike Looijmans --- meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | 1

[OE-core] How to avoid the poisoned sysroot?

2016-03-19 Thread Mike Looijmans
After this commit: http://comments.gmane.org/gmane.comp.handhelds.openembedded.scm/81849 some recipes fail with strange errors like: "fatal error: stdint.h: No such file or directory" What is wrong with the target recipe when this happens? What's expected of me? --

Re: [OE-core] [PATCH] base.bbclass wipe ${S} before unpacking source

2016-03-04 Thread Mike Looijmans
. [YOCTO #9064] Signed-off-by: Markus Lehtonen --- meta/classes/base.bbclass | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) ... -- Mike Looijmans -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http

Re: [OE-core] Default value for FULL_OPTIMIZATION

2016-02-04 Thread Mike Looijmans
requests in the queue, and it suddenly might take seconds to perform that simple request. Even on SSD, this will happen and give a noticable drop in performance. You might want to run that test while reading your disk (dd if=/dev/sda of=/dev/null) and see what happens. Kind regards, Mike L

Re: [OE-core] Default value for FULL_OPTIMIZATION

2016-02-02 Thread Mike Looijmans
s incorrect. Maybe somebody can shed some light on this. Regards Pascal Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 E-mail: mike.looijm...@topicproducts.com Website: www.to

Re: [OE-core] [PATCH] stress-ng: add 0.05.09

2016-01-27 Thread Mike Looijmans
ill ever read, but it won't make a difference in the output. // Robert + +do_install() { +oe_runmake DESTDIR=${D} install +} Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 49

Re: [OE-core] Lots of [host-user-contaminated] warning

2016-01-18 Thread Mike Looijmans
This fixes these QA warnings in a more structured way than running a blunt "chown root:root ..." Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 E-mail: mike.looijm..

Re: [OE-core] [PATCH 1/8] bitbake.conf: set CONFFILES by default

2016-01-16 Thread Mike Looijmans
developer or power user. But remember that the majority of the end users are less tech savvy, and just use a "box" with software that happens to be built by OpenEmbedded, which they never heard of. What has changed since the last discussion? Nothing relevant... -- Mike Loo

Re: [OE-core] [PATCH 1/8] bitbake.conf: set CONFFILES by default

2016-01-16 Thread Mike Looijmans
On 15-01-16 07:37, Robert Yang wrote: On 01/15/2016 02:27 PM, Mike Looijmans wrote: How about /etc/init.d and /etc/rcS.d? Are these now suddenly CONFFILES too? For /etc/init.d/*, yes, and I think that they should be CONFFILES. Startup scripts are config files? Wow that's news to me.

Re: [OE-core] [PATCH 1/8] bitbake.conf: set CONFFILES by default

2016-01-14 Thread Mike Looijmans
confdir} ${sharedstatedir} ${localstatedir} \ Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 E-mail: mike.looijm...@topicproducts.com Website: www.topicproducts.c

[OE-core] busybox can no longer upgrade on a running system

2016-01-10 Thread Mike Looijmans
ne way to work around the problem appears to be to remove "/bin/sh" from the busybox.links.nosuid file, so that update-alternatives won't touch it. I haven't figured out yet what caused the regression. It's probab

Re: [OE-core] Getting "menuconfig" to work again?

2016-01-08 Thread Mike Looijmans
On 01-01-16 18:58, Paul Eggleton wrote: Hi Mike, On Fri, 01 Jan 2016 10:18:55 Mike Looijmans wrote: On 31-12-15 18:04, Leonardo Sandoval wrote: On 12/31/2015 07:58 AM, Mike Looijmans wrote: On 31-12-15 14:55, Mike Looijmans wrote: When running a "menuconfig" (or any other task th

Re: [OE-core] Getting "menuconfig" to work again?

2016-01-01 Thread Mike Looijmans
On 31-12-15 18:04, Leonardo Sandoval wrote: On 12/31/2015 07:58 AM, Mike Looijmans wrote: On 31-12-15 14:55, Mike Looijmans wrote: When running a "menuconfig" (or any other task that needs a terminal), bitbake just "stops" and doesn't show any terminal. I'm u

Re: [OE-core] Getting "menuconfig" to work again?

2015-12-31 Thread Mike Looijmans
On 31-12-15 14:55, Mike Looijmans wrote: When running a "menuconfig" (or any other task that needs a terminal), bitbake just "stops" and doesn't show any terminal. I'm using the current master branch of everything, on Ubuntu 15. When running with "-D&q

[OE-core] Getting "menuconfig" to work again?

2015-12-31 Thread Mike Looijmans
ing task do_menuconfig DEBUG: Attempting to spawn terminal "custom" DEBUG: No custom terminal (OE_TERMINAL_CUSTOMCMD) set DEBUG: Attempting to spawn terminal "tmux-running" DEBUG: Attempting to spawn terminal "tmux-new-window" DEBUG: Attempting to spawn ter

Re: [OE-core] [PATCH] libav: Add "--enable-gpl" to PACKAGECONFIG[x264]

2015-12-23 Thread Mike Looijmans
hmm, apparently there's already a "gpl" PACKAGECONFIG item. I don't think we have dependencies in that, so there's no easy way to tell people that "if you include 'x264' in the list you must include 'gpl' as well"? I guess this patch bet

[OE-core] [PATCH] libav: Add "--enable-gpl" to PACKAGECONFIG[x264]

2015-12-23 Thread Mike Looijmans
Building libav resulted in the following message during configure: libx264 is gpl and --enable-gpl is not specified. Resolve it by adding --enable-gpl to the x264 package config. Signed-off-by: Mike Looijmans --- meta/recipes-multimedia/libav/libav.inc | 2 +- 1 file changed, 1 insertion

Re: [OE-core] How to move a recipe to another directory without invalidating its sstate-cache?

2015-12-17 Thread Mike Looijmans
On 17-12-15 07:24, Mike Looijmans wrote: On 16-12-15 14:33, Richard Purdie wrote: On Wed, 2015-12-16 at 14:18 +0100, Mike Looijmans wrote: On 16-12-15 13:35, Richard Purdie wrote: On Wed, 2015-12-16 at 10:38 +0100, Mike Looijmans wrote: I renamed "recipes-some/foo/bar.bb" t

Re: [OE-core] How to move a recipe to another directory without invalidating its sstate-cache?

2015-12-17 Thread Mike Looijmans
On 16-12-15 14:33, Richard Purdie wrote: On Wed, 2015-12-16 at 14:18 +0100, Mike Looijmans wrote: On 16-12-15 13:35, Richard Purdie wrote: On Wed, 2015-12-16 at 10:38 +0100, Mike Looijmans wrote: I renamed "recipes-some/foo/bar.bb" to "recipes -some/buzz/bar.bb" Re

Re: [OE-core] How to move a recipe to another directory without invalidating its sstate-cache?

2015-12-16 Thread Mike Looijmans
On 16-12-15 14:18, Mike Looijmans wrote: On 16-12-15 13:35, Richard Purdie wrote: On Wed, 2015-12-16 at 10:38 +0100, Mike Looijmans wrote: I renamed "recipes-some/foo/bar.bb" to "recipes-some/buzz/bar.bb" Rebuilding bar and its dependencies will take about 16 hours

Re: [OE-core] How to move a recipe to another directory without invalidating its sstate-cache?

2015-12-16 Thread Mike Looijmans
On 16-12-15 13:35, Richard Purdie wrote: On Wed, 2015-12-16 at 10:38 +0100, Mike Looijmans wrote: I renamed "recipes-some/foo/bar.bb" to "recipes-some/buzz/bar.bb" Rebuilding bar and its dependencies will take about 16 hours. So I don't want to trigger a rebu

[OE-core] How to move a recipe to another directory without invalidating its sstate-cache?

2015-12-16 Thread Mike Looijmans
cted the "foo" and "buzz" words to be present anywhere. The recipe itself doesn't use or need a configure step. But my primary question is now: What variable can I set to prevent a rebuild? Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovense

Re: [OE-core] [RFC] Use libjpeg-turbo in place of libjpeg

2015-11-27 Thread Mike Looijmans
en upgrading from one to the other. Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 Telefax: +31 (0) 499 33 69 70 E-mail: mike.looijm...@topicproducts.com Website: www.top

Re: [OE-core] [PATCH v2] util-linux: create util-linux-runuser package

2015-11-10 Thread Mike Looijmans
DS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup util-linux-sulogin util-linux-runuser" I think that will need to be conditional. Without pam, you won't be able to install util-linux because of the missing util-linux-runuser dependency. RRECOMMENDS_${PN} =

Re: [OE-core] Problem with RDEPENDS in multimachine builds for allarch packages

2015-10-27 Thread Mike Looijmans
On 27-10-15 09:36, Richard Purdie wrote: On Tue, 2015-10-27 at 09:30 +0100, Mike Looijmans wrote: On 26-10-15 16:13, Sergey 'Jin' Bostandzhyan wrote: Hi, I recently ran into a problem that I described here: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8578 and while debu

Re: [OE-core] Problem with RDEPENDS in multimachine builds for allarch packages

2015-10-27 Thread Mike Looijmans
: http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/70070/focus=70072 What is the "desired" behaviour? Apparently, this needless rebuilding is "desired". Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postb

[OE-core] [PATCH] initscripts/sysfs.sh: Mount devtmpfs on /dev/ if needed

2015-10-19 Thread Mike Looijmans
sible to set an initscripts style image type to "cpio.gz" and boot it as initrd. Without this change, the image won't work properly because of the missing devices. Signed-off-by: Mike Looijmans --- meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh | 4 1 file changed, 4 insertions

Re: [OE-core] [PATCH V2] populate SDK: prepare calling of bb.utils for exceptions

2015-10-18 Thread Mike Looijmans
nnot remove SDK dir: %s" % path) All these methods have a "self" in their argument list, but don't use it. Make them static functions (inside or outside the class, that's your call. I'd put them outside, they're totally unrelated). Kind regards, Mike Looi

Re: [OE-core] [PATCH] populate SDK: prepare calling of bb.utils for exceptions

2015-10-16 Thread Mike Looijmans
For what I see in this code, it will actually make thing worse by hiding errors and obscuring information. You're not "handling" the exception here, you're almost "ignoring" them, which isn't quite the same. Kind regards, Mike Looijmans System Expert

Re: [OE-core] [RFC] Adding machine-specific default packages to an image

2015-10-07 Thread Mike Looijmans
On 08-10-15 03:46, Khem Raj wrote: On Oct 7, 2015, at 6:05 AM, Mike Looijmans wrote: Since our boards needs 'some' bitstream in the FPGA to become somewhat useful, in the machine.conf I say: MACHINE_FPGA_BITSTREAM ?= "fpga-image-miami-florida-gen-reference" MACHI

[OE-core] [RFC] Adding machine-specific default packages to an image

2015-10-07 Thread Mike Looijmans
TALL} ${ROOTFS_BOOTSTRAP_INSTALL} ${FEATURE_INSTALL} ${IMAGE_IN PACKAGE_INSTALL_ATTEMPTONLY ?= "${FEATURE_INSTALL_OPTIONAL}" # Images are generally built explicitly, do not need to be part of world. Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovense

Re: [OE-core] How to find out why my do_compile depends on $MACHINE

2015-10-06 Thread Mike Looijmans
On 05-10-15 15:22, Richard Purdie wrote: On Mon, 2015-10-05 at 13:49 +0200, Mike Looijmans wrote: On 05-10-15 12:18, Richard Purdie wrote: On Mon, 2015-10-05 at 11:34 +0200, Mike Looijmans wrote: ... For the bigger picture: If I have a recipe that says: X = "x" And I refacto

Re: [OE-core] How to find out why my do_compile depends on $MACHINE

2015-10-05 Thread Mike Looijmans
On 05-10-15 12:18, Richard Purdie wrote: On Mon, 2015-10-05 at 11:34 +0200, Mike Looijmans wrote: I've been puzzling with this for many hours now, but I can't seem to figure this out. I have a recipe that doesn't mention MACHINE anywhere, but still the sstate-cache won't

[OE-core] How to find out why my do_compile depends on $MACHINE

2015-10-05 Thread Mike Looijmans
sstate not beign reused. But the recipe does not use anything related to $MACHINE at all. Is there a way to make it tell me WHY it thinks that MACHINE is important to the recipe? Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postb

[OE-core] bitbake: Missing 'import errno' in git.py

2015-09-19 Thread Mike Looijmans
for name in ud.names: 0228:if not self._contains_ref(ud, d, name): Exception: NameError: global name 'errno' is not defined -- Mike Looijmans -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.o

Re: [OE-core] [PATCH 1/3] insane.bbclass: show PN and relative path in package_qa_check_host_user

2015-09-18 Thread Mike Looijmans
On 18-09-15 15:14, Martin Jansa wrote: * show PN as other QA checks * strip PKGDEST prefix from shown path as other QA checks Signed-off-by: Martin Jansa --- meta/classes/insane.bbclass | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/classes/insane.bbclass b/me

Re: [OE-core] [PATCH] image.py: make sure ROOTFS_SIZE is an integer

2015-09-17 Thread Mike Looijmans
Suggestion: Why bother so much about that last bit? If floats are being used (I suspect because "overhead_factor" is float), any bit-perfect accuracy has been thrown out the window anyway. I suggest just saying "base_size = int(size_kb * overhead_factor)", and be done with it. If someone speci

[OE-core] [PATCH] image_types.bbclass: Don't try to create ubi symlink twice

2015-09-15 Thread Mike Looijmans
sts To prevent this from happening, only create symlinks to volumes that have a name, and let the rootfs script create the default symlink later. Signed-off-by: Mike Looijmans --- meta/classes/image_types.bbclass | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff

Re: [OE-core] [PATCH] quashfs-tools: make it be able to be compiled by gcc5 with "-O0"

2015-09-14 Thread Mike Looijmans
Typo: "(s)quashfs" Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 Telefax: +31 (0) 499 33 69 70 E-mail: mike.looijm...@topicproducts.com Website: www.topicpr

[OE-core] [PATCH] image.py: Allow IMAGE_LINK_NAME to be empty

2015-09-11 Thread Mike Looijmans
From: Mike Looijmans When IMAGE_LINK_NAME is empty, OE will try to create a "blank" link instead of just skipping it. The code checks for "link_name is not None" which will never evaluate to true. Change the test to a simple "if link_name:" so it no longer at

[OE-core] [PATCH] image_types.bbclass: Restore compatibility with previous UBI filesystems

2015-09-11 Thread Mike Looijmans
rprised to find that " within " would even work). Signed-off-by: Mike Looijmans --- meta/classes/image_types.bbclass | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index ecb066b..30640

Re: [OE-core] [PATCH] ptest: fix file ownerships in ${PTEST_PATH}

2015-09-09 Thread Mike Looijmans
ta/classes/ptest.bbclass index 2ac9143..b5f470f 100644 --- a/meta/classes/ptest.bbclass +++ b/meta/classes/ptest.bbclass @@ -43,6 +43,7 @@ do_install_ptest_base() { oe_runmake DESTDIR=${D}${PTEST_PATH} install-ptest fi do_install_ptest +chown -R root:r

Re: [OE-core] Getting rid of "The license listed internal was not in the licenses collected" warnings?

2015-09-08 Thread Mike Looijmans
On 08-09-15 10:44, Jussi Kukkonen wrote: On 7 September 2015 at 19:38, Mike Looijmans mailto:mike.looijm...@topic.nl>> wrote: On 07-09-15 13:56, Jussi Kukkonen wrote: On 7 September 2015 at 13:14, Mike Looijmans mailto:mike.looijm...@topic.nl> <mailto

Re: [OE-core] Getting rid of "The license listed internal was not in the licenses collected" warnings?

2015-09-07 Thread Mike Looijmans
On 07-09-15 13:56, Jussi Kukkonen wrote: On 7 September 2015 at 13:14, Mike Looijmans mailto:mike.looijm...@topic.nl>> wrote: Just sped another hour or so trying to pinpoint this, but I cannot wrap my head around it. What do I have to do to add a license to a layer without

Re: [OE-core] Getting rid of "The license listed internal was not in the licenses collected" warnings?

2015-09-07 Thread Mike Looijmans
Just sped another hour or so trying to pinpoint this, but I cannot wrap my head around it. What do I have to do to add a license to a layer without these annoying warnings? Mike. On 03-07-15 09:23, Mike Looijmans wrote: In my layer.conf I have: LICENSE_PATH += "${LAYERDIR}/licenses&

Re: [OE-core] "sub" machine types?

2015-09-05 Thread Mike Looijmans
. -- Mike Looijmans -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

Re: [OE-core] [PATCH] image.bbclass: Always try to run populate-volatile.sh at rootfs time

2015-08-24 Thread Mike Looijmans
Any comments on this? And if unacceptable, how about at least making "rootfs_populate_volatile_cache" available as a sort of library method so it doesn't get repeated at each image recipe? On 12-08-15 09:00, Mike Looijmans wrote: Currently populate-volatile.sh will only run

[OE-core] [PATCH] image.bbclass: Always try to run populate-volatile.sh at rootfs time

2015-08-12 Thread Mike Looijmans
image recipe I've used, so I guess it's time to move this into core. Signed-off-by: Mike Looijmans --- meta/classes/image.bbclass | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass ind

Re: [OE-core] [PATCH] sanity.bbclass: check SSTATE_DIR, DL_DIR and *MIRROR for broken symlinks

2015-08-10 Thread Mike Looijmans
k) and not os.path.exists(lnk): raise_sanity_error("%s is a broken symlink." % lnk, data) Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 Telefax: +31 (

Re: [OE-core] gcc 5.2 failures

2015-07-27 Thread Mike Looijmans
io: The freescale machines are looking unwell, can you help us make sure the right people know about this? Cheers, Richard Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 7

Re: [OE-core] [PATCH 1/1] nfs-utils: fix to start nfs-server correctly in systemd

2015-07-08 Thread Mike Looijmans
On 08-07-15 10:07, Chen Qi wrote: 1. Change RRECOMMENDS to RDEPENDS for kernel-module-nfsd because this kernel module is a necessity for nfs server. No it is not! Like any kernel module, it can be built in, and then there will be no such package, and the package becomes uninstallable. Th

[OE-core] Getting rid of "The license listed internal was not in the licenses collected" warnings?

2015-07-03 Thread Mike Looijmans
cipe that refers to this license: "WARNING: The license listed internal was not in the licenses collected for recipe ..." As far as I know, I did everything right, but I can't figure out what else I need to do here. How do I get this license into the "license collected&quo

[OE-core] Any "desktop" layers?

2015-06-26 Thread Mike Looijmans
you much more than a clunky music player. Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 Telefax: +31 (0) 499 33 69 70 E-mail: mike.looijm...@topicproducts.com Website: www.topicpr

Re: [OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-06-10 Thread Mike Looijmans
On 11-06-15 07:45, Mike Looijmans wrote: On 26-05-15 11:03, Mike Looijmans wrote: On 26-05-15 10:40, Andrea Adami wrote: On Tue, May 26, 2015 at 10:29 AM, Mike Looijmans wrote: On 26-05-15 10:14, Mike Looijmans wrote: On 26-05-15 09:26, Mike Looijmans wrote: On 26-05-15 09:13, Mike

Re: [OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-06-10 Thread Mike Looijmans
On 26-05-15 11:03, Mike Looijmans wrote: On 26-05-15 10:40, Andrea Adami wrote: On Tue, May 26, 2015 at 10:29 AM, Mike Looijmans wrote: On 26-05-15 10:14, Mike Looijmans wrote: On 26-05-15 09:26, Mike Looijmans wrote: On 26-05-15 09:13, Mike Looijmans wrote: On 26-05-15 09:02, Bruce

Re: [OE-core] [PATCH] opencv: Upgrade to 3.0

2015-06-09 Thread Mike Looijmans
n. M. On 09-06-15 12:15, Ricardo Ribalda Delgado wrote: And shall I give it a negative preference? On Tue, Jun 9, 2015 at 12:13 PM, Ricardo Ribalda Delgado wrote: shall I leave both then? On Tue, Jun 9, 2015 at 12:12 PM, Mike Looijmans wrote: OpenCV 3 is not backwards compatible, removing

Re: [OE-core] [PATCH] opencv: Upgrade to 3.0

2015-06-09 Thread Mike Looijmans
CKAGES', 1).split() +for pkg in packages[1:]: +if not pkg in blacklist and not pkg in metapkg_rdepends and pkg.endswith('-dev'): +metapkg_rdepends.append(pkg) +d.setVar('RRECOMMENDS_' + metapkg, ' '.join(metapkg_rdepends)) + +b

Re: [OE-core] [PATCH v2 3/3] bitbake.conf: Set GITPKGV variable

2015-06-09 Thread Mike Looijmans
On 22-05-15 08:29, Mike Looijmans wrote: Set GITPKGV to mimic the meta-openembedded 'gitpkgv' class. This allows a recipe to simply set: PKGV="1.2+${GITPKGV}" And no longer needs to inherit gitpkgv class. --- conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+

Re: [OE-core] [PATCH 1/1] boost: fix build for mips

2015-06-01 Thread Mike Looijmans
Indeed, this fixes the build problems with boost. Didn't realize one had to patch both bjam and boost. Tested-By: Mike Looijmans On 01-06-15 10:02, Robert Yang wrote: Backport 2 patches to fix the build error on mips: mips-poky-linux-g++: error: unrecognized command line option '-m

Re: [OE-core] boost fails to build on MIPS

2015-05-30 Thread Mike Looijmans
On 30-05-15 00:09, Phil Blundell wrote: On Fri, 2015-05-29 at 20:24 +0200, Mike Looijmans wrote: On current OE master, boost fails to build, because something attempts to add "-m32" to the gcc commandline for no apparent reason. Can anyone confirm this, or am I the only MIPS user in

[OE-core] boost fails to build on MIPS

2015-05-29 Thread Mike Looijmans
"." -c -o "bin.v2/libs/atomic/build/gcc-4.3.1/release/threading-multi/lockpool.o" "libs/atomic/src/lockpool.cpp" -- Mike Looijmans -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

Re: [OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-05-26 Thread Mike Looijmans
On 26-05-15 10:40, Andrea Adami wrote: On Tue, May 26, 2015 at 10:29 AM, Mike Looijmans wrote: On 26-05-15 10:14, Mike Looijmans wrote: On 26-05-15 09:26, Mike Looijmans wrote: On 26-05-15 09:13, Mike Looijmans wrote: On 26-05-15 09:02, Bruce Ashfield wrote: On Tue, May 26, 2015 at 2

Re: [OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-05-26 Thread Mike Looijmans
On 26-05-15 10:14, Mike Looijmans wrote: On 26-05-15 09:26, Mike Looijmans wrote: On 26-05-15 09:13, Mike Looijmans wrote: On 26-05-15 09:02, Bruce Ashfield wrote: On Tue, May 26, 2015 at 2:53 AM, Mike Looijmans wrote: I get this when running bitbake -c menuconfig virtual/kernel scripts

Re: [OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-05-26 Thread Mike Looijmans
On 26-05-15 09:26, Mike Looijmans wrote: On 26-05-15 09:13, Mike Looijmans wrote: On 26-05-15 09:02, Bruce Ashfield wrote: On Tue, May 26, 2015 at 2:53 AM, Mike Looijmans wrote: I get this when running bitbake -c menuconfig virtual/kernel scripts/kconfig/mconf.o: In function `show_help

Re: [OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-05-26 Thread Mike Looijmans
On 26-05-15 09:13, Mike Looijmans wrote: On 26-05-15 09:02, Bruce Ashfield wrote: On Tue, May 26, 2015 at 2:53 AM, Mike Looijmans wrote: I get this when running bitbake -c menuconfig virtual/kernel scripts/kconfig/mconf.o: In function `show_help': mconf.c:(.text+0x884): undefined refe

Re: [OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-05-26 Thread Mike Looijmans
On 26-05-15 09:02, Bruce Ashfield wrote: On Tue, May 26, 2015 at 2:53 AM, Mike Looijmans wrote: I get this when running bitbake -c menuconfig virtual/kernel scripts/kconfig/mconf.o: In function `show_help': mconf.c:(.text+0x884): undefined reference to `stdscr' scripts/kconfi

Re: [OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-05-26 Thread Mike Looijmans
On 26-05-15 08:53, Mike Looijmans wrote: I get this when running bitbake -c menuconfig virtual/kernel scripts/kconfig/mconf.o: In function `show_help': mconf.c:(.text+0x884): undefined reference to `stdscr' scripts/kconfig/lxdialog/checklist.o: In function `print_arrows': che

[OE-core] "bitbake -c menuconfig virtual/kernel" fails on ncurses dependency

2015-05-25 Thread Mike Looijmans
at this is probably due to "ncurses" not being present. I just can't figure out what the proper syntax for this dependency would be. menuconfig needs the "native" version, so it's not simply DEPENDS+=ncurses here. Kind regards, Mike Looijmans System Expert TOPIC

Re: [OE-core] "packagegroup-core-qt4e" broken?

2015-05-22 Thread Mike Looijmans
On 22-05-15 10:38, Paul Eggleton wrote: Hi Mike, On Friday 22 May 2015 08:44:42 Mike Looijmans wrote: When building (just for having something on my display) "qt4e-demo-image", it bailed out with the following error: * satisfy_dependencies_for: Cannot satisfy the following de

[OE-core] "packagegroup-core-qt4e" broken?

2015-05-21 Thread Mike Looijmans
nstall_cmd: Cannot install package packagegroup-core-qt4e. I guess this is related to all the gstreamer changes lately? Kind regards, Mike Looijmans System Expert TOPIC Embedded Products Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 Telefax: +31

[OE-core] [PATCH v2 1/3] fetch2/__init__.py: Make get_srcrev output configurable

2015-05-21 Thread Mike Looijmans
From: Mike Looijmans The idea here is to support package version numbering similar to gitpkgv in meta-openembedded. This commit is the first step towards such functionality. The original plan was to add a "get_pretty_srcrev" method to the fetcher, as per Richard's suggestion [1]

[OE-core] [PATCH v2 3/3] bitbake.conf: Set GITPKGV variable

2015-05-21 Thread Mike Looijmans
Set GITPKGV to mimic the meta-openembedded 'gitpkgv' class. This allows a recipe to simply set: PKGV="1.2+${GITPKGV}" And no longer needs to inherit gitpkgv class. --- conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/bitbake.conf b/conf/bitbake.conf index a35219d..5dafd52

[OE-core] [PATCH v2 2/3] fetch2/git.py: Add gitpkgv_revision alternative version information

2015-05-21 Thread Mike Looijmans
From: Mike Looijmans gitpkgv_revision returns a sortable revision number that can be used in the PKGV variable for example. To mimic meta-openembedded gitpkgv behaviour to provide a sortable revision numner, one could set the following: PKGV = "1.0+${@bb.fetch2.get_srcrev(d, 'gitpkg

<    1   2   3   4   5   >