From: Louis B. <lou...@hp...> - 2007-10-09 08:29:58
|
Hi Bruno, Le mardi 09 octobre 2007 =C3=A0 08:10 +0000, Cornec, Bruno (Linux Consultan= t) a =C3=A9crit : > Hello, >=20 > In order to help spread the adoption of LinuxCOE, I proposed to reuse > the setp of scripts/tools I developped for the MondoRescue project. >=20 > Looking at them, they were clearly too tightly integrated with mondo to > make an easy reuse, so I decided to re-start from scratch and write a > 3rd version of my packaging tools, this time unrelated to a specific proj= ect. >=20 > This is called ProjectBuilder (aka pb). Cf: > http://trac.project-builder.org >=20 > The tool is written in perl, and provides the following functions: >=20 > cms2build: Create tar files for the project under your CMS > CMS supported are SVN and CVS >=20 > build2pkg: Create packages for your running distribution >=20 > cms2pkg: cms2build + build2pkg >=20 > build2ssh: Send the tar files to a SSH host >=20 > pkg2ssh: Send the packages built to a SSH host >=20 > build2vm: Create packages in VMs, launching them if needed > and send those packages to a SSH host once built > VM type supported are QEMU >=20 > cms2vm: cms2build + build2vm >=20 > launchvm: Launch one virtual machine >=20 > script2vm: Launch one virtual machine if needed > and executes a script on it >=20 >=20 > They are mostly all working for both mondo (SVN) and LinuxCOE (CVS). > I've produced last week my first packages for Mandriva (my native > distro) and I'm in the process of upgrading all my VMs (QEMU based) in > order to be able to produce my next MondoRescue version (2.2.5) using > that system (60% done). Once it's done, I'll also be able to generate > packages for LinuxCOE for the same set of distro. All RPMs based distro > are now working (fedora, rhel, mandriva, sles, suse), and I'm converting = the > .deb based VMs. Gentoo, Slackware will follow. >=20 > Once it's done, I'll be able to share all those VMs (as long as you have > the necessary place to host them, as they represent around 50 GB right > now) so that everybody will be able to use the same mecanism to build > it's own project. >=20 This is very good news to me ! This is indeed one of the issues in developing the .spec files : coherent RPM production & testing. > Now specifically for LinuxCOE, I've worked on systemdesigner and > systemdesigner-docs packages up to now. But in order to have a useful > system, I'd need a package supporting one distribution. > But (there is always a but ;-), packaging a set of binary files is > really not appealing to me. >=20 > Have someone already worked on a script that would allow to generate > from a distro the files needed by LinuxCOE, without embedding them in a > package ? (after all it's generated so shouldn't be part of neither the > package, nor the CVS IMHO) ? >=20 Not to me & Brian either ! This is why we decided to remove the images out of the RPM/DEBS. A separate tarball containing only the content of the ./images directory will be made available separately, as well as a script that will generate the images from a waystation. I don't now if BG has had time to make the necessary modifications to the configure/make files required to avoid building the images. Once it's done, I have the spec files ready to build the Overlay packages _WITHOUT_ the binaries. Hope it helps, ...Louis |