diff options
author | Pierre-Jean Texier <pjtexier@koncepto.io> | 2020-01-17 23:11:17 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2020-01-24 12:09:42 +0000 |
commit | 722d83761284834070e65dfcb19b2185a0ad1cd3 (patch) | |
tree | 49c6d2daef6a67d5a80689ad869c3cc439c92416 | |
parent | 2a1a8e396a7feba2b378cb066f023cd593335602 (diff) | |
download | meta-raspberrypi-722d83761284834070e65dfcb19b2185a0ad1cd3.tar.gz |
rpi-base.inc: use wic.bz2 for all rpi machines by default
This change moves the default image for all rpi machines.
We moved from rpi-sdimg to wic.bz2.
Also enable wic.bmap image generation.
From the documentation in [1], Bmaptool is a generic tool
for creating the block map (bmap) for a file and copying
files using the block map. The idea is that large files,
like raw system image files, can be copied or flashed a
lot faster and more reliably with bmaptool than with
traditional tools, like "dd" or "cp".
Example:
$: sudo bmaptool copy <image-name>.wic.xz /dev/<your-block-device>
[1] - https://github.com/intel/bmap-tools
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
-rw-r--r-- | conf/machine/include/rpi-base.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc index 9772fd9..903fa25 100644 --- a/conf/machine/include/rpi-base.inc +++ b/conf/machine/include/rpi-base.inc | |||
@@ -5,7 +5,7 @@ include conf/machine/include/rpi-default-providers.inc | |||
5 | SOC_FAMILY = "rpi" | 5 | SOC_FAMILY = "rpi" |
6 | include conf/machine/include/soc-family.inc | 6 | include conf/machine/include/soc-family.inc |
7 | 7 | ||
8 | IMAGE_FSTYPES ?= "tar.bz2 ext3 rpi-sdimg" | 8 | IMAGE_FSTYPES ?= "tar.bz2 ext3 wic.bz2 wic.bmap" |
9 | WKS_FILE ?= "sdimage-raspberrypi.wks" | 9 | WKS_FILE ?= "sdimage-raspberrypi.wks" |
10 | 10 | ||
11 | XSERVER = " \ | 11 | XSERVER = " \ |