Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add bpf.o to craned rpm pack #384

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add bpf.o to craned rpm pack #384

wants to merge 2 commits into from

Conversation

wtr0504
Copy link
Contributor

@wtr0504 wtr0504 commented Dec 4, 2024

No description provided.

@RileyWen
Copy link
Collaborator

RileyWen commented Dec 5, 2024

这个东西是处于可以合并的状态吗 还是还有修改需要提交

if(ENABLE_BPF)
install(FILES
${CMAKE_BINARY_DIR}/src/Misc/BPF/cgroup_dev_bpf.o
DESTINATION /etc/crane/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个安装位置还是有待商榷,/etc 下面应该放 .o 文件吗?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

放的位置没有什么特定要求

Copy link
Collaborator

@Nativu5 Nativu5 Dec 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我的意思是 Linux 系统对于 /etc 目录下放的东西是有特定要求的:https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

.o 放在 /etc 下面可以,但不符合规范。

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个放/var/crane/craned/下面吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants