Dear Team,

We have modified base-passwd recipe and we have added couple of new UID/GID for 
eg., shell.
Our fs-perms.txt is similar to 
https://github.com/openembedded/openembedded-core/blob/master/meta/files/fs-perms.txt,
 with extra entries as below

${base_bindir}         0751    root    shell   true    0655    root    shell
${base_sbindir}       0751    root    shell   true    0655    root    shell
${base_libdir}          0751    root    system  true    0644    root    system
${prefix}                  0751    root    system  true    0644    root    
system
${bindir}                  0751    root    system  true    0655    root    
system

We had tried overlaying fs-perms.txt using FILESYSTEM_PERMS_TABLES(meta/ 
files/fs-perms.txt) macro,But we have encountered below error as it was not 
referring the target file /etc/passwd.

File: '/oe-core/meta/classes/ package.bbclass', lineno: 953, function: _procgid

0949:                return -1
0950:            elif gid.isdigit():
0951:                return int(gid)
0952:            else:
*** 0953:                return grp.getgrnam(gid).gr_gid0954: 0955:
# Use for debugging the entries0956:
def str(self):0957:
if self.link:Exception:
*KeyError: "getgrnam(): name not found: 'shell'"*
*Question:

* Why packagegroup recipes are not able to find the *shell* user, even though 
we added base-passwd as depends in those modules?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183800): 
https://lists.openembedded.org/g/openembedded-core/message/183800
Mute This Topic: https://lists.openembedded.org/mt/99924684/21656
Mute 
#bitbake:https://lists.openembedded.org/g/openembedded-core/mutehashtag/bitbake
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to