Capabilities YoctoProject SDK V1.8

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Capabilities YoctoProject SDK V1.8

跳至解决方案
2,160 次查看
sandratrujillog
Contributor III

I am trying to install the capabilities in my image of the yocto project with SDK V.1.8 for the T2080.
I already did it with the SDK V.2.0 for the development kit T2080RDB-PC and for them to work I had to enable the fields in the kernel:
Ext2 extended attributes
Ext2 Security Labels
In addition to saying that the 'libcap' should be installed in the .conf file. But with SDK V.1.8 I can not get the linux capabilities in my final system.

Searching for 'setcap' in the directory of SDK V1.8 and SDK V2.0 I have found that an executable is missing in SDK V1.8. I show this difference in the attached images. As you can see, an executable is missing in the SDK V1.8 of 'setcap' in the directory '... / rootfs / usr / sbin' I thought that maybe I did not have the capabilities with the SDK V1.8 and yes with SDK V2.0 is related to this.

Would someone be able to help me?

pastedImage_1.png

pastedImage_2.png

Thanks.

标记 (1)
0 项奖励
回复
1 解答
2,055 次查看
sandratrujillog
Contributor III

I have managed to install the capabilities in my system.

For this I had to activate the following kernel fields: All 'system extended attibutes', the 'POSIX Access Control List' and the 'Security Labels' for system files.

I also had to activate the following security options: 'Different security models' and 'The securityfs filesystem'.

In addition to the configuration of the kernel I had to manually install the libraries 'attr-2.4.44' and 'libcap2_2.22' on my system

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,056 次查看
sandratrujillog
Contributor III

I have managed to install the capabilities in my system.

For this I had to activate the following kernel fields: All 'system extended attibutes', the 'POSIX Access Control List' and the 'Security Labels' for system files.

I also had to activate the following security options: 'Different security models' and 'The securityfs filesystem'.

In addition to the configuration of the kernel I had to manually install the libraries 'attr-2.4.44' and 'libcap2_2.22' on my system

0 项奖励
回复