[yocto] Busybox shell script misbehavior when it is launched by systemd service

2019-11-06 Thread JH
Hi, I have a shell script myscript_launch.sh launched by systemd service, in the shell script, it call another shell script in background: if [ -f ${CHECK_ACTIVE} ]; then echo "script is already running" >> /tmp/debug.log else /usr/bin/myscript_check_resource.sh & echo "launch script

Re: [yocto] Using GitLab for OE/Yocto layers

2019-11-06 Thread Adrian Bunk
On Wed, Nov 06, 2019 at 04:01:03PM +, Paul Barker wrote: >... > At the risk of bikeshedding I'd like to get some feedback on these ideas at > this stage. Have I missed any advantages/disadvantages? >... Three comments from me: 1. Patch review Merge requests work well when there is one

Re: [yocto] Kernel modules packaged but not installed

2019-11-06 Thread Bruce Ashfield
On Wed, Nov 6, 2019 at 1:40 PM Dimitris Tassopoulos wrote: > > Hi Bruce, > > I've also tried adding the `kernel-modules` in the IMAGE_INSTALL, > but that doesn't help either, because as I've mentioned this package > is empty. > > The individual module packages are indeed populated and adding each

Re: [yocto] Adding KVM kernel modules to Yocto Kernel

2019-11-06 Thread Bruce Ashfield
On Wed, Nov 6, 2019 at 11:56 AM Wayne Li wrote: > > The thing is I don't know how to pick specific kernel modules and add it to > the system. Me and my coworker were able to add missing TUN/TAP kernel > modules using the same process I described (i.e. pulling up the GUI, saving a > .config

Re: [yocto] Running systemd service including boot time

2019-11-06 Thread Khem Raj
On Wed, Nov 6, 2019 at 12:17 PM JH wrote: > > Hi, > > I built Yocto image to include a systemd service and it's timer, the > timer calls the service repeated every 30 minutes, it runs well, but I > need it also run it first time in the boot, not wait 30 minutes. I > tried to add OnBootSec=2, it

[yocto] Running systemd service including boot time

2019-11-06 Thread JH
Hi, I built Yocto image to include a systemd service and it's timer, the timer calls the service repeated every 30 minutes, it runs well, but I need it also run it first time in the boot, not wait 30 minutes. I tried to add OnBootSec=2, it does not run in boot, any tips how can I force it run

Re: [yocto] Adding KVM kernel modules to Yocto Kernel

2019-11-06 Thread Wayne Li
The thing is I don't know how to pick specific kernel modules and add it to the system. Me and my coworker were able to add missing TUN/TAP kernel modules using the same process I described (i.e. pulling up the GUI, saving a .config file for TUN/TAP device driver support, and copying the .config

Re: [yocto] Adding KVM kernel modules to Yocto Kernel

2019-11-06 Thread Bruce Ashfield
On Wed, Nov 6, 2019 at 11:30 AM Wayne Li wrote: > > Dear Yocto Developers, > > I'm trying to get KVM added and working on a Yocto kernel I built up for a > T4240 RDB (has a PowerPC CPU). KVM isn't working and the reason why it isn't > working seems to be I'm missing the necessary kernel

[yocto] Adding KVM kernel modules to Yocto Kernel

2019-11-06 Thread Wayne Li
Dear Yocto Developers, I'm trying to get KVM added and working on a Yocto kernel I built up for a T4240 RDB (has a PowerPC CPU). KVM isn't working and the reason why it isn't working seems to be I'm missing the necessary kernel modules. More specifically, I don't seem to have a kvm.ko file that

Re: [yocto] Kernel modules packaged but not installed

2019-11-06 Thread Bruce Ashfield
On Wed, Nov 6, 2019 at 11:06 AM Dimitris Tassopoulos wrote: > > Hi all. I have a weird issue with the kernel modules not being installed in > the image and also not packaged. > I see the packages for individual "kernel-module-*.ipk" modules but the > "kernel-modules_*.ipk" is always > empty. >

[yocto] Using GitLab for OE/Yocto layers

2019-11-06 Thread Paul Barker
Hey folks, We had some initial discussion at OEDEM about the patch submission process and how repositories are hosted (see https://docs.google.com/document/d/1Qm1mJ6xLozWW9NgBnokue7TmhwgFP8b2HR8TUlaQwNs/edit#heading=h.o4qtddy8bh9i). Patch submission via mailing list still has some key features

[yocto] Kernel modules packaged but not installed

2019-11-06 Thread Dimitris Tassopoulos
Hi all. I have a weird issue with the kernel modules not being installed in the image and also not packaged. I see the packages for individual "kernel-module-*.ipk" modules but the "kernel-modules_*.ipk" is always empty. I'm also able to see the "modules-${MACHINE}.tgz" in DEPLOYDIR which has all

[linux-yocto] install kernel-modules in rootfs without kernel

2019-11-06 Thread Maik Keller
Dear list, I want to deploy a kernel-module like poky/meta-skeleton/recipes-kernel/hello-mod. But, when I add IMAGE_INSTALL += "kernel-module-hello" to my image, the modules is as expected below /lib/modules/ , more then that the kernel is also installed below /boot/. My kernel should not be

Re: [yocto] Error with Pyro and wic

2019-11-06 Thread Mauro Ziliani
Ok I solved. The problem is the filesystem of destination folder. The /deploy is a shared vboxsf shared folder. If build the sdcard in local folder all works M Il 06/11/19 09:48, Mauro Ziliani ha scritto: Hi all. I'm trying to port udooneo to Pyro. By now I build core-image-minimal I

[yocto] [meta-gplv2][PATCH] dosfstools: fix out of bound writes

2019-11-06 Thread Bagwell, Anthony
Fix write issues where sprintf writes across both name and ext fields and drops the final null terminator outside the struct Signed-off-by: AJ Bagwell --- .../fixing-out-of-bound-writes.patch | 54 +++ .../dosfstools/dosfstools_2.11.bb | 1 + 2 files

[yocto] Error with Pyro and wic

2019-11-06 Thread Mauro Ziliani
Hi all. I'm trying to port udooneo to Pyro. By now I build core-image-minimal I try  to make a udoo-sdcard with the command wic create -e core-image-minimal udoo-sdard -o /deploy/udoo-scard udoo-sdcard.wks is placed in meta-udoo/scripts/lib/wic/canned-wks udoo-sdcard.wks ---