[yocto] wic utility

Kevin Hao kexin.hao at windriver.com
Wed Jan 23 22:45:32 PST 2019


On Wed, Jan 23, 2019 at 04:39:07PM +0000, Srinivasan, Raja wrote:
> I am using wic 0.2.0 from the rocko build.
> 
>  
> 
> wic cp file wifile:part/path
> 
>  
> 
> appears to succeed (no errors reported).
> 
>  
> 
> But when I perform wic ls I don’t find the file in the target.
> 
>  
> 
> Are there any switches the I should be using?

It seems that it works fine on the master branch.
    $ wic ls tmp/deploy/images/beaglebone-yocto/core-image-sato-beaglebone-yocto.wic:2
    debugfs 1.43.5 (04-Aug-2017)
          2   40755 (2)      0      0    4096 23-Jan-2019 14:04 .
          2   40755 (2)      0      0    4096 23-Jan-2019 14:04 ..
         11   40700 (2)      0      0   16384 23-Jan-2019 14:04 lost+found
         12   40755 (2)      0      0    4096 23-Jan-2019 13:56 lib
        456   40755 (2)      0      0    4096 23-Jan-2019 13:43 dev
        457   40555 (2)      0      0    4096 23-Jan-2019 13:43 proc
        458   40755 (2)      0      0    4096 23-Jan-2019 13:43 media
        459   40755 (2)      0      0    4096 23-Jan-2019 14:04 boot
        465   40755 (2)      0      0    4096 23-Jan-2019 14:03 mnt
        467   40755 (2)      0      0    4096 23-Jan-2019 13:57 usr
       9582   40755 (2)      0      0    4096 23-Jan-2019 13:56 var
       9639   40555 (2)      0      0    4096 23-Jan-2019 13:43 sys
       9640   40755 (2)      0      0    4096 23-Jan-2019 14:04 etc
      10373   40755 (2)      0      0    4096 23-Jan-2019 14:03 sbin
      10437   40755 (2)      0      0    4096 23-Jan-2019 13:43 run
      10438   41777 (2)      0      0    4096 23-Jan-2019 13:43 tmp
      10439   40755 (2)      0      0    4096 23-Jan-2019 14:03 home
      10441   40755 (2)      0      0    4096 23-Jan-2019 14:03 bin
    $ wic cp a.txt tmp/deploy/images/beaglebone-yocto/core-image-sato-beaglebone-yocto.wic:2
    $ wic ls tmp/deploy/images/beaglebone-yocto/core-image-sato-beaglebone-yocto.wic:2
    debugfs 1.43.5 (04-Aug-2017)
          2   40755 (2)      0      0    4096 23-Jan-2019 14:04 .
          2   40755 (2)      0      0    4096 23-Jan-2019 14:04 ..
         11   40700 (2)      0      0   16384 23-Jan-2019 14:04 lost+found
         12   40755 (2)      0      0    4096 23-Jan-2019 13:56 lib
        456   40755 (2)      0      0    4096 23-Jan-2019 13:43 dev
        457   40555 (2)      0      0    4096 23-Jan-2019 13:43 proc
        458   40755 (2)      0      0    4096 23-Jan-2019 13:43 media
        459   40755 (2)      0      0    4096 23-Jan-2019 14:04 boot
        465   40755 (2)      0      0    4096 23-Jan-2019 14:03 mnt
        467   40755 (2)      0      0    4096 23-Jan-2019 13:57 usr
       9582   40755 (2)      0      0    4096 23-Jan-2019 13:56 var
       9639   40555 (2)      0      0    4096 23-Jan-2019 13:43 sys
       9640   40755 (2)      0      0    4096 23-Jan-2019 14:04 etc
      10373   40755 (2)      0      0    4096 23-Jan-2019 14:03 sbin
      10437   40755 (2)      0      0    4096 23-Jan-2019 13:43 run
      10438   41777 (2)      0      0    4096 23-Jan-2019 13:43 tmp
      10439   40755 (2)      0      0    4096 23-Jan-2019 14:03 home
      10441   40755 (2)      0      0    4096 23-Jan-2019 14:03 bin
      10514  100644 (1)      0      0       4 24-Jan-2019 14:23 a.txt

There should be no change for the Disk.copy() function between rocko and master
branch. Anyway could you have a try on the latest master branch?

Thanks,
Kevin

> 
>  
> 
> Thanks for any pointers, srini
> 
> 
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> 
> CONFIDENTIALITY NOTICE: This email message and any attachments are confidential
> and may be privileged and are meant to be read by the intended recipient only.
> If you are not the intended recipient, please notify sender immediately and
> destroy all copies of this message and any attachments without reading or
> disclosing their contents. Thank you
> 
> 
> 

> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190124/2faa60dc/attachment-0001.pgp>


More information about the yocto mailing list