Currently the code expands to the following in mender.conf:
/mender-convert/output/sdimg/primary/etc/mender/server.crt
${primary_dir} should be dropped from assignment
Fixes: d5e861b052 ("add ServerCertificate entry in mender.conf if servert.crt was installed")
Changelog: None
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
MEN-2640
Changelog: Title
Based on work from:
Signed-off-by: Yevgeniy Nurseitov <enurseitov@gmail.com>
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
--demo-host-ip/-i would imply that the intention is to use the
demo server, otherwise we do not not want to install the demo
certificate.
Changelog: Title
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Note that this integration relies on an "standard" U-boot integration,
but the binaries are not built in mender-convert and instead it
relies on fetching pre-built binaries.
Changelog: Support for RockPro64 board
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
When installing the client, call "make install" from source directory
and then modify the default setup with the user input (tenant token,
server url, demo...), eliminating this way the duplication on the
install recipe.
Also, setting the default build version to 2.0.0 beta
Other minor changes along the way:
* Include liblzma build dependency
* Change --mender-client parameter to be optional
* Abort on error in convert-stage-4.sh
* Bugfix in getting server_cert from command line option
* Error reporting when using unsupported device
* Clean-up obsolete --help example
Changelog: Title
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
"--demo" should be possible to use with any server type.
Changelog: Allow to use "--demo" flag with any given server type
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Select demo default intervals with new --demo CLI option, else use
production defaults (updated in parallel in MEN-2248)
Changelog: Title
Signed-off-by: Lluis Campos <lluis.campos@northern.tech>
There where multiple places where mount-points where created, and
in some cases it was even duplicate code.
Instead create it during convert-stage-4 where we do all generic Mender
installation, and do it unconditionally.
Changelog: None
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
- bump mender-uboot (as patches for rpi0w are present in later revisions)
- reuse as much as possible rpi3 convert files
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Causes rollback when networking is not up after update
Ref: 643400a814
Changelog: Increase default server retry interval from 1 to 30 seconds.
Signed-off-by: Eystein Måløy Stenberg <eystein.maloy.stenberg@northern.tech>
Only crucial information is presented to the user as
console output.
More verbose information is stored in the build.log.
Issues: MEN-2172
Changelog: None
Signed-off-by: Adam Podogrocki <a.podogrocki@gmail.com>
Succeeding conversion steps added. Some commands' output silenced.
Still too much output logged from e.g. autotools.
Logging more verbose info to log file still missing.
Issues: MEN-2172
Changelog: None
Signed-off-by: Adam Podogrocki <a.podogrocki@gmail.com>
mender-conversion-tool with add-on scripts allow user to:
- shrink an existing embedded Linux image (shorter time of building final .sdimg raw disk image)
- restructure partition table of an existing embedded Linux image to follow Mender layout
- install Mender client related files
- install Grub related files for platforms supporting it
- patch U-Boot for platforms where Grub integration is not feasible (e.g. Raspbian)
- create Mender artifact based on the created .sdimg file
Issues: MEN-1867 / MEN-2037 / MEN-2038 / MEN-2041
Signed-off-by: Adam Podogrocki <a.podogrocki@gmail.com>