Re: AGL distro and redis failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stefan !

The package is likely there, but:
redis was skipped: redis - redis: system username redis does not have a static ID defined. Add redis to one of these files: /home/stefan/agl/jellyfish/meta-agl/meta-agl-profile-core/files/passwd

This means:
- AGL uses the 'static userid' feature of OpenEmbedded/Yocto.  This means any user required by a service needs to be pre-created.

- This happens in our case in
/home/stefan/agl/jellyfish/meta-agl/meta-agl-profile-core/files/passwd

- for a quick test, add a redis user there with:
 echo "redis::1008:1008:::" >> /home/stefan/agl/jellyfish/meta-agl/meta-agl-profile-core/files/passwd
 echo "redis::1008:" >> /home/stefan/agl/jellyfish/meta-agl/meta-agl-profile-core/files/group
then rebuild.

- To make that more permanent, create a layer and set its priority to >=81 and add these two files in
 meta-mylayer
   files/passwd
   files/group
   conf/layer.conf                 # with layer priority >= 81


Best regards,
Jan-Simon

------
Jan-Simon Möller
AGL Release Manager
The Linux Foundation

Visit us at:
www.automotivegradelinux.org
lists.automotivelinux.org
www.linuxfoundation.org


On Tue, Dec 1, 2020 at 7:56 PM Stefan Gudmundsson <exologic@xxxxxxxxx> wrote:

Hello,

 

I have a recipe that uses jsonrpc-cpp (1.3.x) and that now pulls in hiredis, which is dependent on redis.

In AGL 9 jsonrepc-cpp (0.7.x) does NOT use hiredis and thus builds there.

 

As this seems to be dependent on an AGL provided profile, I thought I’d ask here first, before digging deeper, more people may experience this at some point. Please note that the same issue with redis is in both AGL9 as AGL 10, but it is not used in 9 in my case.

 

 

stefan@Yocto:~/agl/jellyfish/build$ bitbake redis

Loading cache: 100% |############################################| Time: 0:00:01

Loaded 3893 entries from dependency cache.

Parsing recipes: 100% |##########################################| Time: 0:00:13

Parsing of 2718 .bb files complete (2661 cached, 57 parsed). 3952 targets, 329 skipped, 3 masked, 0 errors.

WARNING: No bb files matched BBFILE_PATTERN_agl-distro '^/home/stefan/agl/jellyfish/meta-agl/meta-agl-distro/'

ERROR: Nothing PROVIDES 'redis'

redis was skipped: redis - redis: system username redis does not have a static ID defined. Add redis to one of these files: /home/stefan/agl/jellyfish/meta-agl/meta-agl-profile-core/files/passwd

 

/Stefan

 

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8881) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux