Closed fhajredini closed 5 years ago
what for?
what for?
Updated the commit message
it will be a compressed image (~1GB) and it will be faster to download
it supports compressed images for faster flashing to disk.
wait, what? so will we get, two images: wic and wic.bz2? how can one flash bz2 one without decompressing it?
how can one flash bz2 one without decompressing it?
bmaptool takes care of decompressing it: https://github.com/intel/bmap-tools/blob/master/docs/README#L236
(Presumably, I have not tried it myself yet. :)
how can one flash bz2 one without decompressing it?
bmaptool takes care of decompressing it: https://github.com/intel/bmap-tools/blob/master/docs/README#L236
(Presumably, I have not tried it myself yet. :)
okay, great. @fhajredini can you confirm? also, double check whether we need wic.bmap
after this change or wic.bmap.bz2
would be enough. don't forget about updating docs as well.
how can one flash bz2 one without decompressing it?
bmaptool takes care of decompressing it: https://github.com/intel/bmap-tools/blob/master/docs/README#L236 (Presumably, I have not tried it myself yet. :)
okay, great. @fhajredini can you confirm? also, double check whether we need
wic.bmap
after this change orwic.bmap.bz2
would be enough. don't forget about updating docs as well.
We still need wic.bmap
local.conf.sample: add wic.bmap.bz2 to IMAGE_FSTYPES / generate wic.bmap.bz2 IMAGE_FSTYPE for Intel and ARP
Just checked again, it can be flashed without bmap file too, but that wouldnt be so smart as it increases the time of the flashing a lot. I think that its the bmap file which takes use of the sparse bytes..
Just checked again, it can be flashed without bmap file too, but that wouldnt be so smart as it increases the time of the flashing a lot. I think that its the bmap file which takes use of the sparse bytes..
I am not sure I understood you: isn't wic.bmap.bz just a compressed version of wic.bmap?
Just checked again, it can be flashed without bmap file too, but that wouldnt be so smart as it increases the time of the flashing a lot. I think that its the bmap file which takes use of the sparse bytes..
I am not sure I understood you: isn't wic.bmap.bz just a compressed version of wic.bmap?
No, wic.bmap is a file of 8KB. As far as i understand, its just a file which maps the image for easier flashing.. now the actual image is still required, and that can be a raw image(.wic) or a compressed image(.wic.bz2). Bmaptools can flash a compressed image on the fly. It can compress it with, or without the bmap file, but without it, it will take a longer time.
title is still ambiguous
bmap has already been included on the previous commits. This is just having a compressed image as an artifact.
Signed-off-by: Fisnik Hajredini fhajredini@luxoft.com