Hi Olivier,
Thanks a lot for doing this.
I was off for a while and probably I can play a little with the new
oscar-packager later today.
Regards,
--
- DongInn
On Apr 2, 2013, at 1:22 PM, LAHAYE Olivier <olivier.lah...@cea.fr> wrote:
>
> Hi,
>
> I've fixed many problems in oscar-packager. It still need some work, but I've
> progressed a lot.
> - Fixed the fact that a package could be built up to 5 times (example torque).
> - Support for multiple source files in package.cfg using the {} syntax.
> (downloading was already working as the wget was called using the shell), but
> then the copy routing failed trying to copy the last source with a trailing }.
> - Fixed the fact that if an rpm is not build from src.rpm, options defined in
> the build.cfg were ignored.
>
> It's almost done, I need to do the following:
>
> - Check if there is a way to avoid triggering the "make rpm" if the build is
> successfull.
> - fix the new torque package failing to build on fedora. (a strange man is
> generated but unpackaged).
>
> After these 2 fixes, the rpmside of oscar-packager should be working as
> expected.
> For the debian side, it should be ok, but I'll give a look to see if we can
> enhance it.
>
> For those who were curious on what was going on the multiple build, here is
> the explanation:
>
> The multiple build was very tricky to understand. What was occuring was the
> following:
> When the torque package was about to be built, the prepare_prereqs called by
> create_package called by do_packaging did build the torque rpms one time for
> the noarch architecture and one time for the binary architecture..
> Undortunately it forgot to specify the --target, thus both build we doing the
> same binary build: 2 build (build method: SVN triggered friom
> /etc/oscar/oscar-packager/included_unstable.cfg)
>
> Then, another call to prepare_prereqs was done elswhere (build methode
> TARBALL) with the same 2 build again.(after looking at the torque-oscar.cfg
> file).
>
> Then, once the prereqs were satisfied (we are at 4 build now) the make rpm
> (line 368) was triggered missing the the build.cfg options and resulting in
> the same binary rpms.
>
> At the end provided that the build was successfull, we eneded up with 5 build
> of the binary rpms and 0 build of the noarch rpms.
>
> Bes regards,
>
> Olivier.
> --
> Olivier LAHAYE
> CEA DRT/LIST/DCSI/DIR
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html_______________________________________________
> Oscar-devel mailing list
> Oscar-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel