<html><head></head><body>That would likely explain why my manual method worked, I did the kernel at the very end.<br><br><div class="gmail_quote">On June 18, 2015 3:33:11 PM CDT, Mandar Joshi &lt;emailmandar@gmail.com&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><br /> The filesystem rpm also has issues on the raspi2 .. it fails to install<br /> either while creating the image OR afterwards .. and a weird symlink<br /> happens in / that looks like this:<br /><br /> lib;0001e142 -&gt; usr/lib<br /><br /> Here is the error:<br /><br /> Error unpacking rpm package filesystem-3.2-18.el7.armv7hl<br /> error: unpacking of archive failed on file /lib: cpio: rename<br />   Verifying  : filesystem-3.2-18.el7.armv7hl<br /><br /><br /> But that also works on cubietruck.<br /><br /> These issues could be related as filesystem is just a bunch of<br /> directories so something is happening with symlinking or renaming of<br /> directories.</blockquote><br /><br />Found the problem. In case of a custom kernel (Rpi2 and Odroid C1) the<br />kernel modules were being copied before installing packages. The<br />kernel
modules go in /lib. I guess that is what was causing the<br />problem. /lib being present before installing the filesystem rpm<br />I moved the installation of kernel after network config and tested<br />generation of images for Rpi2 and OdroidC1. No more errors! I uploaded<br />changes to the github repo.<br />However, I haven't tested the change thoroughly. Just generated the images once.<br /><hr /><br />Arm-dev mailing list<br />Arm-dev@centos.org<br /><a href="http://lists.centos.org/mailman/listinfo/arm-dev">http://lists.centos.org/mailman/listinfo/arm-dev</a><br /></pre></blockquote></div></body></html>