sdcard_image-rpi.bbclass: Fix sdimg generation
PATCH 1/1 sdcard_image-rpi.bbclass: Fix sdimg generation
Track changes in OE-core variable names - needed to be able to build an rpi-sdimg image file.
--- classes/sdcard_image-rpi.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
classes/sdcard_image-rpi.bbclass +2 -2
@@ -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
Signature · 1 line
2.7.4
Quoted 31 lines · 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 <[email protected]>--- classes/sdcard_image-rpi.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)classes/sdcard_image-rpi.bbclass +2
-3@@ -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 --
Quoted 2 lines
2.7.4
Isn't that the same as [1]?
[1] https://lists.yoctoproject.org/pipermail/yocto/2016-September/031961.html
Andreas
Quoted 29 lines · Andreas Müller
Quoted 28 lines · 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 <[email protected]>--- classes/sdcard_image-rpi.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)classes/sdcard_image-rpi.bbclass +2
-2@@ -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"
Quoted 8 lines
Quoted 5 lines
classes/sdcard_image-rpi.bbclass +0
-1# 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!
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 44 lines · Gary Thomas
Quoted 43 lines · Andreas Müller
Quoted 34 lines · 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 <[email protected]>--- classes/sdcard_image-rpi.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)classes/sdcard_image-rpi.bbclass +0
-1@@ -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 \classes/sdcard_image-rpi.bbclass +1
-1@@ -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
Quoted 5 lines
# compression formats are "gzip", "bzip2" or "xz". The original .rpi-sdimg file -- 2.7.4Isn't that the same as [1]?
Quoted 7 lines
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
Hi,
Quoted 37 lines · On Wed, 21 Sep 2016, 08:35 Gary Thomas, <[email protected]> wrote:
Track changes in OE-core variable names - needed to be able to build an rpi-sdimg image file.
Signed-off-by Gary Thomas <[email protected]>--- classes/sdcard_image-rpi.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)classes/sdcard_image-rpi.bbclass +0
-1@@ -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}"
classes/sdcard_image-rpi.bbclass +2
-1+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
Quoted 5 lines
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
A similar patch was merged to master. Thanks.