As I have no prior experience with classes I'll have to read through the manual
to learn and I'll have that in mind, cheers.
Från: Markus Volk
Skickat: den 13 april 2024 00:48
Till: yocto@lists.yoctoproject.org ;
linusnils...@hotmail.com
Ämne: Re: [yocto]
On Fri, Apr 12 2024 at 09:14:45 AM -07:00:00, Linus Nilsson
wrote:
I haven't worked with the classes yet but I can see how they can be
used to make things a lot easier in my case.
But don't use classen too invasively. They can be problematic, e.g. an
:append may be ignored depending on the
I found a solution and I'll try to break it down. There was the original
problem with the conflict between the recipes and then there were the problem
with the recipe not being aware of the existence of the user polkitd.
The solution for the first problem was to make sure that the permissions
>
> Obvious solution is to copy chmod command to your recipe.
Yes and I did that but that line alone didn't suffice. I also had to copy the
'chown'-line but since the polkit user was created in another recipe it is not
recognized in this recipe and so I have to somehow figure out a way to fix
Obvious solution is to copy chmod command to your recipe.
Peter
From: linusnilsson via Lists.Yoctoproject.Org
Sent: Thursday, April 11, 2024 14:38
To: Marko, Peter (ADV D EU SK BFS1) ;
yocto@lists.yoctoproject.org
Subject: Re: [yocto] Correct way for multiple recipes to install files in the
After adding
chmod 700 ${D}/${sysconfdir}/polkit-1/rules.d
chown polkit:root ${D}/${sysconfdir}/polkit-1/rules.d
to the disk-automount recipe I get error with chown not knowing about the
polkit user, even though I've added polkit to both DEPENDS and RDEPENDS of
disk-automount recipe so now I've
Changing in recipe 2 from
chown -R user1:user1 ${D}/home/user1/.config/
to
chown -R user1:user1 ${D}/home/user1
actually seems to solve the problem with those particular recipes.
After getting a bit further in the bitbake process I now have the same problem
with another recipe that wants to add
From: yocto@lists.yoctoproject.org On Behalf Of
linusnilsson via lists.yoctoproject.org
Sent: Thursday, April 11, 2024 9:53
To: yocto@lists.yoctoproject.org
Subject: [yocto] Correct way for multiple recipes to install files in the same
directory
> Hi!
> How/can I let multiple recipes install
On Thu, Apr 11 2024 at 12:52:49 AM -07:00:00, linusnils...@hotmail.com
wrote:
Is there a proper way to do this?
Kind regards, Linus
Hi,
can't tell if this would be a proper way, but this is how I do it and
what works for me:
Create a main user:
Hi!
How/can I let multiple recipes install files in the same directory without
getting a conflict during bitbake process?
Recipe 1 creates a user and its homedir:
inherit useradd
USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "-u 1000 -d /home/user1 -m -s /bin/bash -p 'XXX' user1"
10 matches
Mail list logo