Re: [yocto] [bitbake-devel] Add custom user to custom group in bitbake recipe

2018-03-02 Thread Khem Raj
On 3/2/18 3:36 AM, Parthiban Nallathambi wrote: > Hello All, > > I have created a custom group e.g "grp1" in my application recipe say > "app.bb". > > GROUPADD_PARAM_${PN} = "grp1" > > I am trying to add my custom user e.g: "user1" to this group "grp1" in > "space.bb". > > USERADD_PARAM_${PN}

Re: [yocto] Adding Gnome to X11

2018-03-02 Thread Khem Raj
On 3/2/18 2:29 AM, Q. Gouès wrote: > Actually the problem didn't come from doing IMAGE_INSTALL +=. > > The problem came from the fact that in my recipe, I was adding the > "IMAGE_INSTALL +=" line before the "inherit core-image" in which > IMAGE_INSTALL is defined as a ?=. By doing that, the

[linux-yocto] [PATCH 052/269] arch/arm: arm changes to support the axxia BSP

2018-03-02 Thread Daniel Dragomir
From: Charlie Paul These files were changed to support the LSI axxia 5500 board. Signed-off-by: Charlie Paul Signed-off-by: John Jacques --- arch/arm/Kconfig | 84

[linux-yocto] [PATCH 077/269] kernel/irq/manage.c: Fix irq_set_affinity to allow use with buslocks

2018-03-02 Thread Daniel Dragomir
From: David Mercado Modify irq_set_affinity() to allow usage of bus locks with "slow bus" IRQ controllers. This only affects those BSPs that use bus locks in their IRQ controllers, such as the LSI Axxia GIC. The recommendation for this change originated from Thomax

[linux-yocto] [PULL REQUEST v2] Intel Axxia updates to linux-yocto-4.12

2018-03-02 Thread Daniel Dragomir
Hello Bruce and Paul! I made a cleanup on the first series of patches as you sugested, but need your opinion on this v2 series. For some patches, I spoke with the authors about the need of the changes since some are beyond my knowledge. I didn't send all 269 patches to the mailing list, but only

Re: [yocto] [bitbake-devel] Yocto: Add custom user to custom group in bitbake recipe

2018-03-02 Thread Maxin B. John
Hi Parthiban, On Fri, Mar 02, 2018 at 01:58:35PM +0100, Parthiban Nallathambi wrote: > Hi Maxim, > > space.bb --> chromium recipe in > https://github.com/OSSystems/meta-browser/tree/master/recipes-browser/chromium > > app.bb --> http-server.bb attached > > I have created a group "www" in

Re: [yocto] error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR

2018-03-02 Thread Khem Raj
On Fri, Mar 2, 2018 at 4:38 AM, Abhishekh Awanti wrote: > Hi, > Before i was trying to build the baseline version only, due to this error i > moved to latest version. > As Ross said i deleted tmp/ and now the package can able to build > successfully. > Should i move to

Re: [yocto] [OE-core] Questions about udev rule and systemd-udev,relevant to mounting block device

2018-03-02 Thread Vincent Prince
Hi, I'm not sure what is your use case, but you can check usbmount[1][2] or automount-usb[3] for example on how to use udev with systemd: Regards, Vincent [1]https://github.com/rbrito/usbmount [2] https://github.com/nefethael/meta-random/blob/master/recipes-support/usbmount/usbmount_git.bb

Re: [yocto] [bitbake-devel] Yocto: Add custom user to custom group in bitbake recipe

2018-03-02 Thread Parthiban Nallathambi
Hi Maxim, space.bb --> chromium recipe in https://github.com/OSSystems/meta-browser/tree/master/recipes-browser/chromium app.bb --> http-server.bb attached I have created a group "www" in http-server_0.10.0.bb and trying to add "chromium" user to this group in chromium-x11_%.bbappend. But

Re: [yocto] error: possibly undefined macro: PKG_CONFIG_SYSROOT_DIR

2018-03-02 Thread Abhishekh Awanti
Hi, Before i was trying to build the baseline version only, due to this error i moved to latest version. As Ross said i deleted tmp/ and now the package can able to build successfully. Should i move to original version only? On Fri, Mar 2, 2018 at 11:25 AM, Khem Raj wrote: >

Re: [yocto] [bitbake-devel] Yocto: Add custom user to custom group in bitbake recipe

2018-03-02 Thread Maxin B. John
Hi Parthiban, On Fri, Mar 02, 2018 at 12:29:25PM +0100, Parthiban Nallathambi wrote: > Hello All, > > I have created a custom group e.g "grp1" in my application recipe say > "app.bb". > > GROUPADD_PARAM_${PN} = "grp1" > > I am trying add my custom user e.g: "user1" to this group "grp1" in >

[yocto] Yocto: Add custom user to custom group in bitbake recipe

2018-03-02 Thread Parthiban Nallathambi
Hello All, I have created a custom group e.g "grp1" in my application recipe say "app.bb". GROUPADD_PARAM_${PN} = "grp1" I am trying add my custom user e.g: "user1" to this group "grp1" in "space.bb". USERADD_PARAM_${PN} = "-d ${localstatedir}/lib/space/ -s /bin/false -G grp1 -U user1"

[yocto] Add custom user to custom group in bitbake recipe

2018-03-02 Thread Parthiban Nallathambi
Hello All, I have created a custom group e.g "grp1" in my application recipe say "app.bb". GROUPADD_PARAM_${PN} = "grp1" I am trying to add my custom user e.g: "user1" to this group "grp1" in "space.bb". USERADD_PARAM_${PN} = "-d ${localstatedir}/lib/space/ -s /bin/false -G grp1 -U

Re: [yocto] Adding Gnome to X11

2018-03-02 Thread Q . Gouès
Actually the problem didn't come from doing IMAGE_INSTALL +=. The problem came from the fact that in my recipe, I was adding the "IMAGE_INSTALL +=" line before the "inherit core-image" in which IMAGE_INSTALL is defined as a ?=. By doing that, the packages defined in the core-image class are

Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-02 Thread Iván Castell
I have modified poky/meta/recipes-core/initrdscripts/initramfs-framework/init to force a shell script when the "fatal" function is called: # Prints a message and start a endless loop fatal() { echo $1 >/dev/console echo >/dev/console sh #if [ -n "$bootparam_init_fatal_sh" ]; then

Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-02 Thread Iván Castell
First of all, thank you for your support Mr. Anuj. I extracted "initrd" image contents: $ binwalk initrd DECIMAL HEXADECIMAL DESCRIPTION 0 0x0 ASCII cpio archive (SVR4 with no

Re: [yocto] Yocto procedure to write generated image to hdd

2018-03-02 Thread Anuj Mittal
On 03/02/2018 03:41 PM, Iván Castell wrote: > > 2018-03-02 0:41 GMT+01:00 Anuj Mittal >: > > Hi, > > On 03/01/2018 07:20 PM, Iván Castell wrote: > >       > > Is this the proper way to install the generated image in the hard