Skip to contentSkip to conversation

where is useradd-example.bb

DISCUSSION Greg Wilson-Lindberg 2 participants 3 messages Apr 23, 2018 – Apr 25, 2018

lore
Share & tools
lore
#0 lore raw

I'm trying to understand adding a user in a recipe and in the documentation it says to consult meta-skeleton/recipes-skeleton/useradd/useradd-example.bb. the meta-skeleton directory doesn't exist and I can't find the file anywhere else. I've done a search on the net and I don't get any hits on the file either, lots of references in the manuals, bot not the file.

Can anyone tell me where to find it?

Regards,

Greg

#1 lore raw

Well this is embarrassing, apparently my searches of the Yocto source tree weren't very good. I tried again after sending out my question and found it under sources/poky/meta-skeleton.

Sorry for the noise,

Greg

________________________________
From: [email protected] <[email protected]> on behalf of Greg Wilson-Lindberg <[email protected]>
Sent: Monday, April 23, 2018 4:15:47 PM
To: [email protected]
Subject: [yocto] where is useradd-example.bb

I'm trying to understand adding a user in a recipe and in the documentation it says to consult meta-skeleton/recipes-skeleton/useradd/useradd-example.bb. the meta-skeleton directory doesn't exist and I can't find the file anywhere else. I've done a search on the net and I don't get any hits on the file either, lots of references in the manuals, bot not the file.

Can anyone tell me where to find it?

Regards,

Greg

#2 lore raw
In reply to Greg Wilson-Lindberg

you can find in the oe-core

openembedded-core/meta/classes/useradd.bbclass and openembedded-core/meta/classes/useradd_base.bbclass

Thanks!
Prakash

Quoted 22 lines · Greg Wilson-Lindberg

I'm trying to understand adding a user in a recipe and in the documentation it says to consult meta-skeleton/recipes-skeleton/useradd/u seradd-example.bb. the meta-skeleton directory doesn't exist and I can't find the file anywhere else. I've done a search on the net and I don't get any hits on the file either, lots of references in the manuals, bot not the file.

Can anyone tell me where to find it?

Regards,

Greg

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 3 lines
Thanks and Regards,
Prakash K S
+91 9620140303