[yocto] tzdata overwrites existing localtime/zoneinfo?

2018-10-25 Thread Anders Montonen
? Regards, Anders Montonen -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] tzdata overwrites existing localtime/zoneinfo?

2018-10-28 Thread Anders Montonen
Hi, > On 28 Oct 2018, at 17:27, akuster808 wrote: > On 10/25/18 5:43 PM, Anders Montonen wrote: >> It seems to me that the tzdata package will overwrite whatever the current >> time zone is with its default. This is not great if you’re upgrading the >> package on an exi

[yocto] Building on non-x86 hosts, wic and syslinux

2019-04-07 Thread Anders Montonen
Hi, I was experimenting with building on an AArch64 host, and ran into the issue that image_types_wic.bbclass unconditionally adds syslinux-native to the dependencies, while syslinux is only compatible with x86 hosts. I didn’t look further into this, but is it possible to make this dependency c

[yocto] AppArmor

2017-06-20 Thread Anders Montonen
Hi, Has anyone tried using AppArmor with Yocto? The recipe in the meta-security layer is broken, and when fixed so it actually builds, it turns out the installed init script relies on functions not found in Yocto's version of LSB. Regards, Anders -- __

Re: [yocto] AppArmor

2017-06-21 Thread Anders Montonen
On 21 Jun 2017, at 23:46, Khem Raj wrote: > On Tue, Jun 20, 2017 at 9:56 AM Anders Montonen <mailto:anders.monto...@iki.fi>> wrote: > Has anyone tried using AppArmor with Yocto? The recipe in the > meta-security layer is broken, and when fixed so it actually builds, it > tu

Re: [yocto] AppArmor

2017-06-29 Thread Anders Montonen
Hi Tom, On Thu, 22 Jun 2017, Tom Rini wrote: I did fix the latter of these (along with the perl problem), but I'm using sysvinit and needed apache2 in my project anyhow. Your commit fixes most of the problems, but /usr/bin/aa-easyprof still gets installed with a shebang referring to the host

[yocto] sstate and multiconfigs

2017-10-02 Thread Anders Montonen
If the MC_BRANCH variable is hardcoded inside the class (eg. changing the body of select_branch() to a single return statement) things work as expected. Any suggestions on what's going on, and how to fix it (or do it in a better way)? The ultimate goal is being able to

[yocto] /etc/resolv.conf symlink

2017-10-30 Thread Anders Montonen
Hi, I'm hoping someone could clarify how the symlink generation from /etc/resolv.conf to systemd's runtime /run/systemd/resolve/resolv.conf is supposed to work when resolved is not enabled. In the systemd do_install(), a directive for generating this symlink is inserted into /usr/lib/tmpfile

[yocto] useradd-staticids

2018-02-23 Thread Anders Montonen
Hi, I'm looking into using the useradd-staticids class for reproducible builds. Is there any way to delay the warning/error about missing ids until a recipe is actually built rather than getting them during parsing? Having to generate tons of ids for packages you're not even using seems a bit

Re: [yocto] useradd-staticids

2018-02-24 Thread Anders Montonen
On 23 Feb 2018, at 19:30, Mark Hatle wrote: > On 2/23/18 10:37 AM, Anders Montonen wrote: >> I'm looking into using the useradd-staticids class for reproducible >> builds. Is there any way to delay the warning/error about missing ids >> until a recipe is actually buil

Re: [yocto] Recurrent service file

2019-07-25 Thread Anders Montonen
On 26 Jul 2019, at 1:45, JH wrote: > > Hi, > > I am running Yocto distroI am building a service file like a cron job > to run every 10 minutes, I searched from Internet, there was tips to > use Restart=always and RestartSec=10min, but that seems not quite > right, the document said that RestartS

[yocto] [meta-security][thud][PATCH 3/3] apparmor: Fix xargs error

2019-10-28 Thread Anders Montonen
The functions script uses flags specific to GNU xargs. Add findutils to RDEPENDS. Fixes: /lib/apparmor/functions: line 92: echo: write error: Broken pipe Signed-off-by: Anders Montonen --- recipes-security/AppArmor/apparmor_2.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[yocto] [meta-security][thud][PATCH 0/3] AppArmor fixes for Thud

2019-10-28 Thread Anders Montonen
This series backports two patches from master, and fixes one xargs incompatibility. Together, this allows AppArmor run on an Arm target under systemd. Anders Montonen (1): apparmor: Fix xargs error Armin Kuster (2): apparmor: ptest fail to build on arm apparmor: fix systemd support so it

[yocto] [meta-security][thud][PATCH 2/3] apparmor: fix systemd support so it works

2019-10-28 Thread Anders Montonen
From: Armin Kuster [Yocto # 13568] Signed-off-by: Armin Kuster (cherry picked from commit 5d049e7ef8a0a0a811e2ea1353521c6898e54e4d) Signed-off-by: Anders Montonen --- recipes-security/AppArmor/apparmor_2.12.bb | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff

[yocto] [meta-security][thud][PATCH 1/3] apparmor: ptest fail to build on arm

2019-10-28 Thread Anders Montonen
From: Armin Kuster exclude arm and aarch64 ptest tasks [v2&3] Sent before committing. Signed-off-by: Armin Kuster (cherry picked from commit 27ddb455543b670097e252ba0d0ad5b7e4101748) Signed-off-by: Anders Montonen --- recipes-security/AppArmor/apparmor_2.12.bb | 18 +