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

JF Ding jian-feng.ding at intel.com
Thu Oct 23 05:06:48 GMT 2014


OK, got it, we will fix it and release it ASAP. But before the release, you can use workaround to bypass this troubles.  


thanks
- jf.ding


On Thursday, October 23, 2014 at 12:50 PM, Chanho Park wrote:

> 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 (mailto:dev at lists.tizen.org); Gui Chen; hao.h.huang at intel.com (mailto: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.  
>  
>   
>  
> thanks
>  
> - 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
> >  
> > file?
> >  
> >   
> >  
> > 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 ...
> >  
> > DONE
> >  
> > 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 ...
> >  
> > DONE
> >  
> > 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 ++++++++++++
> >  
> > [1/3]
> >  
> > INFO: Installing: arm-trats2-linux-ker +++++++++++++++++++++++++
> >  
> > [2/3]
> >  
> > INFO: Installing: arm-trats2-linux-ker
> >  
> > ++++++++++++++++++++++++++++++++++++++ [3/3]
> >  
> >   
> >  
> > INFO: Copying attachment files...
> >  
> > INFO: Applying configurations ...
> >  
> > /usr/bin/cp: cannot stat
> >  
> > '/var/tmp/mic/build/imgcreate-5uzEJD/install_root/usr/share/zoneinfo/America
> >  
> > /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
> >  
> > /var/tmp/mic/build/imgcreate-5uzEJD/tmp-N02Cob/boot.img
> >  
> > 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
> >  
> > /var/tmp/mic/build/imgcreate-5uzEJD/out/tmpeU9lUY.tar
> >  
> > INFO: Creating manifest file...
> >  
> > INFO: The new image can be found here:
> >  
> > /opt/tizen/public/binary/mic-output/RD-PQ-boot-201410222018.packages
> >  
> > /opt/tizen/public/binary/mic-output/RD-PQ-boot-201410222018.tar.gz
> >  
> > /opt/tizen/public/binary/mic-output/RD-PQ-boot-201410222018.xml
> >  
> > /opt/tizen/public/binary/mic-output/manifest.json
> >  
> >   
> >  
> > INFO: Finished.
> >  
> > info: Done
> >  
> >   
> >  
> > Best Regards,
> >  
> > Chanho Park
> >  
> >  
> >  
>  
>   
>  
>  
>  
>  
>  


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


More information about the Dev mailing list