Google
  Web www.spinics.net

Re: Can't get files to %include

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


On Thu, Apr 19, 2012 at 12:56:50PM +0300, Adrian Cruceru wrote:
> Hi John,
> 
> I think you should do all processing regarding %include in %pre, 
> anything in %post is too late to change %include statements (system is 
> already installed).
> 
> Regards,
> Adrian
> 
> On 04/17/2012 03:49 PM, John Oliver wrote:
> >RHEL 5.4  In %pre, I can %include /mnt/source/isolinux/setup-questions
> >But if I first copy setup-questions to /tmp/ks-files/, I can no longer
> >include it.  Nor do my %include statements in %post for files I copied
> >to /tmp/ks-files/ work.  What's the deal?  How the heck do I get
> >includes to work???

Hi, Adrian.  I'm not sure what you mean by "it's too late"... it's an
include.  I can't include something in %pre that must be done in %post

And that doesn't explain why %include
/mnt/source/isolinux/setup-questions works, but copying setup-questions
to /tmp/ and then %include /tmp/setup-questions does not, even though
/tmp/setup-questions exists, is readable, and contains the exact same
code that works just fine when included from the DVD.

I have several kickstarts, and chunks of code that are common to all of
them.  I want to have those common chunks in one place, so when I need
to make a change, I make it in one place and the change will
automatically be seen by all kickstarts.  Just in case there's a
question of terminology here.


Thanks.

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

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


[Home]     [Fedora Users]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net