[OE-core] [PATCH 1/2] busybox:udhcpc: Start with a metric of 10 for routes

2015-02-21 Thread Holger Hans Peter Freyther
Linux allows to install multiple default routes with different metrics. Start with a metric above 0 to allow other parts of the system to install routes with a lower metric. Signed-off-by: Holger Hans Peter Freyther --- meta/recipes-core/busybox/files/simple.script | 2 +- 1 file changed, 1

[OE-core] [PATCH 2/2] busybox:udhcpc: Remove the routes from the right interface

2015-02-21 Thread Holger Hans Peter Freyther
When using iproute2 to remove the route all default rules will be removed. Scope the removal by interface like it is done with ifconfig. Signed-off-by: Holger Hans Peter Freyther --- meta/recipes-core/busybox/files/simple.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] udhcpc 50default/simple.script and standard metric

2015-02-14 Thread Holger Hans Peter Freyther
Hi, I want to use the multiple defaults route feature of the kernel but I want to install some routes that are more important than the link managed with dhcp. The only way I can think of is to change the "metric=0" to a "metric=10" in the mentioned file. For normal applications nothing has changed

[OE-core] [PATCH 1/2] diffutils: Disable searching for libsigsegv

2014-12-26 Thread Holger Hans Peter Freyther
After building GNU Smalltalk libsigsegv is in the sysroot and will be picked-up by diffutils. This lead to the below warning: WARNING: QA Issue: m4 rdepends on libsigsegv, but it isn't a build dependency? [build-deps] --- meta/recipes-devtools/diffstat/diffstat_1.59.bb | 2 ++ 1 file changed, 2

[OE-core] [PATCH 2/2] m4: Disable searching for libsigsegv

2014-12-26 Thread Holger Hans Peter Freyther
When building GNU Smalltalk libsigsegv will be available and m4 will start to use it. This leads to the below warning: WARNING: QA Issue: m4 rdepends on libsigsegv, but it isn't a build dependency? [build-deps] --- meta/recipes-devtools/m4/m4.inc | 1 + 1 file changed, 1 insertion(+) diff --git

[OE-core] [PATCH] gcc: Include patch scheduled for GCC 4.8.3 to fix epilogue on ARM

2014-01-31 Thread Holger Hans Peter Freyther
syscall. After this patch it appears to work better. Signed-off-by: Holger Hans Peter Freyther --- meta/recipes-devtools/gcc/gcc-4.8.inc | 1 + .../0048-PR58854_fix_arm_apcs_epilogue.patch | 23 ++ 2 files changed, 24 insertions(+) create mode 100644 meta/

[OE-core] Using OpenEmbedded for customized builds

2013-07-03 Thread Holger Hans Peter Freyther
Good Morning, we have a basic product and build the images for it using OpenEmbedded. Some customers require the installation of additional packages, or even the modification of some of the installed ones. The current approach would be to build one VM per customer but that doesn't really scale. I

Re: [OE-core] AUTOINC ending in filenames in tmp/deploy/images

2013-06-21 Thread Holger Hans Peter Freyther
On Fri, Jun 21, 2013 at 09:04:03AM +0100, Richard Purdie wrote: > > Use PKGV and PKGR instead of PV and PR and this should work better. This didn't change anything. I have reduced my u-boot bbappend to the one below and I have updated the poky u-boot recipe to use PKGV and PKGR in the filename. A

[OE-core] AUTOINC ending in filenames in tmp/deploy/images

2013-06-20 Thread Holger Hans Peter Freyther
Hi, I am building an U-Boot from git and the file in tmp/deploy/images contains AUTOINC instead of the replaced git version. $ ls images/u-boot-sysmobts-v2-v2011.12+gitAUTOINC+40d74c99ac-r17.bin This is with Poky from yesterday, is this a known issue of the AUTOINC? The filename is set with 'u-b

[OE-core] [PATCH] systemd: Set the default firmware path to enable firmware loading in udev

2013-04-08 Thread Holger Hans Peter Freyther
From: Holger Hans Peter Freyther After some breakage in udev the kernel gained direct firmware loading. For older kernels (e.g. 3.2 in my case) udev still needs to load the firmware. Firmware loading is enabled once a default firmware path is set. Apply a compile fix from the upstream project

[OE-core] [PATCH] systemd: Set the default firmware path to enable firmware loading in udev

2013-04-07 Thread Holger Hans Peter Freyther
From: Holger Hans Peter Freyther After some breakage in udev the kernel gained direct firmware loading. For older kernels (e.g. 3.2 in my case) udev still needs to load the firmware. Firmware loading is enabled once a default firmware path is set. Apply a compile fix from the upstream project

Re: [OE-core] State of systemd from an integrator point of view

