OpenHD
GitHubTelegramDonate
2.0
2.0
  • Introduction
  • General
    • Features
    • Getting Started
    • FAQ
    • Contributing
  • Hardware
    • Wiring
    • WiFi Adapters
    • Supported SBC's
    • Cameras
    • Displays
    • Antennas
    • Audio
  • Software Setup
    • Telemetry and OSD
    • SmartSync
  • RC Control
    • General
    • RC over MAVLink
    • RC over Serial
  • Advanced Setup
    • Bidirectional Telemetry
    • USB Tethering
    • WiFi Hotspot
    • Ethernet Hotspot
    • Ground Recording
    • Using only a USB Camera
    • Using only an IP Camera
    • Using an IP or USB Camera as second camera
    • Bandwidth switching
    • LTE Connection
    • Ground Power Monitoring
  • Ground Station Software
    • QOpen.HD (recommended)
    • Mission Planner
    • QGroundControl
    • Tower
    • FPV_VR
    • GStreamer
    • FishingFanCam
    • RaspberryPi Camera Viewer
  • Developer Corner
    • The Open.HD Ecosystem
    • Making a Release
    • Update packages on a Pi
    • Change packet source on a Pi
    • Building an Image
    • Essentials
    • QOpenhd Tips
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Developer Corner

Building an Image

PreviousChange packet source on a PiNextEssentials

Last updated 2 years ago

Was this helpful?

This is one of the first things any new comer to the developer side of the project will want to attempt. This image builder is really designed to distribute images. It takes a base image, downloads and installs packages we need (some our own and others from sources), then applies patches and other changes to suit our needs.

As of now in all repos “master” branch is referred to as 3.0 and is the new stuff. Branch “2.0” is the working current version of OpenHD for the pi as of this writing. In a few places (cloudsmith or maybe droneio) there are “2.1” references which again is the “new” 3.0

Instructions for build: git clone https://github.com/OpenHD/Open.HD_Image_Builder.git cd Open.HD_Image_Builder git checkout 2.0

./build.sh pi buster 2.0.10

NOTE for Master branch the build.sh is slightly different where you will have to go into another script and change the package target. In a text editor go to: 00-run-chroot.sh This is NOT REQUIRED FOR 2.0 BRANCH

Option

To change the target package of the build in 2.0 go to stage 2 of the builder and modify 00-run-chroot (only change the bright green fields)

The gpg signing key and links are found on cloudsmith with the package you are targeting Also change in that same script