-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Tools: Add scripts for Fedora systems #28791
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
Conversation
542b367 to
91501a5
Compare
|
Always nice to see more of these! Do you mind amending your commit title to prefix it with "Tools: " |
No problem, I will add it |
|
In CLI: change your commit title Then,
For reference: https://ardupilot.org/dev/docs/submitting-patches-back-to-master.html#preparing-commits |
91501a5 to
bc0c668
Compare
|
sorry, I accidentally deleted my branch while cleaning up my repo |
|
No worries. Looks like you also added a merge commit. ArduPilot uses a rebase workflow. I'll drop that off your branch and force push. Looks fine otherwise! |
3a435b9 to
52ec360
Compare
|
Alrighty, all cleaned up. Approved! I requested final review from a maintainer. If you have time, mind trying to add a job in CI to enforce this script can continue to work as you intended as a follow up PR? |
|
Eh, maybe not, I don't think we can run these setup scripts tests on fedora in CI: Maybe you know a way? |
|
I'd like to help, but I don't think I have time to do the CI part. I'm still new to github, still have to learn more about the testing and CI part since I never used it before anyway, thank you for reviewing the PR |
|
I'm a bit concerned by the fact that this is just the fedora install script which has been copied sideways and modified. By contrast, our Copying-sideways-and-modifying increases maintenance load on the project, so I would strongly prefer a modification (and perhaps rename) of the existing script to be able to handle both. Something like would make it all reasonable clean, I think. |
|
@peterbarker sorry for the late reply. So from your suggestion, it's better to merge the OpenSUSE and Fedora scripts into a single env install file to make maintenance easier, correct? |
|
it can be done with some if statements though, to handle differences in package names and others |
That's correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rejig as a modification to the opensuse script.
I wouldn't mind if you started by git mv to a different filename first which is collective of both Fedora and OpenSUSE. I'll note that our Ubuntu install script also handles base Debian and Mint, 'though, so it's already a matter of knowing which one to run from some other source, really....
|
Since it has been quite old, I probably should start with a new script modification, though probably not soon as I'm also quite busy at the moment. Probably better to close this PR before I make a new one with a better script. Thank you for your input @peterbarker |
No worries. Sorry if it seems I'm being too finicky, but whatever goes in has to be maintained! |
|
Any idea? I use the fedora system now. And want to build the ardupilot firmware. |

This script is basically the modification from OpenSUSE Tumbleweed environment install script. The only changes was about the python package names with awk and some renaming to match fedora packages. Tested and the resulting environment is able to compile ArduCopter for Pixhawk1 (STM32) and ESP32S3 Devkit without error. The resulting binaries have not been tested yet