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

Installation of knxd now uses knxd package from standard package repository #1188

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

holgerfriedrich
Copy link
Member

@holgerfriedrich holgerfriedrich commented Oct 14, 2020

Changed from building and installing latest source to installing the
knxd package provided by several distrubutions. Package is available
in Debian, Raspberry Pi OS, and Ubuntu (starting 20.04). Closes #651.
Added bats test case.

Signed-off-by: Holger Friedrich [email protected]

Copy link
Contributor

@mstormi mstormi left a comment

Choose a reason for hiding this comment

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

other than the text it LGTM

@@ -396,27 +396,50 @@ find_setup() {
## knxd_setup()
##
knxd_setup() {
local introText="This will install and setup kndx (successor to eibd) as your EIB/KNX IP gateway and router to support your KNX bus system.\\n\\nThis routine was provided by 'Michels Tech Blog': https://bit.ly/3dzeoKh"
local successText="Setup was successful.\\n\\nPlease edit '/etc/default/knxd' to meet your interface requirements. For further information on knxd options, please type 'knxd --help'\\n\\nFurther details can be found under: https://bit.ly/3dzeoKh\\n\\nIntegration into openHAB 2 is described here: https://github.com/openhab/openhab/wiki/KNX-Binding"
local introText="This will install and setup kndx as your EIB/KNX IP gateway and router to support your KNX bus system.\\n\\nNOTE: You don't need this if you connect via an IP interfacte or router to your KNX installation. This package is to turn an USB or serial interface into an IP interface.\n\nNOTE: openHABian changed from building and installing latest source to installing the knxd package provided by several distrubutions."
Copy link
Contributor

Choose a reason for hiding this comment

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

will it also setup knxd? If no remove from this text

2 typos:
interfacte
distrubutions

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, thanks. Wish I could find a spell checker for strings bash scripts....
Will merge once checks have completed.

@holgerfriedrich holgerfriedrich force-pushed the knxd-package branch 2 times, most recently from 299a89a to fa16c8a Compare October 14, 2020 21:05
…sitory

Changed from building and installing latest source to installing the
knxd package provided by several distrubutions. Package is available
in Debian, Raspberry Pi OS, and Ubuntu (starting 20.04). Closes openhab#651.
Added bats test case.

Signed-off-by: Holger Friedrich <[email protected]>
@holgerfriedrich holgerfriedrich changed the title Installation of software knxd is now based on knxd package from the Installation of knxd now uses knxd package from standard package repository Oct 14, 2020
@holgerfriedrich
Copy link
Member Author

holgerfriedrich commented Oct 14, 2020

@mstormi I added a bats test. Is focal fossa always failing due to missing packages or did I introduce a problem here?
I have seen homegear failing because 20.04 dropped python-lzo package and telldus because of stretch repo (anyway, there is no libconfuse1 available....) -> shall we create new tickets for this or ignore?

@mstormi
Copy link
Contributor

mstormi commented Oct 14, 2020

You refer to the BATS tests on Ubuntu ? It wasn't you. The test is new :) Issue #1161 is already open.
If you can fix any of these please do (I had started on the Telldus maybe try any of the others first).

@holgerfriedrich holgerfriedrich merged commit 098715e into openhab:master Oct 15, 2020
@holgerfriedrich holgerfriedrich deleted the knxd-package branch October 15, 2020 04:50
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.

Rewrite KNXD to use Debian package during installation
2 participants