An open API service indexing awesome lists of open source software.

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

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
```