Skip to content
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

Revert "Ubuntu24.04 setup" #6178

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions dev/source/docs/building-setup-linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ If you are on a debian based system (such as Ubuntu or Mint), we provide `a scri

Tools/environment_install/install-prereqs-ubuntu.sh -y

This script installs all required dependencies including cross compilers, creates a python virtual environment at ~/venv.ardupilot, and updates your .profile and your .bashrc. Reload the path using this command (or log-out and log-in to make it permanent):
Reload the path (log-out and log-in to make it permanent):

::

Expand All @@ -68,12 +68,6 @@ If there have been updates to some git submodules you may need to do a full clea

That will remove the build artifacts so you can do a `build <https://github.com/ArduPilot/ardupilot/blob/master/BUILD.md>`__ from scratch

Some changes such as updating lua bindings or hwdef files may require a full "distclean" which will force waf to rebuild the complete environment. To do that use:

::

./waf distclean

--------------------

Setup for other Distributions Using the STM Toolchain
Expand Down
8 changes: 3 additions & 5 deletions dev/source/docs/git-clone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ Clone a repository

Developers should clone the main `ArduPilot repository <https://github.com/ArduPilot/ardupilot>`__ (if they simply want to download and compile the latest code) or their own :ref:`fork <git-fork>` (if they want to make changes to the source code and potentially submit changes back).

Instructions for commonly used tools are below but whichever tool is used, the URL for the source repo will be required. This can be found on the right side of the screen on each Github repository home page but in general the URL is:

.. note:: GitHub will not allow you to push changes if you use https. If you want to be able to submit PRs use an ssh address to clone your fork. Add an ssh key to your GitHub profile for each computer that will be used for ArduPilot development.
Instructions for commonly used tools are below but whichever tool is used, the URL for the source repo will be required. This can be found on the right side of the screen on each Github repository home page but in general the URL is:

- ``https://github.com/ArduPilot/ardupilot.git`` for the main ardupilot repo
- ``git@github.com:your-github-account/ardupilot.git`` for your :ref:`fork <git-fork>` of the ardupilot repo
- ``https://github.com/your-github-account/ardupilot`` for your :ref:`fork <git-fork>` of the ardupilot repo

.. figure:: ../images/APM-Git-Github-Clone.jpg

Expand All @@ -30,7 +28,7 @@ Cloning with the command line

::

git clone --recurse-submodules git@github.com:your-github-userid/ardupilot
git clone --recurse-submodules https://github.com/your-github-userid/ardupilot
cd ardupilot

.. youtube:: kAli2y2-n-M
Expand Down
Loading