All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "image.bbclass: don't execute compression commands multiple times"
@ 2016-05-23 17:50 Koen Kooi
  2016-05-30 11:28 ` Koen Kooi
  0 siblings, 1 reply; 11+ messages in thread
From: Koen Kooi @ 2016-05-23 17:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Koen Kooi

The commit breaks image_types_uboot.bbclass:

ERROR: Logfile of failure stored in: /build/linaro/build/build/tmp-glibc/work/genericarmv8-oe-linux/linaro-image-minimal-initramfs/1.0-r0/temp/log.do_image_cpio.16506
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_cpio
| 31373 blocks
| Image Name:   linaro-image-minimal-initramfs-g
| Created:      Mon May 23 19:38:56 2016
| Image Type:   ARM Linux RAMDisk Image (gzip compressed)
| Data Size:    7326620 Bytes = 7154.90 kB = 6.99 MB
| Load Address: 00000000
| Entry Point:  00000000
| mkimage: Can't open /build/linaro/build/build/tmp-glibc/deploy/images/genericarmv8/linaro-image-minimal-initramfs-genericarmv8-20160523173835.rootfs.cpio.gz: No such file or directory

This reverts commit 94f61c2682e5cfd819ac84535650c3e0a654415a.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
---
 meta/classes/image.bbclass | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 9f4c83f..df3bd3a 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -410,13 +410,9 @@ python () {
                     # Create input image first.
                     gen_conversion_cmds(type)
                     localdata.setVar('type', type)
-                    cmd = "\t" + localdata.getVar("COMPRESS_CMD_" + ctype, True)
-                    if cmd not in cmds:
-                        cmds.append(cmd)
+                    cmds.append("\t" + localdata.getVar("COMPRESS_CMD_" + ctype, True))
                     vardeps.add('COMPRESS_CMD_' + ctype)
-                    subimage = type + "." + ctype
-                    if subimage not in subimages:
-                        subimages.append(subimage)
+                    subimages.append(type + "." + ctype)
                     if type not in alltypes:
                         rm_tmp_images.add(localdata.expand("${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}"))
 
-- 
2.4.3



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

end of thread, other threads:[~2016-08-15 15:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-23 17:50 [PATCH] Revert "image.bbclass: don't execute compression commands multiple times" Koen Kooi
2016-05-30 11:28 ` Koen Kooi
2016-06-04  8:41   ` Koen Kooi
2016-06-04 13:09     ` Richard Purdie
2016-06-06  6:16       ` Koen Kooi
2016-06-18 13:08       ` Koen Kooi
2016-06-18 18:21         ` Richard Purdie
2016-06-19  7:46           ` Koen Kooi
2016-06-19  7:50             ` Richard Purdie
2016-06-19 17:27               ` Koen Kooi
2016-08-15 15:38               ` Alexander Kanevskiy

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.