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

dcw dwoody1 at charter.net
Sat Jan 19 21:13:06 UTC 2008


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
>
> 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 livecd using the
> >> livecd-creator program.
> >
> > [snip]
> >
> >> I have not been able to determine what 'somewhere' should be.
> >
> > /mnt/sysimage is only relevant for anaconda installs -- creating live
> > images on a real system, we can't guarantee that /mnt/sysimage exists or
> > is being used for this purpose.  Thus, you can instead use
> > $INSTALL_ROOT.  Which iirc, I also added to anaconda in F8
> >
> > Jeremy
> >
> > --
> > Fedora-livecd-list mailing list
> > Fedora-livecd-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-livecd-list

--
RD Woodyard, Inc.

-------------------------------------------------------




More information about the Fedora-livecd-list mailing list