incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: RPM and Deb packages creation
Date Fri, 17 Aug 2012 16:51:27 GMT


> -----Original Message-----
> From: Mice Xia [mailto:mice_xia@tcloudcomputing.com]
> Sent: Friday, August 17, 2012 2:44 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: RE: RPM and Deb packages creation
> 
> For generating an installation package, it may need some more steps
> (take centos as an example):
> 1) build rpm

"./waf rpm" will call ant to build all the artifacts, then call rpmbuild to build rpm

> 2) createrepo
> 3) cp Licenses and install shell script
> 4) tar and MD5
> 
> It would be better if it's included in build process or in document.
> 
> Regards
> Mice
> 
> -----Original Message-----
> From: Wido den Hollander [mailto:wido@widodh.nl]
> Sent: Friday, August 17, 2012 4:49 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: RPM and Deb packages creation
> 
> Hi,
> 
> In "[DISCUSS] Please choose: The build system to use for 4.0" Mice Xia
> asked:
> 
> "A quick question here, now I cannot find any ant targets for rpm/deb
> creation, people have to use waf for this task. (please correct me if
> I'm wrong)
> I wonder if this is in the scope of build process, if not, is there any
> document available?"
> 
> I figured this would be worth it's on thread.
> 
> Debian:
> $ dpkg-buildpackage
> 
> Just execute this command in the root directory of the repository and
> it
> will invoke Ant for building the JAR files and uses WAF to generate all
> the artifacts.
> 
> dpkg will generate .deb files on his part.
> 
> Redhat
> $ rpmbuild
> 
> Not sure, haven't really tried it.
> 
> Wido

Mime
View raw message