Skip to content

Commit 9c5b520

Browse files
Allow qopenhd package override (#316)
1 parent 12a0f11 commit 9c5b520

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

images/radxa-cm3

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ BASE_IMAGE_URL="https://fra1.digitaloceanspaces.com/openhd-images/Downloader/rel
22
BASE_IMAGE="OpenHD-image-radxa-cm3--release-06-26-2024-00-29-10.img.xz"
33
BASE_IMAGE_SHA256="36e5c95544de75236a92e7947364f29fd58e7fdcf1acb26deac12c3b9fa9954b"
44
OS="radxa-debian-rock-cm3"
5+
QOPENHD_PACKAGE="qopenhd-rk3566"
56
DISTRO="bullseye"
67
HAVE_BOOT_PART=false
78
HAVE_CONF_PART=true
89
CONF_PART=1
910
ROOT_PART=3
10-
BIT="64"
11+
BIT="64"

images/rock5a_base

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ BASE_IMAGE_URL="https://fra1.digitaloceanspaces.com/openhd-images/Downloader/rel
22
BASE_IMAGE="OpenHD-image-rock5a--release-06-26-2024-00-29-36.img.xz"
33
BASE_IMAGE_SHA256="b4d349ca55fc1d6dcfefeb33ae106471d1ed8e9fe5ed61baa109b7d9ff8a1fe9"
44
OS="radxa-debian-rock5a"
5+
QOPENHD_PACKAGE="qopenhd-rk3588"
56
DISTRO="bullseye"
67
HAVE_BOOT_PART=false
78
HAVE_CONF_PART=false
89
ROOT_PART=2
9-
BIT="64"
10+
BIT="64"

images/rock5b_base

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ BASE_IMAGE_URL="https://fra1.digitaloceanspaces.com/openhd-images/Downloader/rel
22
BASE_IMAGE="OpenHD-image-rock5b--release-06-26-2024-00-28-57.img.xz"
33
BASE_IMAGE_SHA256="0e6ce03f8e2a381873856a2d7cc4e93fc6b476c4c9414e9293fe7224ba2783ac"
44
OS="radxa-debian-rock5b"
5+
QOPENHD_PACKAGE="qopenhd-rk3588"
56
DISTRO="bullseye"
67
HAVE_BOOT_PART=false
78
HAVE_CONF_PART=false
89
ROOT_PART=2
9-
BIT="64"
10+
BIT="64"

stages/Update/update.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,12 @@ fi
7474
$APT install openhd libpoco-dev
7575

7676
# Install qopenhd or fallback
77+
qopenhd_package="${QOPENHD_PACKAGE:-qopenhd}"
78+
7779
if [[ "${OS}" == "radxa-debian-cubie" ]]; then
7880
$APT install v4l-utils
7981
else
80-
$APT install "qopenhd" || true
82+
$APT install "${qopenhd_package}" || true
8183
fi
8284

8385
# Enable service

0 commit comments

Comments
 (0)