Re: Locating %post scripts, files...

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

 



Jeremy Katz wrote:
On Tue, 2006-05-09 at 11:59 -0600, Philip Prindeville wrote:
That said, is it "normal" and "proper" (etc) for a %post script to make
references to stuff in /mnt/source/? For instance, let's say I have a mini-tar overlay of files I want to explode into the new root that's being built (since everything is prefixed in the tarchive by ./inst-helper/ anyway)... is:

That or downloading them to /tmp (or similar) in %post via HTTP or the
like.  Either is reasonable.  I tend to do the downloading as it's more
flexible for non-NFS installs.

Unfortunately, my laptop seems to like crashing and burning most when I'm on
the road and don't have access to the corporate intranet.

is that a good practice?  Or is there a better way to do this?  And does the
output of all of the %pre (well, that might be tricky) and %post scripts get
captured/logged somewhere?  Both on a vty and later into a saved log file?

The output has always ended up on tty3 -- as of FC5, you can also run
your script with '--log /path/to/myfile' to have the output logged to a
file instead

Jeremy


I'll try that.  Thanks.



[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux