Re: [yocto] Fwd: [meta-raspberrypi] Problem with adding udev rules

2018-11-07 Thread Markus W
Probably, I'm learning ;-) On Wed, 7 Nov 2018 at 12:59, Outback Dingo wrote: > couldnt this have been a udev_append.bb > > instead of writing your own my-rules > On Wed, Nov 7, 2018 at 6:46 PM Markus W wrote: > > > > This my bb file and than I have added the following to local.conf > IMAGE_INST

Re: [yocto] Fwd: [meta-raspberrypi] Problem with adding udev rules

2018-11-07 Thread Outback Dingo
couldnt this have been a udev_append.bb instead of writing your own my-rules On Wed, Nov 7, 2018 at 6:46 PM Markus W wrote: > > This my bb file and than I have added the following to local.conf > IMAGE_INSTALL_append = " my-rules ...". > > SUMMARY = "My rules" > LICENSE = "CLOSED" > PR = "r1" >

Re: [yocto] Fwd: [meta-raspberrypi] Problem with adding udev rules

2018-11-07 Thread Markus W
This my bb file and than I have added the following to local.conf IMAGE_INSTALL_append = " my-rules ...". SUMMARY = "My rules" LICENSE = "CLOSED" PR = "r1" SRC_URI = "file://90-interfaces.rules" do_install[nostamp] = "1" do_unpack[nostamp] = "1" do_install () { install -d ${D}${sysconfdir}/

Re: [yocto] Fwd: [meta-raspberrypi] Problem with adding udev rules

2018-11-07 Thread Outback Dingo
On Wed, Nov 7, 2018, 16:44 Markus W I have resolved this issue. My problem was that in my layer I have a > recipe-core and within that I had the following structure > udev/udev-extra-rules and udev-extra-rules.bb file and a files dir on > the same level. > > By renaming udev/udev-extra-rules to my

Re: [yocto] Fwd: [meta-raspberrypi] Problem with adding udev rules

2018-11-07 Thread Markus W
I have resolved this issue. My problem was that in my layer I have a recipe-core and within that I had the following structure udev/udev-extra-rules and udev-extra-rules.bb file and a files dir on the same level. By renaming udev/udev-extra-rules to my-udev/my-udev-extra-rules it suddenly worked.

Re: [yocto] Fwd: [meta-raspberrypi] Problem with adding udev rules

2018-11-06 Thread Outback Dingo
On Tue, Nov 6, 2018 at 11:57 AM Markus W wrote: > > Hi! > > I want to append the rules in the > recipe-core/udev/udev-rules-rpi/99-com.rules with the rules below from > within my own recipe. I can´t figure out how to do that. > > I have tried to add those rules as separate rules file in a recipe i

[yocto] Fwd: [meta-raspberrypi] Problem with adding udev rules

2018-11-05 Thread Markus W
Hi! I want to append the rules in the recipe-core/udev/udev-rules-rpi/99-com.rules with the rules below from within my own recipe. I can´t figure out how to do that. I have tried to add those rules as separate rules file in a recipe in my own layer. After the build I can see that the rules file i