cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wido den Hollander <w...@widodh.nl>
Subject Re: .install and .postinstall files
Date Wed, 15 Jun 2016 07:29:53 GMT

> Op 14 juni 2016 om 18:09 schreef Nicolás Vázquez <nicovazquez90@gmail.com>:
> 
> 
> Thanks Rafael! My bad, it was '.postinst' extension instead of
> '.postinstall'
> 

These files are included the dpkg when building the .deb packages.

They are executed post-installation when installing the .deb on a system.

Widi

> 2016-06-14 12:37 GMT-03:00 Rafael Fonseca <rsafonseca@gmail.com>:
> 
> > Hey Nicolas,
> >
> > The .install file should be used by dpkg when the deb packages are built
> > with dpkg-buildpackage, i don't know about .postinstall extension, usually
> > you have to specify post-install scripts somewhere.. a grep -r on the code
> > base should expose if that postinstall file is called from deb packager or
> > something else.
> >
> > Anyone else reading this mail, yes, i'm still alive lol, just happened to
> > open my endless cloudstack mail folder lol :)
> >
> > On Tue, Jun 14, 2016 at 2:51 PM, Nicolás Vázquez <nicovazquez90@gmail.com>
> > wrote:
> >
> > > Hi all,
> > >
> > > A quick question: Where are 'debian/cloudstack-management.install' and
> > > 'debian/cloudstack-management.postinstall' files used? I see the first
> > one
> > > declares folders to be created but I don't know where is this file used.
> > >
> > > Thanks,
> > > Nicolas
> > >
> >

Mime
View raw message