Commit Graph

5 Commits (91df18b3ae7c0b737cdcf8ec61a2f46e33b22576)

Author SHA1 Message Date
Wouter Born ab1d7ea16a Update userdata using common openHAB update files (#239)
Reworks the update process to update the userdata in the container using the update.lst and userdata_sysfiles.lst files (provided by openhab-distro).
The update script has been modified for use in the container.

This adds the following new functionality when updating between versions:
* show update notes and warnings during the update (based on update.lst)
* execute the update pre/post commands (based on update.lst)
* replace userdata system files with newer versions (based on userdata_sysfiles.lst)
* update KAR files in addons dir by downloading newer versions
* log the update output in update.log

Other improvements are:
* declare and use common openHAB environment variables in scripts (OPENHAB_BACKUPS, OPENHAB_CONF, OPENHAB_HOME, OPENHAB_LOGDIR, OPENHAB_USERDATA)
* initialize empty volumes using a reusable method
* move all default volume data into the "dist" directory
* remove Windows PowerShell scripts from container images

Signed-off-by: Wouter Born <github@maindrain.net>
2019-08-04 20:54:07 +02:00
Hakan Tandogan 005075a8a5 Allow for root operations in continuation scripts (#227)
Signed-off-by: Hakan Tandogan <hakan@tandogan.com>
2019-03-26 13:03:22 +01:00
Wouter Born b460365ce1 Update user/group ID and unlimited crypto documentation (#222)
* Update user/group ID and unlimited crypto documentation

Signed-off-by: Wouter Born <eclipse@maindrain.net>

* Rename existing group matching GROUP_ID environment variable to openhab

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2019-01-08 00:03:21 +01:00
Wouter Born 9bb64597b8 Feram fixes (#219)
Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-12-24 13:33:51 +01:00
Wouter Born f6fc442306 Use Zulu 64-bit JVM in arm64 Debian images, add 2.4.0, 2.5.0-snapshot (#218)
* Use Zulu 64-bit JVM in arm64 Debian images

The armhf images also work on arm64 so these can still be used when performance is an issue on hardware constrained devices.

* Fix charts not working on arm64 because 32-bit JVM doesn't work with fontconfig:arm64
* Reduce image size because armhf architecture and libc6:armhf fontconfig:armhf don't need to be installed
* Prevent QEMU issues because it has trouble executing 32-bit binaries in 64-bit mode when building images
* Make the image more similar to the Alpine image which also uses a 64-bit OpenJDK JVM
* Update Zulu download URLs to download 1.8.0_192
* Update README example to also use tini when openHAB is started as root.

Fixes #152

Signed-off-by: Wouter Born <eclipse@maindrain.net>

* Add 2.4.0.RC1, 2.4.0, 2.5.0-snapshot, generate README.md without using markers

Signed-off-by: Wouter Born <eclipse@maindrain.net>
2018-12-17 11:40:52 +01:00