Hi DongInn,
I'm currently building all the rpms for centos-6 from oscar svn tree. The aim
is to identify last unfixed build issues and and to identify missing tarballs
or src.rpm on oscar repo.
Are you familliar with Oscar build system? it's not a matter to rpmbuild -bb a
spec file, the oscar tree should contain all sources specific to oscar and
using specific gonfig files and external tarballs the build system is able to
generate oscar packages.
If you want to play with the build system, just try to chackout oscar and
pkgsrc, then in the oscar tree, do a make rpms and istall them, then in the
pkgsrc, got to oscar-packager and do a make rpm, then install it, then go to
pkgsrc/opkgc/trunk and do a ./autogen.sh && ./configure && make dist; rpmbuild
-tb opkgc-1.0.1.tar.gz and install it, then type man oscar-packager and you're
at my level ;-)
Your help is really welcome and very motivating :-) Thanks a lot for your
support. I really want this oscar to run on RHEL6 like, and IMHO, we are almost
ready for a 1st try in the next few days
IMHO, what's missing:
- upload missing taballs to http://www.csm.ornl.gov/srt/downloads/oscar/
- upload missing src.rpm to http://www.csm.ornl.gov/srt/downloads/oscar
- build and upload oscar centos6 rpms to
oscar:http://bison.csm.ornl.gov/repos/unstable/rhel-6-x86_64
+ minor missing external package to be uploaded as well (blcr, ...)
And it should work.
PS: I know that you're waiting for systemimager as well, and I'm working on it
as well. Stuck now on a kernel krash when loading modules, so I may need to
revert the kernel version to a lower version.
I'm also stuck with udev which is too old regarding kernel version and is very
difficult to build outside the system.... But I'll succeed soon I think.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [[email protected]]
Date d'envoi : lundi 4 février 2013 17:14
À : [email protected]
Objet : Re: [Oscar-devel] centos-6 build all rpms: need advice.
Hi Olivier,
I think I can work on the oscar packaging process for the rpm based system.
Do you have the working spec files and its source file link?
Regards,
--
- DongInn
On Feb 4, 2013, at 10:05 AM,
[email protected]<mailto:[email protected]> wrote:
As i already told you before, oscar-packager was designed for this. It is
strongly advised to use it rather than try to generate the RPMs directly.
Thanks,
----- Mail original -----
De: "LAHAYE Olivier" <[email protected]<mailto:[email protected]>>
À: [email protected]<mailto:[email protected]>
Envoyé: Lundi 4 Février 2013 07:49:39
Objet: [Oscar-devel] centos-6 build all rpms: need advice.
hi,
I'm trying to build all OSCAR CentOS-6 rpms.
I'm sure that there is an official way to do that, unfortunately, many stuffs
seem broken and I don't know if it's due to an obsolete material (in this case
there is another way to build stuffs) or if it needs to be fixed.
Right now, I'm doing this:
cd pkgsrc/opkgc/trunk
./autogen.sh && ./configure && make dist
rpmbuild -tb opkgc-<version>.tar.gz
rpm -UVh opkgc-<version>.*rpm
cd ../..
for i in */trunk
do
(cd $i; make rpm)
done
cd ../oscar
make rpms
cd packages
for i in *
do
opkgc --dist rhel --input $i --output <my_repo>
done
then I have a directory full of rpms and I should be able to create the repo
ready to be uploaded.
What I've noted so far:
- pkgsrc/tools/build_oscar_rpms wants to be in oscar/scripts. Is it obsolete or
does it needs fixing?
- pkgsrc/tools/build_rpms idem
- oscar/scripts/build_oscar_repo ??
Many thanks for any tips and advices.
Best regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel