Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating grafana repository to use stretch builds #365

Merged
merged 3 commits into from Apr 8, 2018
Merged

updating grafana repository to use stretch builds #365

merged 3 commits into from Apr 8, 2018

Conversation

mues-lee
Copy link
Contributor

@mues-lee mues-lee commented Apr 3, 2018

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)
@EliasGabrielsson
Copy link
Contributor

What do you think about this? #367
More job yes but longterm stability will be better.

closes #367
also added source-list based on os for InfluxDB

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)
@mues-lee
Copy link
Contributor Author

mues-lee commented Apr 4, 2018

@EliasGabrielsson please review the changes, hope this was what you meant in #367

@ThomDietrich
Copy link
Member

Is this routine safe?
Are repository branches available for jessie, stretch, trusty, xenial, ...?

@BClark09
Copy link
Member

BClark09 commented Apr 4, 2018

The influxdata repo contains the major ones. However, the script will fail for Ubuntu users because Grafana only contains jessie, stretch and wheezy.

Grafana recommend in the docs using Jessie regardless of distro used.

@mues-lee
Copy link
Contributor Author

mues-lee commented Apr 4, 2018

it's true the docs on grafana still recommend using jessie, but i think this page is just outdated, of course i don't have any prove of my thinking

about ubuntu, yes it would fail for them, but as i understood the function, it was never meant to work on ubuntu, since there wasn't a distinguish between debian and ubuntu at all
sure this can be added, but i believe a central platform recognition would be much better then doing this in each function

@@ -397,7 +398,7 @@ influxdb_grafana_setup() {
cond_echo ""
echo "InfluxDB... "
cond_redirect wget -O - https://repos.influxdata.com/influxdb.key | apt-key add - || FAILED=1
echo "deb https://repos.influxdata.com/debian jessie stable" > /etc/apt/sources.list.d/influxdb.list || FAILED=1
echo "deb https://repos.influxdata.com/debian $codename stable" > /etc/apt/sources.list.d/influxdb.list || FAILED=1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't have an answer to this but which of these two could we use?
https://repos.influxdata.com/debian/dists/* or https://repos.influxdata.com/ubuntu/dists/*

Both seams to have all major releases for both Ubuntu and Debian.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just do an if case for the Ubuntu case and use them both.

@EliasGabrielsson
Copy link
Contributor

EliasGabrielsson commented Apr 4, 2018

According to this article I would say the routine lsb-release is stable.
https://www.unixtutorial.org/commands/lsb_release/

cond_redirect apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61 || FAILED=2
else
cond_redirect wget -O - https://packagecloud.io/gpg.key | apt-key add - || FAILED=2
echo "deb https://packagecloud.io/grafana/stable/debian/ stretch main" > /etc/apt/sources.list.d/grafana.list || FAILED=2
echo "deb https://packagecloud.io/grafana/stable/debian/ $codename main" > /etc/apt/sources.list.d/grafana.list || FAILED=2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stretch seams to be deploy and used as deb (grafana/grafana#8648) but the ubuntu releases is not available as @BClark09 mention. Some clever filtering is needed here, like a fallback for Ubuntu.

@EliasGabrielsson
Copy link
Contributor

@mues-lee Great changes. Made two comments in the code which sums up reasoning in this thread. When they are solved I would say this is ready for merge.

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)
@mues-lee
Copy link
Contributor Author

mues-lee commented Apr 5, 2018

@EliasGabrielsson please review my recent changes

echo "deb https://packagecloud.io/grafana/stable/$distributor/ $codename main" > /etc/apt/sources.list.d/grafana.list || FAILED=2
if [ $distributor = "ubuntu" ]; then #remove this loop when grafana ubuntu packages are available
echo "deb https://packagecloud.io/grafana/stable/debian/ jessie main" > /etc/apt/sources.list.d/grafana.list || FAILED=2
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct me if I am wrong but isn't something like this what we are after as there are no ubuntu packages available?

if [ $codename = "jessie" ]; then
    echo "deb https://packagecloud.io/grafana/stable/debian/ jessie main" > /etc/apt/sources.list.d/grafana.list || FAILED=2
else
    echo "deb https://packagecloud.io/grafana/stable/debian/ stretch main" > /etc/apt/sources.list.d/grafana.list || FAILED=2
fi

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have not tested above code, could contain syntax error etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well this is what my changes do, with the added benefit that once when there will be the packages for Ubuntu will be there, the if loop can be removed and we end up with a cleaner code with less points to adjust when a new supported stable release from, let's say from debian, is released.

But of course we can do it now withe the if-else loop, this should not be my decision

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But doesn't we end up with an invalid entry in sources.list for Ubuntu then which we can't resolve?
Eg. "deb https://packagecloud.io/grafana/stable/ubuntu/ xenial main" will produces sources can't be found.

Copy link
Contributor Author

@mues-lee mues-lee Apr 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well no ... line 421 would insert deb https://packagecloud.io/grafana/stable/ubuntu/ xenial main but than it will be overwritten by the if loop with deb https://packagecloud.io/grafana/stable/debian/ jessie main
i have planed this for the future, when there maybe will be ubuntu packages for grafana, then we can just remove the if loop and we will be done

@EliasGabrielsson EliasGabrielsson merged commit 47b3a02 into openhab:master Apr 8, 2018
@EliasGabrielsson
Copy link
Contributor

@mues-lee Thanks for your patience when in reviewing this.
Now we will have correct packages with for all OS:es. 🥁🥁🥁

@mues-lee mues-lee deleted the grafana-source-fix branch April 10, 2018 14:52
@mues-lee
Copy link
Contributor Author

@EliasGabrielsson you are welcome

@ThomDietrich
Copy link
Member

Hey guys! I'm a bit late to the game but this looks good to me.

In general I'd say it's preferable to use the helper methods over in https://github.com/openhab/openhabian/blob/master/functions/helpers.sh
As you know there will always be this one case where one of those checks needs to be adapted (see #374). Hence instead of your special check I'd have prefered a simple if is_ubuntu ....

Just my two cents.

@mues-lee
Copy link
Contributor Author

that is correct, hadn't think about this, but it would be know problem to exchange my special checks, just let me know if i should do this

@ThomDietrich
Copy link
Member

If I remember correctly you wanted to add the additional configuration steps as described in the tutorial. If this is the case, just do it while at that ;)

@mues-lee
Copy link
Contributor Author

mues-lee commented Apr 10, 2018

not sure about which

additional configuration steps as described in the tutorial

you mean

@ThomDietrich
Copy link
Member

#366

mstormi pushed a commit to mstormi/openhabian that referenced this pull request Jan 3, 2019
* updating grafana repository to use stretch builds

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* grafana/InfluxDB source-list based on current OS

closes openhab#367
also added source-list based on os for InfluxDB

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* grafana: restoring Ubuntu xenial compatibility 

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)
ThomDietrich pushed a commit that referenced this pull request Jan 10, 2019
* fix changing smbpasswd

Signed-off-by: Markus Storm <markus.storm@gmx.net>

* Download and install Zulu Embedded from .tar

We need to change the installation method of Zulu Java as Azul systems does not maintain Java repos any more.

* Download and install Zulu Embedded from .tar

* Create azul_zulu_license.md

* move setting Java options to openhab2_setup()

* don't download to /tmp

due to tmpfs potentially exceeded

* latest zulu is 8u192

* java install into /opt/jdk

and use local variables

* java link correction

* java link corrected

* changes as requested by @ThomDietrich

* reformat, add source link

* rearranged java installation to catch errors

untested for now

* fix: create TEMPROOT

* Update java-jre.sh

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de>

* license -> docs

* Create azul_zulu_license.md

* Delete azul_zulu_license.md

* license moved from docs to includes

* Add newline before new entries in dashboard.cfg

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Add homegear repositories for supported systems (#297)

* Fix #286

This adds support for all OSes supported by Homegear at the moment

Signed-off-by: Lars Francke <mail@lars-francke.de> (github: lfrancke)

* Overwrite list file instead of appending to it

Signed-off-by: Lars Francke <mail@lars-francke.de> (github: lfrancke)

* Add short option to all lsb_release calls

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Fix Frontail setup function and service config #304
Signed-off-by: Markus Haack <markus.haack@gmail.com> (github: mhaack)

* Add source front matter to USAGE file

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Add arping as basic package (#311)

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Changed Nginx script to explicit use external DNS

Fixes #324

Signed-off-by: Elias Gabrielsson <elias@benefactory.se> (github: EliasGabrielsson)

* Minor amanda README fix (#314)

* Start findserver after mosquitto (#328)

Signed-off-by: Markus Storm Markus.Storm@gmx.net Github: mstormi

* Add PINE64 support for system binding and gpio, close #310 (#322)

* Added PINE64 support for system binding and gpio closes #310

Signed-off-by: Elias Gabrielsson <elias@benefactory.se> (github: EliasGabrielsson)

* Added newline to PINE64 gpio script

Signed-off-by: Elias Gabrielsson <elias@benefactory.se> (github: EliasGabrielsson)

* Change "Manual/Fresh Setup" menu to checklist (#331)

Fixes #250

Signed-off-by: Elias Gabrielsson <elias@benefactory.se> (github: EliasGabrielsson)

* Improve password change function and cleanup #326 (#332)

* Nginx password change function and cleanup #326

* Added support to change the password for nginx access user #326
* Rewrite password menu to enable a dynamic view, eg. not all password are installed on all systems.
* Updated documentaion to reflect reality concerning password handling.

Signed-off-by: Elias Gabrielsson elias@benefactory.se (github: EliasGabrielsson)

* InfluxDB/Grafana password change function #334

* Added support to change the password for Grafana and InfluxDB admin account #334
* Added password length check on 10 character to comply with Grafana

Signed-off-by: Elias Gabrielsson elias@benefactory.se (github: EliasGabrielsson)

* Add openhab user to bluetooth group (required for Bluetooth binding) (#338)

Signed-off-by: Kai Kreuzer <kai@openhab.org>

* Mount vfat storage stick as user backup in example (#340)

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Fix function call typo (#344)

Fixes #341

Signed-off-by: Elias Gabrielsson <elias@benefactory.se> (github: EliasGabrielsson)

* Update README.md

* Remove commandline openhab-generator, closes #329 (#335)

* Removed commandline openhab-generator closes: #329

Signed-off-by: Elias Gabrielsson <elias@benefactory.se> (github: EliasGabrielsson)

* Updated README to refer to Home Builder

Signed-off-by: Elias Gabrielsson <elias@benefactory.se> (github: EliasGabrielsson)

* Update openhabian.md

* Restore ability to choose new conffile or not

Signed-off-by: Ben Clark <ben@benjyc.uk>

* Fix unstable function call naming

Signed-off-by: Ben Clark <ben@benjyc.uk>

* Improve fstab pattern-based share delete, fix #349

Fixes  #349

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Fix failing Amanada tape symlink creation (#354)

* fixing failing drive0 and drive1 symlink creation

target folder for
ln -s ${storage}/slots ${storage}/slots/drive0;ln -s ${storage}/slots ${storage}/slots/drive1
doesn't exist, to avoid the creation fail the need folder is created in before

* adding the correct ownership to slots folder

as suggested by @mstormi in #354

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* adding the correct ownership to slots folder

as suggested by @mstormi in #354

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* Remove deletion of rpi-update (#359)

* Re-add rpi-update to basic packages

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Update system.sh

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Execute apt update after upgrade (#360)

* get latest repository data before git install

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* Replicate change for pinea64

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Add console width check, close #345 (#361)

Signed-off-by: Elias Gabrielsson elias@gabson.se (github: EliasGabrielsson)

* Decrease width of warning, fix typos (#363)

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Fix typo in samba password change function

Signed-off-by: Ben Clark <ben@benjyc.uk>

* updating grafana repository to use stretch builds (#365)

* updating grafana repository to use stretch builds

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* grafana/InfluxDB source-list based on current OS

closes #367
also added source-list based on os for InfluxDB

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* grafana: restoring Ubuntu xenial compatibility 

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* Add is_pithreeplus helper function, closes #374 (#376)

* is_pithreeplus( ) added

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* is_pithreeplus( ) added

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* is_pithreeplus( ) added

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* Update wifi function for stretch, resolves #374

Resolves #374

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Update Node.JS installer to use v8 (from v7) (#383)

* Update installer to use Node.js 8 (from v7)

Installation of fronttail was failing on Ubuntu distributions newer than Zesty
because they were not supported by Node v7. This patch changes the installed
version of Node to 8 in the openhabian-setup.sh installer.

Signed-off-by: Brian Warner <brian@bdwarner.com>

* Update nodejs-apps.sh

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Update Node.JS installer to use Carbon for ARMv6l

This patch updates the installed version of Node.JS from Boron to Carbon.  This
is an LTS release supported through December 2019.

Signed-off-by: Brian Warner <brian@bdwarner.com>

* Enables wifi by removing soft block (#380)

The latest version of openhabian on the rpi soft locks the wifi and prevents enabling of wifi.

This removes the soft block and enables wifi.

Signed-off-by: Jeremy Scott jeremyhatesspam@gmail.com (github: jscottnz)

* Removes wpa_supplicant.conf on failed start so the user has a chance to correct it (#386)

Also-by: Thomas Dietrich thomas.dietrich@tu-ilmenau.de (github: ThomDietrich)
Signed-off-by: Jeremy Scott jeremyhatesspam@gmail.com (github: jscottnz)

* Corrected misspelling (#394)

Reference: openhab/openhab-docs#676

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* Add amanda settings backup, improve docs (#371)

* amanda create config+index backup

* amanda cron entry corrected

* Corrected cron entry for amanda

* Fixed Amanda backup tar destination dir, backup group

* Amanda docs improvement on partition restoration

* Amanda docs improvement on partition restoration

* Amanda emergency recovery howto

* fix Amanda config+index backup cronjob

* Amanda docs typos

* Update openhabian-amanda.md



Signed-By: Markus Storm <markus.storm@gmx.net> (github: mstormi)

* Set Amanda SD card default size, increase net bandwidth (#370)

* amanda.conf SD card default size, net bandwidth increased

* Amanda docs typos

* Update openhabian-amanda.md

Signed-off-by: Markus Storm markus.storm@gmx.net (github: mstormi)

* Retrieve gpg key unconditionally in openHAB setup

Resolves #393

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Fixed syntax error in backup.sh (#397)

Added missing "

* Add travis.yml

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Update documentation links

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

* Install distro specific versions of certbot (#403)

* Install distro specific versions of certbot

Signed-off-by: Ben Clark <ben@benjyc.uk>

* Fix package to install being null for Ubuntu

Signed-off-by: Ben Clark <ben@benjyc.uk>

* Reinstate and rerun upgrade during first-boot (#405)

If updating repositories and upgrading installed packages fails, give it another chance with reinstating dpkg.

Signed-off-by: Alari Truuts <Alari.Truuts@gmail.com> (github: Alluuu)

* Generalise stable version in menu (#409)

* Generalise stable version in menu

Signed-off-by: Ben Clark <ben@benjyc.uk

* Remove use of ".X"

Signed-off-by: Ben Clark <ben@benjyc.uk>

* Add a webserver to show log during RPi first-boot (#372)

* adding a webserver 

adds a lightweight webserver to shows the first-boot.log in users browser

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* modifications for webserver addition

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* adding webif file to image

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* moving webif.sh to correct folder

+ adding no cache options to the html page
+  some code formatting fixes

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* code formatting

GitHub Desktop code preview seems to shows things different than the website

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* getting hostname from openhabian.conf

changed port to 80
corrected typos

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* changed start time of webserver

so we can get hostname from openhabian.conf

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* 'function' renamed, code formatting improved

+ fixed a typo

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* 'function' renamed

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* fixed bug, that prevent starting the webserver 

- renamed 'function' stillrunning -> reinsure_running
- improved installation improved msg

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* Added check if web server is started ...

... and added according output to the log
- renamed the 'function' stillrunning -> reinsure_running
- increased time before running inst_done and cleanup

Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)


Signed-off-by: Marcus Krüger github@mues-lee.de (github: mues-lee)

* Provide generic hostname in custom dashboard tiles. Closes #287, Fixes #389

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>

* Fixed broken Anchor (#417)

Seems the corresponding headline was renamed.

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>

* add optional component "Tellstick core service" (#390)

This patch add a install script for usb based Tellstick devices.
It consist of three parts:

1) The tool, driver and service itself.
2) A custom systemd service for autostart.
3) Installation of an improved administration tool for device detection.

Signed-off-by: Elias Gabrielsson elias@gabson.se (github: EliasGabrielsson)

* merge buildchain and add custom repositories (#358)

This patch:
* merge `first-boot.sh` files to a common one for all platforms with conditional actions
* merged build script to a common one, `build.sh`
* adds to build options for custom repositories, `dev-git` and `dev-url`
* adds `test build` watermark to builds created with `dev-git` and `dev-url`
* enables web gui for pine64 board

Things to note:
* Adds dependency to `functions/helpers.sh`

Closes issue #269

Signed-off-by: Elias Gabrielsson elias@gabson.se (github: EliasGabrielsson)

* Set wifi country for wireless regulatory domain (#384)

* Fixes wifi country for wireless regulatory domain

- adds `wifi_country` to config with comment. Defaults to US
- uses `wifi_country` to configure wifi correctly
- updates `functions/wifi.sh` to collect and configure `wifi_country`

Closes issue #382

Signed-off-by: Jeremy Scott jeremyhatesspam@gmail.com (github: jscottnz)

* Update first-boot.sh

* Update openhabian.pi-raspbian.conf

* Update openhabian.pine64-xenial.conf

* Update openhabian.pine64-xenial.conf

* Add Speedtest-cli as optional component (#421)

* Add Speedtest-cli optional component

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>

* Update menu.sh

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Update packages.sh

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Update packages.sh

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)

* Support IPv4 link-local routes (169.254.x.x) (#434)

Signed-off-by: Elias Gabrielsson <elias@gabson.se> (github: EliasGabrielsson)

* Added option to install openHAB milestone builds (#436)

* Added option to install openHAB milestone builds

Now that there's 'milestone' builds made available in the openHAB testing repository, we should offer openHABian users to use these.

Signed-off-by: Markus Storm markus.storm@gmx.net (github: mstormi)

* Added option to install openHAB milestone builds

Added option to install openHAB milestone builds

Signed-off-by: Markus Storm markus.storm@gmx.net (github: mstormi)

* testing artefact removed

* changed testing repo, modified wording according to bclark09's comments

* wording of OH releases: milestone -> testing

* added testing buills under option 64

* minor wording changes and typos (#440)

* optimize Java memory allocation for low-mem SBCs (#443)

See issue #442 

Signed-off-by: Markus Storm markus.storm@gmx.net (github: mstormi)

* refactored Amanda AWS backup option (#449)

refactored all of Amanda install routine

setting up AWS S3 backup didn't work at all, now it does (hopefully)

Signed-off-by: Markus Storm markus.storm@gmx.net (github: mstormi))

* Download and install Zulu Embedded from .tar

We need to change the installation method of Zulu Java as Azul systems does not maintain Java repos any more.

* Download and install Zulu Embedded from .tar

* Create azul_zulu_license.md

* move setting Java options to openhab2_setup()

* Set Java memory opts (moved from java-jre.sh) (#460)

* Set Java memory opts (moved from java-jre.sh)

* move setting Java memory options to openhab2_setup()

fix #454

* don't download to /tmp

due to tmpfs potentially exceeded

* latest zulu is 8u192

* java install into /opt/jdk

and use local variables

* java link correction

* java link corrected

* maybe a bit too many warnings (#464)

Got feedback that's "intimidating" to Linux newbies and made them stay away from using it.

* Updated list of optional openHABian components (#466)

* Updated list of optional components

* Update openhabian.md

* Node-RED Install (#420)

* Changes so that Node-RED installs and runs as the openhabian user rather than root

* Updated to use $username variable rather than explicit username

* Fix sed expression to remove blank lines from /etc/fstab (#455)

* Change from apt to apt-get in build (#472)

Signed-off-by: Elias Gabrielsson <elias@gabson.se>

* removed changerfile from amanda.conf (#474)

deprecated in Amanda 3.4+

* Multitail update (#481)

* Add own multitail configuration

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Add multitail config to manual setup

Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>

* Add fully scripted influxdb + grafana installation (#465)

Closes #366
Partly-resolves #437

This patch aims to script the installation instructions found:
https://community.openhab.org/t/influxdb-grafana-persistence-and-graphing/13761

Signed-off-by: Elias Gabrielsson <elias@gabson.se>

* Fixed syntax error InfluxDB+Grafana installation (#486)

Resolves #484

Signed-off-by: Elias Gabrielsson <elias@gabson.se>

* Fixes bug in openhabian-config help menu (#438) (#483)

Fixes #438
Closes #438

This simple patch fixes a minor issue when pressing Esc on the Help menu of openhabian-config.

signed-off-by: Tyler Walker <supercharged.ty@gmail.com> (github: Tylerbinski)

* specify openhab2 package version (#476)

* specify openhab2 package version

required if moving from snapshot to milestone else won't obtain that

* typo in package name corrected

* Remove unused Java installation code (#490)

Signed-off-by: Elias Gabrielsson <elias@gabson.se>

* Zulu repo (#491)

* Remove unused Java installation code

Signed-off-by: Elias Gabrielsson <elias@gabson.se>

* Base Zulu Java installation on distrubition

Resolves #368

Signed-off-by: Elias Gabrielsson <elias@gabson.se>

* changes as requested by @ThomDietrich

* reformat, add source link

* rearranged java installation to catch errors

untested for now

* fix: create TEMPROOT

* Update java-jre.sh

Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de>

* license -> docs

* Create azul_zulu_license.md

* Delete azul_zulu_license.md

* license moved from docs to includes

* remove Oracle java from options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants