<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>On 28 Jan 2016, at 07:34, Fabian Arrotin <<a href="mailto:arrfab@centos.org" class="">arrfab@centos.org</a>> wrote:<br class=""><blockquote type="cite" class=""><div class="">more or less, yes, and that's how the actual armhfp .img files were</div></blockquote><blockquote type="cite" class=""><div class="">created (yum --installroot=)</div></blockquote><div><br class=""></div><div>I will try to play with this, thanks</div><br class=""><blockquote type="cite" class=""><div class="">As said before on irc, have a look at <a rel="nofollow" href="https://github.com/mndar/rbf" class="">https://github.com/mndar/rbf</a></div></blockquote><blockquote type="cite" class=""><div class="">(and for example</div></blockquote><blockquote type="cite" class=""><div class=""><a rel="nofollow" href="https://github.com/arrfab/rbf/blob/master/templates/centos-cubietruck.xml" class="">https://github.com/arrfab/rbf/blob/master/templates/centos-cubietruck.xml</a>)</div></blockquote><div><br class=""></div><div>Does rbf works for non-arm images ? Can you provide an x86_64 example on the repository ?</div><div>rbf sounds really really good if it is not limited to the arm architecture.</div><div><br class=""></div><blockquote type="cite" class=""><div class="">BTW, if you just need the RootFS, why not using one of the generated</div></blockquote><blockquote type="cite" class=""><div class="">images, and get what you need from that image ?</div></blockquote><div><br class=""></div><div>Actually it works, but it results in doing:</div><div><br class=""></div><div>- x86_64, i386 -> build an image from its kickstart + boot.iso disk == a minimal ready to use image, easy to read on GitHub (perfect)</div><div>- arm, mips, powerpc, arm64 -> import a disk image, then yum remove everything not needed, export the image and reimport it to avoid non-effective file removals due to Docker copy-on-write layering system.</div><div><br class=""></div><div>Basically it will work, but it is harder to maintain, something like maintaining a `yum remove $(diff <(yum list x86_64 images) <(yum list arm image)).`</div><div>The image build procedure will also be more obscure.</div><div><br class=""></div><div>This solution is my fallback if we can’t achieve to find a generic way to build CentOS on all architectures.</div><div><br class=""></div><div>Manfred Touron</div></div></body></html>