https://github.com/jhurliman/jetson-ppa
Build scripts to publish Jetson-optimized software to a custom PPA
https://github.com/jhurliman/jetson-ppa
Last synced: 2 months ago
JSON representation
Build scripts to publish Jetson-optimized software to a custom PPA
- Host: GitHub
- URL: https://github.com/jhurliman/jetson-ppa
- Owner: jhurliman
- License: mit
- Created: 2024-07-24T18:51:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-20T22:24:56.000Z (about 1 year ago)
- Last Synced: 2025-05-20T22:58:08.031Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jetson-ppa
Build scripts and infrastructure to publish Jetson-optimized software to a custom apt repository.
# Usage
To use the software published in this repository, you need to add the repository to your apt sources. To do this, run the following commands (assuming Jetson R32.7):
```bash
wget -qO- https://repo.download.mvi.llc/jhurliman-public-key.asc | sudo gpg --no-default-keyring --keyring /usr/share/keyrings/jhurliman.gpg --import
echo "deb [signed-by=/usr/share/keyrings/jhurliman.gpg] https://repo.download.mvi.llc/jetson/common r32.7 main" | sudo tee /etc/apt/sources.list.d/mvi-ppa.list
sudo apt update
```
You can then upgrade to a recent OpenCV Jetson-optimized build with the following command:
```bash
sudo apt upgrade nvidia-jetpack
```
Or if you are only interested in OpenCV and do not have JetPack installed:
```bash
sudo apt install libopencv
```
# Development
Docker is the only dependency for the build process, and QEMU if you are not on an ARM64 machine.
```bash
./scripts/build.sh
```
Publishing requires `GPG_PUBLIC_KEY` and `GPG_PRIVATE_KEY` environment variables to be set. Example:
```bash
gpg --show-keys
export GPG_PUBLIC_KEY=
export GPG_PRIVATE_KEY=$(cat )
```
To publish a package, run:
```bash
./scripts/publish-.sh
```