<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 12.08.2019 07:53, www wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5d880543.54cd.16c8463a940.Coremail.ouyangxuan10@163.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>
        <div>Hi Maciej Pijanowski,</div>
      </div>
    </blockquote>
    Hi,<br>
    <blockquote type="cite"
      cite="mid:5d880543.54cd.16c8463a940.Coremail.ouyangxuan10@163.com">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div><br>
        </div>
        <div>Thank you for your kind help. I'll try it. Thank you.</div>
      </div>
    </blockquote>
    <p>Please reply to the mailing list as well when using the public
      mailings lists,<br>
      so others can see the discussion.<br>
    </p>
    <blockquote type="cite"
      cite="mid:5d880543.54cd.16c8463a940.Coremail.ouyangxuan10@163.com">
      <div
        style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
        <div><br>
        </div>
        <div>thanks,</div>
        <div>Byron</div>
        <br>
        <br>
        <br>
        <br>
        åœ¨ 2019-08-10 16:26:19,"Maciej Pijanowski"
        <a class="moz-txt-link-rfc2396E" href="mailto:maciej.pijanowski@3mdeb.com"><maciej.pijanowski@3mdeb.com></a> å†™é“:<br>
        <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex;
          MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
          <p><br>
          </p>
          <div class="moz-cite-prefix">On 10.08.2019 09:20, www wrote:<br>
          </div>
          <blockquote type="cite"
            cite="mid:b9d05c.477a.16c7a667413.Coremail.ouyangxuan10@163.com">
            <div
              style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
              <div>Dear all,</div>
            </div>
          </blockquote>
          Hi,<br>
          <blockquote type="cite"
            cite="mid:b9d05c.477a.16c7a667413.Coremail.ouyangxuan10@163.com">
            <div
              style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
              <div><br>
              </div>
              <div>I'm new learner and user of yocto. When I used it, I
                encountered a problem. I don't know how to resolve it,
                so I ask for help.</div>
              <div>the problem is how can I create a new partition on
                yocto? if I have a package named webui, it can be
                generate several execute files and configuration files,
                the execute files will be install into filesystem, such
                as "/usr/bin", and be packed to rofs. but I don't want
                pack the configuration files  to rofs, and I want create
                a new image and the image will be a partition of the
                global image, and pack the configuration file to it,
                when the system start running, it can be  <span
                  style="background-color: rgb(67, 148, 255); color:
                  rgb(255, 255, 255); font-family: Arial, "PingFang
                  SC", "Hiragino Sans GB", STHeiti,
                  "Microsoft YaHei", "WenQuanYi Micro
                  Hei", sans-serif; font-size: 13px;">separate</span> 
                Â  mount to the filesystem.</div>
              <div><br>
              </div>
              <div>When pack to rofs image, I don't know how to separate
                the execute file and configuration file in the webui
                package and pack to different part. Can someone help me
                to tell me how to solve this problem?</div>
            </div>
          </blockquote>
          Please take a look at wic:
          <a class="moz-txt-link-freetext"
href="https://www.yoctoproject.org/docs/2.4.2/dev-manual/dev-manual.html#creating-partitioned-images-using-wic"
            moz-do-not-send="true">https://www.yoctoproject.org/docs/2.4.2/dev-manual/dev-manual.html#creating-partitioned-images-using-wic</a><br>
          <br>
          You can for example exclude some subdirectory from main rootfs
          partition and place it onto another partition instead.<br>
          <br>
          Take a look at following wic flags:<br>
          --rootfs-dir<br>
          --exclude-path<br>
          <br>
          You can define subdirs to split in local.conf or another
          config file (e.g. distro config) using the <span
            class="pl-en">WIC_CREATE_EXTRA_ARGS <br>
            and </span><span class="pl-en"> </span><span class="pl-s1">flags
            as: --</span><span class="pl-en">rootfs</span><span
            class="pl-s1">-</span><span class="pl-en">dir rootfs</span><span
            class="pl-s1">-</span><span class="pl-en">main=</span><span
            class="pl-en">${IMAGE_ROOTFS}</span><br>
          <span class="pl-en"></span>
          <blockquote type="cite"
            cite="mid:b9d05c.477a.16c7a667413.Coremail.ouyangxuan10@163.com">
            <div
              style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br>
              <div>I am looking forward to your reply.</div>
              <div><br>
              </div>
              <div>thanks,</div>
              <div>Byron</div>
            </div>
            <br>
            <br>
            <span title="neteasefooter">
              <p> </p>
            </span><br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
          </blockquote>
          <pre class="moz-signature" cols="72">-- 
Maciej Pijanowski
Embedded Systems Engineer
<a class="moz-txt-link-freetext" href="https://3mdeb.com" moz-do-not-send="true">https://3mdeb.com</a> | @3mdeb_com</pre>
        </blockquote>
      </div>
      <br>
      <br>
      <span title="neteasefooter">
        <p> </p>
      </span>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Maciej Pijanowski
Embedded Systems Engineer
<a class="moz-txt-link-freetext" href="https://3mdeb.com">https://3mdeb.com</a> | @3mdeb_com</pre>
  </body>
</html>