Title: Re: [Oscar-devel] post_buildimage
Hi Erich:
 
Thanks, this worked.
 
Cheers,
 
Bernard 


From: Erich Focht [mailto:[EMAIL PROTECTED]
Sent: Sun 27/11/2005 09:21
To: Bernard Li
Cc: [email protected]
Subject: Re: [Oscar-devel] post_buildimage

Hi,

sorry, it is called post_rpm_nochroot. Called from inside
scripts/post_rpm_install.

Regards,
Erich

On Saturday 26 November 2005 00:47, Bernard Li wrote:
> Hi Erich:
>
> > Maybe you want to use post_rpm_install_nochroot , I added
> > that a while ago. It
> > runs after the image build and gets as only argument the
> > image directory
> > (path) of the freshly installed image.
> >
> > I'll check on post_buildimage from c3...
>
> I just created a post_rpm_install_nochroot script in
> packages/sge/scripts but I don't think it ran - the following is a
> snippet of my code:
>
> my $imagedir = shift;
>
> ...
>
> # Copy cell directory to image
> system("cp -a $ENV{SGE_ROOT}/$cell $imagedir/$ENV{SGE_ROOT}") or
> croak("Failed
> to copy directory $ENV{SGE_ROOT}/$cell to $imagedir/$ENV{SGE_ROOT}");
>
> Am I doing something wrong?
>
> Thanks,
>
> Bernard

Reply via email to