On Thu, Apr 11 2024 at 12:52:49 AM -07:00:00, [email protected] 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:
<https://codeberg.org/flk/meta-image/src/branch/master/recipes-extended/system-config/main-user.bb>

Inherit a main-user class for every recipe that wants to write stuff to /home/user
<https://codeberg.org/flk/meta-image/src/branch/master/classes/main-user.bbclass>

You can override the values set in main-user.bbclass to fit your needs in e.g. local.conf

Regards,
Markus


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62915): https://lists.yoctoproject.org/g/yocto/message/62915
Mute This Topic: https://lists.yoctoproject.org/mt/105458437/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to