Skip to content

Commit c15635e

Browse files
authored
make openhabpkgversion a documented feature (#2128)
Signed-off-by: Markus Storm <markus.storm@gmx.net>
1 parent 2078216 commit c15635e

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

build-image/openhabian.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ wifi_country=""
4949
repositoryurl=https://github.com/openhab/openhabian.git
5050
clonebranch=openHAB
5151

52+
# install a specific version of openhab and openhab-addons packages
53+
# use the pkg version string like openhabpkgversion=5.1.2-1
54+
# Leaving this empty will install the latest available packages from the release repo
55+
# openhabpkgversion=
56+
57+
5258
# initial openHAB configuration to import (URL or filename)
5359
# the file needs to be a zip archive created from openhab-cli backup and placed
5460
# in the directory of the first SD partition

docs/openhabian.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,17 @@ clonebranch="openHAB4"
406406
```
407407
:::
408408

409+
#### `openhabpkgversion`
410+
411+
To install a specific version of openhab and openhab-addons packages, use the package version string.
412+
Leaving this empty will install the latest available packages from the release repo.
413+
414+
::: details Example
415+
```
416+
openhabpkgversion=5.1.2-1
417+
```
418+
:::
419+
409420
#### `initialconfig`
410421

411422
An initial configuration file to import when setting up openHAB.

0 commit comments

Comments
 (0)