IMAGE_CMD_sdcard strange line


Mauro Ziliani
 

Hi all

Sorry but I need to rework with Krogoth.

I look inside image_types_fsl.bbclass because I cannot produce the .sdcard image.

I see at line 320 this command


dd if=/dev/zero of=${SDCARD} bs=1 count=0 seek=$(expr 1024 \* ${SDCARD_SIZE})


Why the command try to make a 0 size file with a seek of sdcard dimension?

I think this is an error.


Best regards,

  MZ


Mauro Ziliani
 

Please ignore this post.

I solved

Il 03/03/20 16:50, Mauro Ziliani ha scritto:

Hi all

Sorry but I need to rework with Krogoth.

I look inside image_types_fsl.bbclass because I cannot produce the .sdcard image.

I see at line 320 this command


dd if=/dev/zero of=${SDCARD} bs=1 count=0 seek=$(expr 1024 \* ${SDCARD_SIZE})


Why the command try to make a 0 size file with a seek of sdcard dimension?

I think this is an error.


Best regards,

  MZ