From: <a href="https://www.redhat.com/archives/libguestfs/2014-July/msg00036.html">https://www.redhat.com/archives/libguestfs/2014-July/msg00036.html</a> [<a href="https://www.redhat.com/archives/libguestfs/2014-July/msg00036.html" target="_blank">^</a>]<br />
<br />
supermin-helper: ext2: parent directory not found: centos-release: File not found by ext2_lookup<br />
<br />
There seem to be a few ways we could fix this:<br />
<br />
(1) Most likely, simply rebuilding the package will fix it.<br />
<br />
If this doesn't fix it then:<br />
<br />
(2) We could patch hostfiles in the %install section to remove the<br />
problematic references to redhat-release, ie. something like this:<br />
<br />
%install<br />
....<br />
pushd $RPM_BUILD_ROOT%{_libdir}/guestfs/supermin.d<br />
grep -v redhat-release < hostfiles > hostfiles.new<br />
mv hostfiles.new hostfiles<br />
popd<br />
<br />
(3) We could upgrade to the RHEL 7.1 package immediately. (This is<br />
my preferred option). See:<br />
<br />
<a href="http://people.redhat.com/~rjones/libguestfs-RHEL-7.1-preview/">http://people.redhat.com/~rjones/libguestfs-RHEL-7.1-preview/</a> [<a href="http://people.redhat.com/~rjones/libguestfs-RHEL-7.1-preview/" target="_blank">^</a>]
↧