[yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation

Gary Thomas gary at mlbassoc.com
Wed Sep 21 00:58:18 PDT 2016


On 2016-09-21 09:54, Andreas Müller wrote:
> On Wed, Sep 21, 2016 at 9:26 AM, 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
>>
> Isn't that the same as [1]?
>
> [1] https://lists.yoctoproject.org/pipermail/yocto/2016-September/031961.html

Yes, it looks like it is, but that one is still not in master :-(
so I thought I'd give it a nudge!

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list