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?
Thanks and regards,
Lars