Skip to content

EDGEMTech/meta-edgemtech-bpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

meta-edgemtech-bpf
##################

Contains the recipes that enable BPF debugging facilities
in Linux and builds the fperm-trace utility that is used to trace
chmod syscalls

This layer can also be used as an example on how to modify TorizonOS with custom
patches, utilities and programs.

Feel free to use it as a complementary resource to the official Toradex article:

https://developer.toradex.com/linux-bsp/os-development/build-yocto/custom-meta-layers-recipes-and-images-in-yocto-project-hello-world-examples/

But be aware that custom TorizonOS modifications are not officially supported by Toradex.
Should you run into any trouble - you're on your own.

Instructions
************

After sourcing the setup-environment file with the appropriate MACHINE id
First run the command:

bitbake-layers add-layer ../layer/meta-edgemtech-bpf

Modify the newly created build/conf/bblayers.conf file and edit the location
of the meta-edgem1 layer like so:

${OEROOT}/layers/meta-edgemtech-bpf

This avoids using an absolute path

Next, add the setsuid-trace utility to the image by modifying build/conf/local.conf
with the following line: IMAGE_INSTALL:append = " fperm-trace"

About

BPF tools for TorizonOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors