-
Notifications
You must be signed in to change notification settings - Fork 115
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
First attempt at RasPi support #17
Conversation
Just for reference, when I run the following:
The error I am getting with cargo deb is as follows:
The same happens with Based on these issues - rust-lang/rust#28924 / GuillaumeGomez/sysinfo#246 - I think I might need to define a linker. |
Cargo-deb is basically ignoring the As per the docs here the preferred config is It is only looking at See issue on cargo-deb here mmstick/cargo-deb#157 |
@madninja the fix in cargo-deb is in and so in future versions it should be ok with a config.toml. Are you happy with the config being |
@shawaj ok, I think we're ready to look at how this gets merged, if you're still interested? Does the config vs config.toml work for the non cargo-deb platforms? |
This is a first draft commit and a work in progress PR.
It cross compiles fine using
cross build
but I am having some issues with getting cargo-deb to work properly for packaging the deb file. Perhaps might be a better idea to package the .deb file manually like is done with the .ipkSome other things to note:
cmake
andgcc-arm-linux-gnueabihf
andrustup target add armv7-unknown-linux-gnueabihf
Let me know if you spot any issues or have any suggestions.