<div dir="ltr"><br><div class="gmail_extra">Hi,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 31, 2014 at 11:39 AM, Tom Zanussi <span dir="ltr">&lt;<a href="mailto:tom.zanussi@linux.intel.com" target="_blank">tom.zanussi@linux.intel.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
But I think you could accomplish the same thing by just allowing the<br>
indirect string e.g. rootfs2 to resolve to either a full path, or as an<br>
image name, which would be treated as an instance of &#39;-e image-name&#39; for<br>
that partition.<br>
<br>
For example, we have the unmodified parttion in the .wks file as usual:<br>
<br>
  part /standby --source rootfs --rootfs-dir=rootfs2 --ondisk sda --fstype=ext3 --label secondary --align 1024<br>
<br>
Which could be resolved as either a full path to the rootfs dir:<br>
<br>
  wic create directdisk-multi-indirect-both --rootfs-dir rootfs2=/home/trz/yocto/master-cur/build/tmp/work/crownbay-poky-linux/core-image-minimal<br>
<br>
Or extracted from the &#39;-e&#39; ROOTFS_DIR output from the &#39;core-image-minimal&#39; image:<br>
<br>
  wic create directdisk-multi-indirect-both --rootfs-dir rootfs2=core-image-minimal<br>
<br>
Does that make sense for this?<br>
<br></blockquote><div><br><br></div><div>Yes. I think that is the point. <br></div><div> <br></div></div><br>-- <br><div dir="ltr">João Henrique Ferreira de Freitas - <a href="http://joaohf_at_gmail.com" target="_blank">joaohf_at_gmail.com</a><br>
Campinas-SP-Brasil</div>
</div></div>