[Buildroot] [PATCH 2/8] package/mender: update install of config files
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Aug 15 17:41:57 UTC 2018
Hello,
On Wed, 15 Aug 2018 14:42:51 +0200, Mirza Krak wrote:
> > Do you know why tenant.conf was added in the current Mender packaging ?
> > Was it an old configuration file from previous Mender versions ?
>
> This was something that we did deploy in our Yocto recipes (which
> might have been source of inspiration for the package in Buildroot),
> but it was never actually used for anything. There is an option in
> mender.conf for this, TenantToken.
Which is set to ?
tenant.conf was the target of a symlink, created in the systemd unit
file:
/bin/ln -sf /etc/mender/tenant.conf /var/lib/mender/authtentoken
How does it work now ?
> > The installation path has changed from /var/share, to /usr/share. Why ?
>
> /var/share was incorrect, it has always been /usr/share.
So in its current state, the mender package in Buildroot doesn't work ?
I'm trying to figure out if this is a bug, or just a preference. If
it's a bug, we need to fix it in the master branch, and perhaps
backport it to our LTS release.
In your next iteration of the patches, could you please clearly
separate the bug fixes as separate patches. They should come first in
the series, before the improvements/cleanups.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list