vzlogger icon indicating copy to clipboard operation
vzlogger copied to clipboard

Make build compatible to Raspbian

Open gbeine opened this issue 4 years ago • 5 comments

  • Place binary in /usr/bin instead of /usr/local/bin
  • Add some of the example configuration files to the doc directory
  • Create home directory for the vzlogger user

Maybe, it's helpful. Works on Raspbian stretch and buster.

gbeine avatar Aug 28 '19 20:08 gbeine

LGTM as far as I understand it. What impact would that have no updating the wiki for consistency?

andig avatar Aug 29 '19 13:08 andig

I'm more concerned about inconsistency between install.sh and debian package. At this point we use the script for prepared image and wiki is based on these.

J-A-U avatar Aug 29 '19 15:08 J-A-U

Good catch! @gbeine if you feel this is important, would you update rhe installer as well?

andig avatar Aug 29 '19 16:08 andig

@andig I don't know if it is important - I made these changes to reduce the errors generated by debuild on Raspbian. The package is more compliant if you want to say so ;-) I can have a look for the installer, maybe I can update it.

gbeine avatar Aug 29 '19 17:08 gbeine

ping @gbeine any chance with the installer?

andig avatar Nov 05 '19 21:11 andig

It seems this PR is partially outdated. On the master branch we have DAEMON=/usr/bin/vzlogger. There is however also --home /var/lib/vzlogger in the vzlogger.postinst, which silences another lintian warning. This will however be done anyway as part of #558.

narc-Ontakac2 avatar Jan 05 '23 07:01 narc-Ontakac2

@narc-Ontakac2: i would just close this as superseded by your packaging work for https://github.com/volkszaehler/vzlogger/issues/558 . i'm assuming you will take care of any useful improvements that might still be in here.

r00t- avatar Feb 08 '23 23:02 r00t-