[yocto] POSIX capability broken pseudo
Kumar, Shrawan
Shrawan.Kumar at harman.com
Mon Jul 9 04:47:05 PDT 2018
Hello Team,
Under DISTRO_VERSION = "2.0.2" ("jethro"), I was using the attached “setcap.patch” on pseudo_1.7.4 to get POSIX capability set in the files as below :
pkg_postinst_${PN}() {
setcap cap_net_raw+ep $D$bindir/helloworld
}
This was working fine.
However, recently switched to DISTRO_VERSION = "2.2.2" ("morty") - pseudo_1.8.1, where the patch is getting applied but the POSIX capabilities are not getting set.
Can someone help here?
Regards
Shrawan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180709/848b727f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: setcap.patch
Type: application/octet-stream
Size: 1670 bytes
Desc: setcap.patch
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180709/848b727f/attachment.obj>
More information about the yocto
mailing list