Re: which variables or macros can I use in %post

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

 



> > with kickstart and rh.7x are there macros and variables like in rpm
> > packages ?
> > I.e. can I use %define to reuse this variable in my %pre or %post
section ?
> > Or are there other examples ?
>
> No.  There are not any macros available in kickstart files.  Macros are
> very RPM spec file specific.

Though, what you say is true, Peter, it actually might be a nice thing to
have.
Probably would not be too hard to pull off, but on the other hand its
probably better
to have the anaconda developers working on getting their raid code to work
in all
reasonable scenarios (-;   On the other hand, you can get where you want to
Thomas,
by preprocessing your kickstart file before you place it on the media to be
used.
There are several macro processing languages, or you could run the thing
through
sed, awk or perl and pretty much get the same results.


Cheers...james





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux