/jetson-ppa

Build scripts to publish Jetson-optimized software to a custom PPA

Primary LanguageShellMIT LicenseMIT

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):

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:

sudo apt upgrade nvidia-jetpack

Or if you are only interested in OpenCV and do not have JetPack installed:

sudo apt install libopencv

Development

Docker is the only dependency for the build process, and QEMU if you are not on an ARM64 machine.

./scripts/build.sh <jetson-r32 x64> <package-name>

Publishing requires GPG_PUBLIC_KEY and GPG_PRIVATE_KEY environment variables to be set. Example:

gpg --show-keys <path-to-public-key.asc>
export GPG_PUBLIC_KEY=<public-key>
export GPG_PRIVATE_KEY=$(cat <path-to-private-key.asc>)

To publish a package, run:

./scripts/publish-<package_name>.sh <jetson-r32 x64>