Skip to content

LD_PRELOAD hook for uname to change the machine type

Notifications You must be signed in to change notification settings

robotpy/fakearmv7l

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

fake-armv7l

This is a LD_PRELOAD library that hooks the uname function and changes the machine type to be 'armv7l'. The string is intentionally hardcoded for simplicity.

This exists to allow one to force pip to use a particular machine type when creating wheels.

Usage

LD_PRELOAD=/path/to/libfakearmv7l.so [command]

Credit

Stolen from https://geekscloud.wordpress.com/2012/09/06/faking-output-of-uname-command/

License

Unknown

About

LD_PRELOAD hook for uname to change the machine type

Resources

Stars

Watchers

Forks

Packages

No packages published