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.


Well, I'm pulling my hair out.  Sigh.

Just tried:

%post --nochroot

(cd /mnt/sysimage ; gunzip -c | tar xf -) < /mnt/source/root-overlay.tgz

and it failed.  It seems that /mnt/source has been *unmounted* by the time
%post gets run.  Which makes no sense to me.

When is /mnt/source unmounted?

-Philip



[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