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


Attachment: setcap.patch
Description: setcap.patch

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to