opendut
opendut copied to clipboard
Bundle EDGAR with cannelloni
After building cannelloni #186, it would be more comfortable if we can install cannelloni together with EDGAR on a peer.
Possible workflow in xtask cargo ci edgar dist:
- [ ] Define cannelloni version to be downloaded in
Cargo.tomlunderworkspace.metadata.ci - [ ] Download release of cannelloni from here
- [ ] Bundle release tar file (including gpl2 license/SOURCE.md/binary/library) inside EDGAR release
Within EDGAR:
- [ ] Place cannelloni library and binary to
/opt/opendut/edgar/cannelloni/ - [ ] Pass
LD_LIBRARY_PATH=/opt/opendut/edgar/cannelloni/environment variable when callingcannellonibinary.Command::new("cannelloni").env(...) - [ ] Use which crate to determine binary location (should work if PATH environment variable is not present)
Pre-requisit: CAN kernel modules needs to be available on peer.
Check cannelloni GPLv2 license obligations. Issue created for license clarification: https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15457
May alternatively be obsoleted by #306.
Possible workflow in xtask cargo ci edgar dist:
- Define cannelloni version to be downloaded in
Cargo.toml - Download release of cannelloni from here
- Bundle binary/library inside EDGAR release
Within EDGAR:
- Place cannelloni binary to
/opt/opendut-edgar/cannelloni/ - Pass
LD_LIBRARY_PATHenvironment variable when callingcannellonibinary.Command::new("cannelloni").env(...) - Use which crate to determine binary location (should work if PATH environment variable is not present)