You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(debian): Mass update debian guides following 11.01.16.13 release
First passthrough updating debian docs, more to come in future.
Fixed formatting and updated some content.
Updates following Oct 2025 11.01 release.
Signed-off-by: Jonas Wood <[email protected]>
Copy file name to clipboardExpand all lines: source/debian/Building_Debian_Packages.rst
+40-38Lines changed: 40 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,92 +2,94 @@
2
2
Building Debian Packages
3
3
========================
4
4
5
-
`Debian-Repos<https://github.com/TexasInstruments/debian-repos>`__ is a set of scripts to build TI's Debian packages with a single command.
5
+
`debian-repos<https://github.com/TexasInstruments/debian-repos>`__ is a set of scripts to build TI's Debian packages with a single command.
6
6
7
7
The generation of a Debian package from a binary or source involves many steps such as, obtaining the source code in tar (compressed) format, generating template files, modifying template file. The host build system and host build environment variables should also be configured.
8
8
9
-
The `run.sh` script handles these steps, thus the building of a deb package for TI's packages is as simple as running `run.sh` with the desired package's name.
9
+
The :file:`run.sh` script handles these steps. Therefore, the building of a deb package for TI's packages is as simple as running :file:`run.sh` with the package's name as a command line argument.
10
10
11
11
This repository is useful to the following audience:
12
12
13
-
1. Potential package contributors who want to fix bugs or add enhancements to TI packages.
14
-
2. Users who want to create a new package with the latest changes or customizations.
15
-
3. Anyone who wants to study Debian packaging.
13
+
- Potential package contributors who want to fix bugs or add enhancements to TI packages.
14
+
- Users who want to create a new package with the latest changes or customizations.
15
+
- Anyone who wants to study Debian packaging.
16
16
17
17
Structure
18
18
=========
19
19
20
-
The `run.sh` file is the "main" script that should be run. It takes as argument the name of the package to be built.
20
+
The :file:`run.sh` file is the "main" script. It takes as argument the name of the package to build.
21
21
22
-
Each TI package has a corresponding directory, named after its source package. Within this directory exists the `suite/<distro-variant>/debian/` path. All Debian related files (`control`, `rules`, man pages etc) for the package are located here.
22
+
Each TI package has a corresponding directory, named after its source package. Within this directory exists the :file:`suite/<distro-variant>/debian/` path. All Debian related files (:file:`control`, :file:`rules`, man pages etc) for the package are located here.
23
23
24
-
There also exists a `<package-name>/version.sh` file. This file is sourced by `run.sh`.
24
+
There also exists a :file:`<package-name>/version.sh` file. This file is sourced by :file:`run.sh`.
25
25
26
26
Setting Up Host for the build
27
27
=============================
28
28
29
-
The `debian-repos` only support native compilation of packages. Hence, the build has to be done either on the ARM64 Target or ARM64 Docker Container or ARM64 Chroot Environment.
29
+
`debian-repos<https://github.com/TexasInstruments/debian-repos>`__ only supports native compilation of packages. Therefore, the build has to be done either on the ARM64 target or an ARM64 Docker Container.
30
30
31
31
When running on native ARM64 target, no additional setup is required. Proceed with Building the Package.
32
32
33
-
To setup and run an ARM64 Docker, run the following commands:
33
+
To setup and run an ARM64 Docker Container, run the following commands:
This command carries out all the necessary steps to build the package including installation of package-specific dependencies. The package and all related files are then stored in `build/<package-name>`.
61
+
.. note::
62
62
63
-
For example: to build `ti-linux-kernel`, the command is:
63
+
This command carries out all the necessary steps to build the package including installation of package-specific dependencies.
64
+
The package and all related files are then stored in :file:`build/<package-name>`.
64
65
65
-
.. code-block::
66
+
For example: to build :file:`ti-linux-kernel`, the command is:
67
+
68
+
.. code-block::
66
69
67
-
./run.sh ti-linux-kernel
70
+
./run.sh ti-linux-kernel
68
71
69
-
The output is then found in `build/ti-linux-kernel/`.
72
+
The output is then found in :file:`build/ti-linux-kernel/`.
0 commit comments