<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to crop rootfs in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-crop-rootfs/m-p/1077025#M158104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2020 01:16:19 GMT</pubDate>
    <dc:creator>peking428</dc:creator>
    <dc:date>2020-04-10T01:16:19Z</dc:date>
    <item>
      <title>How to crop rootfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-crop-rootfs/m-p/1077023#M158102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to crop fsl-image-qt5-imx6qpsabresd-20200403103347.rootfs.tar.bz2 ？&lt;/P&gt;&lt;P&gt;file path :&amp;nbsp;/opt/yocto/fsl-release-bsp/fsl_build_x11/tmp/deploy/images/imx6qpsabresd/&lt;/P&gt;&lt;P&gt;my rootfs is too big (450257904(450M)&amp;nbsp; fsl-image-qt5-imx6qpsabresd-20200403103347.rootfs.tar.bz2), and i want to crop this rootfs . how to do it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 03:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-crop-rootfs/m-p/1077023#M158102</guid>
      <dc:creator>peking428</dc:creator>
      <dc:date>2020-04-09T03:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to crop rootfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-crop-rootfs/m-p/1077024#M158103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zhao Beiping,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ROOTFS size depends on the number of packages installed. You may remove unused packages to make ROOTFS smaller. One way to remove unwanted packages is using the adding the following command on the local.conf file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_remove += “ package package1 package2”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for knowing which packages are included on each image, you may find out by running the following bitbake command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ bitbake -g &amp;lt;IMAGE&amp;gt; &amp;amp;&amp;amp; cat pn-buildlist | grep -ve "native" | sort | uniq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This lists all the packages in IMAGE and filters the duplicated packages. Once you see which packages you are not using and wish to remove it would be good to look at all related packages by running the command again without the uniq command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further information on Yocto and how to customize an image I would recommend the Yocto Project documentation (links below for the Poky 2.4 version)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html"&gt;https://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/2.4/bitbake-user-manual/bitbake-user-manual.html"&gt;https://www.yoctoproject.org/docs/2.4/bitbake-user-manual/bitbake-user-manual.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do keep in mind that you need to be careful of dependencies if you were to remove packages, as unmet dependencies will cause errors when baking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another resource if you need a very slight reduction, but which requires also care, is changing the IMAGE_OVERHEAD_FACTOR variable. You can find more information on how this affects the ROOTFS size on the link below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html#var-IMAGE_ROOTFS_SIZE"&gt;https://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html#var-IMAGE_ROOTFS_SIZE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2020 17:01:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-crop-rootfs/m-p/1077024#M158103</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2020-04-09T17:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to crop rootfs</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-crop-rootfs/m-p/1077025#M158104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 01:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-crop-rootfs/m-p/1077025#M158104</guid>
      <dc:creator>peking428</dc:creator>
      <dc:date>2020-04-10T01:16:19Z</dc:date>
    </item>
  </channel>
</rss>

