openhab / openhab-linuxpkg

Repo for Linux packages
Eclipse Public License 2.0
18 stars 33 forks source link

Prepare for offline removal and addon additions. #18

Closed BClark09 closed 7 years ago

BClark09 commented 7 years ago

In response to https://github.com/openhab/openhab-distro/pull/369

For users:

See https://bintray.com/benclark/apt-repo2/openhab2/2.0.0~20170109150239 for an example of what gradle will build.

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

BClark09 commented 7 years ago

https://github.com/openhab/openhab-linuxpkg/pull/18/files?w=1 Makes more sense to compare.

theoweiss commented 7 years ago

I've build and released this PR to my personal Bintray repo and tested an upgrade from openhab2-offline. It worked like a charm!! I think there are two issues we should address with subsequent PR's:

BClark09 commented 7 years ago

Thanks @theoweiss, I gave them fixed names so that the files overwrite themselves each time. There is a bug in Karaf which crashes openHAB as soon as the file in the folder is removed, so it wouldn't be safe to remove first.

kaikreuzer commented 7 years ago

Thanks @theoweiss and @BClark09 for working on this so eagerly! I have just announced the changes of the distro in the forum. Once you have the APT packages ready in the repo for the people to consume, please drop a note on that topic in the forum as I have mentioned that this change is not yet available in the apt-repo.

theoweiss commented 7 years ago

@BClark09 Karaf is a beast ;-)