[Buildroot] [PATCH v2] package/mender: new package
danwalkes at trellis-logic.com
Mon Jun 4 21:37:52 UTC 2018
Thanks for providing this patch. I'm also interested in buildroot
support for mender.
>> I'm wondering whether this is a real dependency (i.e they are linked
>> with systemd libraries), or whether it is just that they have only
>> tested their integration with systemd.
> BTW, I will look into this if there is the requirement.
I expect it's just that they only test integration with systemd and
systemd is not a requirement. See the comment at  from Mirza Krak
on the Mender dev team.
> Mender does not have a hard-requirement on systemd (BR2_INIT_SYSTEMD), there is only a conveniently provided systemd service by default.
I've started with the patch at , then made a few small changes to
get the package running on an x86 qemu virtual machine with default
sysv init scripts. See the project at  and branch at  for
For some reason I don't understand, I needed to add a step to
specifically install the binary after the golang build, it wasn't
happening by default for me. See the patch at .
I've noticed the current mender patches do not have support for
mender-artifact today. In order to build the mender artifact utility
I think I'd need to build a host golang package based on mender
artifact  but it looks like only target packages are currently
supported today with pkg-golang buildroot , is that correct? How
should I build the mender-artifact utility for the host? What would
be the correct way to invoke the mender-artifact utility to actually
generate the artifact? Would this be done through a custom post-image
Has work already started on mender-artifact support in another patch
or on a branch somewhere?
More information about the buildroot