was playing with shadow and PAM stuff, and noticed this in
shadow.inc:
# Additional Policy files for PAM
PAM_SRC_URI = "file://pam.d/chfn \
file://pam.d/chpasswd \
file://pam.d/chsh \
file://pam.d/login \
file://pam.d/newusers \
file://pam.d/passwd \
file://pam.d/su"
which results in that pam.d/ directory (and the identified files)
being copied into pam.d/ in WORKDIR. but since the above is the entire
contents of that directory under files/, i wondered if one could just
refer to the directory alone and it would unpack recursively, and it
seems to work fine using:
PAM_SRC_URI = "file://pam.d/"
i'd never noticed that before, and am not sure if that's actually
mentioned in the docs (is it?). in any event, if the above shortcut is
officially supported, is there a reason to spell it out in full anyway
as is done in shadow.inc? (i mean, other than to be selective and
cherry-pick what you want unpacked.)
rday
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#49308): https://lists.yoctoproject.org/g/yocto/message/49308
Mute This Topic: https://lists.yoctoproject.org/mt/73937683/21656
Group Owner: [email protected]
Unsubscribe:
https://lists.yoctoproject.org/g/yocto/leave/6691583/737036229/xyzzy
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-