[yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation
Andrei Gherzan
andrei at gherzan.ro
Thu Sep 22 01:57:17 PDT 2016
Hi,
On Wed, 21 Sep 2016, 08:35 Gary Thomas, <gary at mlbassoc.com> wrote:
> Track changes in OE-core variable names - needed to be able to
> build an rpi-sdimg image file.
>
> Signed-off-by: Gary Thomas <gary at mlbassoc.com>
> ---
> classes/sdcard_image-rpi.bbclass | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/classes/sdcard_image-rpi.bbclass
> b/classes/sdcard_image-rpi.bbclass
> index 388398b..ad245f3 100644
> --- a/classes/sdcard_image-rpi.bbclass
> +++ b/classes/sdcard_image-rpi.bbclass
> @@ -47,7 +47,7 @@ IMAGE_ROOTFS_ALIGNMENT = "4096"
>
> # Use an uncompressed ext3 by default as rootfs
> SDIMG_ROOTFS_TYPE ?= "ext3"
> -SDIMG_ROOTFS =
> "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
> +SDIMG_ROOTFS = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
>
> IMAGE_DEPENDS_rpi-sdimg = " \
> parted-native \
> @@ -59,7 +59,7 @@ IMAGE_DEPENDS_rpi-sdimg = " \
> "
>
> # SD card image name
> -SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.rpi-sdimg"
> +SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.rpi-sdimg"
>
> # Compression method to apply to SDIMG after it has been created.
> Supported
> # compression formats are "gzip", "bzip2" or "xz". The original
> .rpi-sdimg file
> --
> 2.7.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
A similar patch was merged to master. Thanks.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160922/215b2ec8/attachment.html>
More information about the yocto
mailing list