The changes applied here deviate from the Raspbian environment and
will change behaviour. These are not necessary for the Mender
integration to work and are mostly for "convenience" and for this
reason we drop them to stay as close to possible to the Raspbian
environment.
Changelog: None
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
This speeds up the conversion quite a lot, meaning that it will skip
copying large blocks of 'zero' data back and forth.
Converting a 2018-11-13-raspbian-stretch-lite.img went from 8m10s to
4m45s on my machine.
Changelog: None
Signed-off-by: Mirza Krak <mirza.krak@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>