On 05/16/2009 09:39 PM, Lars Bjørndal wrote:
Jeroen van Meeuwen<kanarip(a)kanarip.com> writes:
> On 05/13/2009 05:28 PM, Brandon Blackmoor wrote:
...
> I think Revisor can, yes. If all these actions you perform can be
> performed using just the shell, then all commands needed to make it so
> will need to go into a %post section of the kickstart file.
>
> Also note that with the copy_dir setting, Revisor allows you to specify
> the root of a directory tree on the composing host's filesystem that'll
> be copied over the root directory of the soon-to-be live system. This
> way you can copy in the files (such as drivers, new xorg.conf and the FF
> plugin).
>
> The %post script in kickstart is supposed to be executed *after* the
> copying of files from the host composing the image onto the filesystem
> of the image, and so in %post you should be able to use the files you
> copied in.
I tried copy_dir some months ago, but didn't get it working for some
reason. Should the copy_dir statement go in the %post section, or
somewhere before that. Could you please point me to an example spec
file where it's used?
copy_dir is a setting provided to Revisor using it's configuration files
in /etc/revisor/revisor.conf. You can either specify copy_dir on the
global level (the [revisor] section in /etc/revisor/revisor.conf) so it
applies to all models, or per-model (for example, the [f10-i386] section
in /etc/revisor/revisor.conf).
See also:
https://fedorahosted.org/revisor/wiki/ConfigurationReference/copy_dir
Kind regards,
Jeroen van Meeuwen
-kanarip