[Fedora-livecd-list] using %post -nochroot

2008-01-19 Thread dcw
Using livecd-creator (ver. 13-4) I have made a livecd with a recompiled kernel and it boots and works. I am now at the point of copying some configuration files from the hard drive to the livecd using the livecd-creator program. The following method works: %post echo nameserver 10.10.2.99

Re: [Fedora-livecd-list] using %post -nochroot - SOLVED

2008-01-19 Thread dcw
On Saturday 19 January 2008 1:51 pm, Jeremy Katz wrote: On Sat, 2008-01-19 at 13:39 -0600, dcw wrote: Using livecd-creator (ver. 13-4) I have made a livecd with a recompiled kernel and it boots and works. I am now at the point of copying some configuration files from the hard drive to the

Re: [Fedora-livecd-list] using %post -nochroot

2008-01-19 Thread dcw
on Saturday 19 January 2008 2:15 pm, Douglas McClendon wrote: dcw wrote: Using livecd-creator (ver. 13-4) I have made a livecd with a recompiled kernel and it boots and works. I am now at the point of copying some configuration files from the hard drive to the livecd using the

Re: [Fedora-livecd-list] using %post -nochroot

2008-01-19 Thread dcw
On Saturday 19 January 2008 2:04 pm, Tim Wood wrote: So, dcw would do this: %post -nochroot cp /etc/resolv.conf /$INSTALL_ROOT/etc/resolv.conf Correct? Do not use the / before $INSTALL_ROOT. The above example would then be: cp /etc/resolv.conf $INSTALL_ROOT/etc/resolv.conf David Tim