Skip to contentSkip to conversation

cfa10036: Fix IMAGE_FSTYPES barebox-mxsboot-sdcard

PATCH In review Fabio Berton 3 participants 3 messages Aug 23, 2017 – Aug 24, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cfa10036: Fix IMAGE_FSTYPES barebox-mxsboot-sdcard

From OE-Core commit 8a9f249a9166347cc0468191ce130003e3d306e1:

If image type "foo" depends on image type "bar.xz", then dependencies should be collected from the base image type (ie "IMAGE_DEPENDS_bar") not from "IMAGE_DEPENDS_bar.xz".

---
 conf/machine/include/cfa10036.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/cfa10036.inc +1 -1
index 8c79765..b495e36 100644
@@ -10,7 +10,7 @@ PREFERRED_PROVIDER_virtual/bootloader ?= "barebox"
 
 IMAGE_BOOTLOADER = "barebox"
 BAREBOX_BINARY = "barebox"
-IMAGE_FSTYPES_mxs = "tar.bz2 barebox.mxsboot-sdcard sdcard.gz"
+IMAGE_FSTYPES_mxs = "tar.bz2 barebox-mxsboot-sdcard sdcard.gz"
 
 IMXBOOTLETS_MACHINE = "cfa10036"
 
Signature · 1 line
2.11.0
#1 lore raw

Hi,

Quoted 16 lines · Fabio Berton

From OE-Core commit 8a9f249a9166347cc0468191ce130003e3d306e1:

If image type "foo" depends on image type "bar.xz", then dependencies should be collected from the base image type (ie "IMAGE_DEPENDS_bar") not from "IMAGE_DEPENDS_bar.xz".

---
 conf/machine/include/cfa10036.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/cfa10036.inc +0 -0
index 8c79765..b495e36 100644

conf/machine/include/cfa10036.inc PREFERRED_PROVIDER_virtual/bootloader ?= "barebox" · line 13

Quoted 5 lines
conf/machine/include/cfa10036.inc +1 -1
@@ -10,7 +10,7 @@ PREFERRED_PROVIDER_virtual/bootloader ?= "barebox"
 
 IMAGE_BOOTLOADER = "barebox"
 BAREBOX_BINARY = "barebox"
-IMAGE_FSTYPES_mxs = "tar.bz2 barebox.mxsboot-sdcard sdcard.gz"
+IMAGE_FSTYPES_mxs = "tar.bz2 barebox-mxsboot-sdcard sdcard.gz"

I don't think the commit message really explains that change.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

Hello Alexandre,

Quoted 10 lines · Alexandre Belloni

Hi,

Quoted 7 lines · Fabio Berton

From OE-Core commit 8a9f249a9166347cc0468191ce130003e3d306e1:

If image type "foo" depends on image type "bar.xz", then dependencies should be collected from the base image type (ie "IMAGE_DEPENDS_bar") not from "IMAGE_DEPENDS_bar.xz".

This was a missing bit when we fixed the other machines.

By the way, the barebox is not building and it needs to be fixed. Could you take a look at this as this is the only machine using it, it basic belongs to this machine.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750