Re: RHEL5 - copy files from DVD during %post

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I worked around this in the past by modifying usr/lib/anaconda/kickstart.py in the stage2.img and adding dispatch.skipStep("methodcomplete") to the list in the setSteps function.

I think I tried the other patch you mentioned only to run into the cdrom device or mount point being deleted before %post.  I have the skipStep method written down in my notes so I believe that's what I settled on.

Bryan Schneiders

John Oliver wrote:
On Wed, Jan 14, 2009 at 09:46:58AM -0800, Shabazian, Chip wrote:
How big are the files?  If they are small enough, you can use an old
workaround I had to use a long time ago where you create a ram drive,
copy the files there in the %pre, then you can mount and access that ram
drive in the %post.

Far too big for that :-)

Someone has offered to send me a patched image, but... this has been
known about for 18 months now.  In Bugzilla, a fix is promised in 5.2, but
that never happened, and nobody at Red Hat has updated since.

https://bugzilla.redhat.com/show_bug.cgi?id=239002

Very frustrating.


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux