Re: How to run a one time command at the end of a build ?
Sebastian Hilbert wrote (10 Feb 2010 16:34:58 GMT) :
> Is there any way/mechanism one can issue a set of commands when building the
> image has finished ?
I guess you mean when the chroot has been initialized, but not
compressed and converted to binary format. Feel free to correct me
> I am thinking of something along the lines.
> /etc/init.d/postgresql start
> /etc/init.d/postgresql stop
> This could be used to change some files, create symlinks etc. The goal is to
> have the database filled already at build time so the user will have a better
This is possible: have a look to chroot_local-hooks in
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr-fingerprint.asc
| The impossible just takes a bit longer.