Thanks James :)

On Tue, Mar 1, 2011 at 8:00 PM, James Heather <j.heather@surrey.ac.uk> wrote:
I had some issues of this sort a while back, when including akmods (from rpmfusion) in a kickstart file. It builds kernel modules on the fly, but it needs the rpm lock, which it can't get until everything's finished installing. So it starts after the installation part has finished, but that causes the umount to fail.

The best solution I found is to put this at the bottom of your kickstart (I save it as 'sleepy-hack.ks' and include it where necessary). It checks whether anything still has the installation image open, and blocks if so.

James

%post --nochroot
#hack to try to stop umount probs
while (/usr/sbin/lsof /dev/loop* 2>/dev/null | grep -v "$0" 2>/dev/null | grep -q "$INSTALL_ROOT")
do
	sleep 5s
done
%end


On Tue, 2011-03-01 at 14:14 +0000, Danishka Navin wrote:
Hi Alan,

On Tue, Mar 1, 2011 at 2:33 PM, Alan Pevec <apevec@gmail.com> wrote:
On Tue, Mar 1, 2011 at 9:40 AM, Danishka Navin <danishka@gmail.com> wrote:
Could not build the LiveDVD based on Fedora 14 (both i386 and x86_64)

This is probably more question for the spins list, but which kickstart file did you  use?

My guess would be that one of the packages you include starts something in its %post which keeps rootfs busy.



fixed it. you were right! :)

thanks 



--
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
http://identi.ca/danishka


--
livecd mailing list
livecd@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/livecd



--
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
http://identi.ca/danishka