Skip to content

Commit

Permalink
Revert "Update Ubuntu setup docs for 24.04"
Browse files Browse the repository at this point in the history
This reverts commit 3ef6151.
  • Loading branch information
Hwurzburg authored Aug 13, 2024
1 parent d166843 commit a726810
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
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

0 comments on commit a726810

Please sign in to comment.