Skip to contentSkip to conversation

image_types_fsl: explicitly state the origin of boot scripts

PATCH In review Eric Nelson 1 participant 2 messages Feb 13, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 image_types_fsl: explicitly state the origin of boot scripts

---
 classes/image_types_fsl.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
classes/image_types_fsl.bbclass +1 -1
index 443abf7..3510452 100644
@@ -145,7 +145,7 @@ generate_imx_sdcard () {
 		src=`echo $item | awk -F':' '{ print $1 }'`
 		dst=`echo $item | awk -F':' '{ print $2 }'`
 
-		mcopy -i ${WORKDIR}/boot.img -s $src ::/$dst
+		mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/$src ::/$dst
 	done
 
 	# Copy device tree file
Signature · 1 line
1.8.3.2
#1 lore raw

Hi all,

Quoted 10 lines · Eric Nelson
---
  classes/image_types_fsl.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
classes/image_types_fsl.bbclass +0 -0
index 443abf7..3510452 100644

classes/image_types_fsl.bbclass generate_imx_sdcard () { · line 150

Quoted 7 lines
classes/image_types_fsl.bbclass +1 -1
@@ -145,7 +145,7 @@ generate_imx_sdcard () {
  		src=`echo $item | awk -F':' '{ print $1 }'`
  		dst=`echo $item | awk -F':' '{ print $2 }'`
 
-		mcopy -i ${WORKDIR}/boot.img -s $src ::/$dst
+		mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/$src ::/$dst
  	done
 

I wasn't able to find how this changed, but it seems better to have an explicit reference to the source of this operation.

Regards,

Eric