[Dev] Why does MIC tool always generate ./ ?

Chanho Park chanho61.park at samsung.com
Thu Oct 23 04:50:44 GMT 2014

Hi JF,


Yes. We’ve got a small error when we flashed the snapshot into our target.

Can you modify the mic tool?


Best Regards,

Chanho Park


From: JF Ding [mailto:jian-feng.ding at intel.com] 
Sent: Thursday, October 23, 2014 1:19 PM
To: Chanho Park
Cc: dev at lists.tizen.org; Gui Chen; hao.h.huang at intel.com
Subject: Re: Why does MIC tool always generate ./ ?


It’s from the implementation of taball generation in mic. Will it affect something? If it is, mic can be modified accordingly. 



- jf.ding


On Wednesday, October 22, 2014 at 7:22 PM, Chanho Park wrote:

Dear all,


I want to create an arm boot image in my local PC.

I used attached kickstart file to generate a boot image. The generation was

successful but it included unnecessary ./ directory. Am I using incorrect ks



tar tvf mic-output/RD-PQ-boot-201410222018.tar.gz 

drwx------ root/root 0 2014-10-22 20:18 ./

-rwxr-xr-x root/root 1048576 2014-10-22 20:18 ./u-boot-mmc.bin

-rw-r--r-- root/root 15134720 2014-10-22 20:18 ./boot.img


Why the packed file always includes ./ directory?


Here is my log:

gbs createimage --ks-file RD-PQ-boot.ks

info: creating image for ks file: RD-PQ-boot.ks

mic 0.25.1 (cometzero-ubuntu Ubuntu 14.04 trusty)

INFO: Retrieving repo metadata:

INFO: Retrieving repomd.xml ...


INFO: Use detected arch armv7l.

INFO: Creating tizen bootstrap ...

INFO: Installing: mic-bootstrap-x86-ar

++++++++++++++++++++++++++++++++++++++ [1/1]


INFO: Start mic in bootstrap: /var/tmp/mic-bootstrap/tizen8ddO6e/bootstrap


mic 0.25.1 (cometzero-ubuntu tizen bootstrap)

INFO: Retrieving repo metadata:

INFO: Retrieving repomd.xml ...


INFO: Use detected arch armv7l.

INFO: Refreshing repository: mobile ...

INFO: zypp architecture is <armv7l>

INFO: Checking packages cached ...

INFO: Packages: 3 Total, 3 Cached, 0 Missed

INFO: Installing: u-boot ++++++++++++


INFO: Installing: arm-trats2-linux-ker +++++++++++++++++++++++++


INFO: Installing: arm-trats2-linux-ker

++++++++++++++++++++++++++++++++++++++ [3/3]


INFO: Copying attachment files...

INFO: Applying configurations ...

/usr/bin/cp: cannot stat


/Los_Angeles': No such file or directory

Failed to apply RootPasswordConfig, skip and continue? [y/n](y): y

WARNING: Unable to set unencrypted password due to lack of /bin/echo

WARNING: Cannot add user using "useradd"

Failed to apply UserConfig, skip and continue? [y/n](y): y

WARNING: Can't find /usr/bin/passwd in chroot

INFO: Running scripts ...

INFO: Resizing filesystem ...

INFO: Checking filesystem


INFO: Pack all loop images together to RD-PQ-boot-201410222018.tar.gz

INFO: Running command: tar -S -C

/var/tmp/mic/build/imgcreate-5uzEJD/tmp-N02Cob -cf

/var/tmp/mic/build/imgcreate-5uzEJD/out/tmpeU9lUY.tar .

INFO: Running command: gzip -f


INFO: Creating manifest file...

INFO: The new image can be found here:






INFO: Finished.

info: Done


Best Regards,

Chanho Park


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tizen.org/pipermail/dev/attachments/20141023/3ebb8e0e/attachment-0001.html>

More information about the Dev mailing list