All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation
@ 2016-09-21  7:26 Gary Thomas
  2016-09-21  7:54 ` Andreas Müller
  2016-09-22  8:57 ` Andrei Gherzan
  0 siblings, 2 replies; 5+ messages in thread
From: Gary Thomas @ 2016-09-21  7:26 UTC (permalink / raw)
  To: yocto; +Cc: Gary Thomas

Track changes in OE-core variable names - needed to be able to
build an rpi-sdimg image file.

Signed-off-by: Gary Thomas <gary@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



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation
  2016-09-21  7:26 [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation Gary Thomas
@ 2016-09-21  7:54 ` Andreas Müller
  2016-09-21  7:58   ` Gary Thomas
  2016-09-22  8:57 ` Andrei Gherzan
  1 sibling, 1 reply; 5+ messages in thread
From: Andreas Müller @ 2016-09-21  7:54 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On Wed, Sep 21, 2016 at 9:26 AM, Gary Thomas <gary@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@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

Andreas


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation
  2016-09-21  7:54 ` Andreas Müller
@ 2016-09-21  7:58   ` Gary Thomas
  2016-09-21  8:32     ` Andreas Müller
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2016-09-21  7:58 UTC (permalink / raw)
  To: Andreas Müller; +Cc: Yocto Project

On 2016-09-21 09:54, Andreas Müller wrote:
> On Wed, Sep 21, 2016 at 9:26 AM, Gary Thomas <gary@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@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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation
  2016-09-21  7:58   ` Gary Thomas
@ 2016-09-21  8:32     ` Andreas Müller
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Müller @ 2016-09-21  8:32 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On Wed, Sep 21, 2016 at 9:58 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2016-09-21 09:54, Andreas Müller wrote:
>>
>> On Wed, Sep 21, 2016 at 9:26 AM, Gary Thomas <gary@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@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!
>
Yes - there are many things missing in master e.g VC4...

Andreas


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation
  2016-09-21  7:26 [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation Gary Thomas
  2016-09-21  7:54 ` Andreas Müller
@ 2016-09-22  8:57 ` Andrei Gherzan
  1 sibling, 0 replies; 5+ messages in thread
From: Andrei Gherzan @ 2016-09-22  8:57 UTC (permalink / raw)
  To: Gary Thomas, yocto

[-- Attachment #1: Type: text/plain, Size: 1565 bytes --]

Hi,

On Wed, 21 Sep 2016, 08:35 Gary Thomas, <gary@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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


A similar patch was merged to master. Thanks.

>
>

[-- Attachment #2: Type: text/html, Size: 2363 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-22  8:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-21  7:26 [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix sdimg generation Gary Thomas
2016-09-21  7:54 ` Andreas Müller
2016-09-21  7:58   ` Gary Thomas
2016-09-21  8:32     ` Andreas Müller
2016-09-22  8:57 ` Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.