2013-02-18 Thread Holger Hans Peter Freyther
On Mon, Feb 18, 2013 at 01:10:27PM +, Burton, Ross wrote: > The INITMAN variable is injected into DISTRO_FEATURES, so I do find > the more idiomatic base_contains more readable: > > ${@base_contains("DISTRO_FEATURES", "systemd", "", "watchdog", d)} thanks. I will update my BSP. > > systemd

Re: [OE-core] State of systemd from an integrator point of view

2013-02-18 Thread Holger Hans Peter Freyther
On Mon, Feb 18, 2013 at 01:14:47PM +, Burton, Ross wrote: > Just noticed that the disabling of syslog isn't working for me, it > disables syslog-busybox but there's a syslog symlink to it, which is > being started. :) I haven't gotten to the part to get it started again. The symlink probably

[OE-core] State of systemd from an integrator point of view

2013-02-18 Thread Holger Hans Peter Freyther
Hi, this is my second attempt to use systemd with Poky for our sysmoBTS product (mostly to replace some respawn shell scripts and not to use the daemontools). I aborted the first trial because of journald and now that systemd is being merged into OE-Core I started again and I would like to share s

[OE-core] [PATCH] conf: Remove unused ROOT_FLASH_SIZE variable from the config

2013-02-16 Thread Holger Hans Peter Freyther
This variable is set but never used in OE-core and meta-oe. It was historically used for the Opie collection but seems to be unused now. --- meta/conf/bitbake.conf |3 --- meta/conf/machine/include/qemu.inc |2 -- 2 files changed, 5 deletions(-) diff --git a/meta/conf/bitbake.

[OE-core] [PATCH] dropbear: Do not kill client connections on stop and restart

2013-02-15 Thread Holger Hans Peter Freyther
Use the pidfile functionality of start-stop-daemon to only kill the dropbear server process and not the active client connections. OE-classic used to have this functionality, a patch for it was applied in revision 6adaccf00601e1bc3ce1ede5417eabcdf1671768. --- meta/recipes-core/dropbear/dropbear.i

[OE-core] [PATCH] systemd_197.bb: Point to the place where we keep the /etc/rcN.d files

2013-02-07 Thread Holger Hans Peter Freyther
By default /etc/rc.d is searched by systemd but we will keep rcN.d directories inside /etc. --- meta/recipes-core/systemd/systemd_197.bb |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb ind

[OE-core] [PATCH] systemd_197.bb: Point to the place where we keep the /etc/rcN.d files

2013-02-07 Thread Holger Hans Peter Freyther
By default /etc/rc.d is searched by systemd but we will keep rcN.d directories inside /etc. --- meta/recipes-core/systemd/systemd_197.bb |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb ind

Re: [OE-core] [PATCH] archiver.bbclass: Archive the native builds as well

2013-01-20 Thread Holger Hans Peter Freyther
On Sun, Jan 20, 2013 at 12:56:08PM +, Richard Purdie wrote: Dear Richard, > So there could well be a problem here but I'm not feeling happy we've > solved it yet. More information would be appreciated. I agree. The removal of -native comes from the fact that I wanted the source opkg-utils-na

Re: [OE-core] [PATCH] archiver.bbclass: Archive the native builds as well

2013-01-19 Thread Holger Hans Peter Freyther
On Fri, Jan 18, 2013 at 10:25:43AM -0800, Saul Wold wrote: > > I understand what the issue is here, but I am not sure this is the > right solution. This will likely bring in way more than is wanted or > needed for source archiving. > > What's needed from the opkg-utils-native? IANAL so let me sa

[OE-core] [PATCH] dropbear: Deal with truncated host keys by removing them

2013-01-18 Thread Holger Hans Peter Freyther
Dropbear does not start when the host key is empty and it is possible that a device is switched off before the host key is generated. This is possible because the dropbearkey code doesn't create a temporary file first. Detect truncated keys and then remove them which will lead to the re-generation.

[OE-core] [PATCH] archiver.bbclass: Archive the native builds as well

2013-01-18 Thread Holger Hans Peter Freyther
On my build no copy of gcc/opkg-utils was archived. For gcc it is bad as libgcc will end up in the image and the sources should be provided. Update the method and comment to not exclude the native version of the build. --- meta/classes/archiver.bbclass |4 ++-- 1 file changed, 2 insertions(+),

[OE-core] [PATCH] kernel.bbclass: Do not chdir to /boot before running update-alternatives

2012-10-12 Thread Holger Hans Peter Freyther
The symlink from uImage-3... to uImage is not created at image creation time and not properly update on kernel upgrades. This is fixed by removing the chdir. The other users of update-alternative do not change the directory before calling it. --- meta/classes/kernel.bbclass |4 ++-- 1 file cha