X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=blobdiff_plain;f=noderepo.spec;h=0bc5569b9befd9c0d9d38559d47355b18360569f;hp=2cce990858ebd753a18fccf1c91ae759b4f76cb4;hb=93d5af679f27df402ba8f2f06860d34bc331a828;hpb=123dbddd4724860b845ca5f7d20663c277aea838 diff --git a/noderepo.spec b/noderepo.spec index 2cce990..0bc5569 100644 --- a/noderepo.spec +++ b/noderepo.spec @@ -1,29 +1,31 @@ -# -# $Id$ -# -%define url $URL: svn+ssh://thierry@svn.planet-lab.org/svn/BootstrapFS/trunk/bootstrapfs.spec $ - # build is expected to export the following rpm variables # %{distroname} : e.g. Fedora # %{distrorelease} : e.g. 8 # %{node_rpms_plus} : as a +++ separated list of rpms from the build dir -%define nodefamily %{pldistro}-%{_arch} +%define nodefamily %{pldistro}-%{distroname}-%{_arch} +%define obsolete_nodefamily %{pldistro}-%{_arch} %define name noderepo-%{nodefamily} -%define version 1.0 -%define taglevel 7 +%define version 2.0 +%define taglevel 12 # pldistro already in the rpm name #%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %define release %{taglevel}%{?date:.%{date}} -Vendor: PlanetLab -Packager: PlanetLab Central +# we don't really need the standard postinstall process from rpm that +# strips files and byte-compiles python files. all files in this +# package are comming from other rpm files and they've already went +# through this post install processing. - baris +%define __os_install_post %{nil} + +Vendor: OneLab +Packager: PlanetLab Europe Distribution: PlanetLab %{plrelease} -URL: %(echo %{url} | cut -d ' ' -f 2) +URL: %{SCMURL} -Summary: The initial content of the yum repository for nodes +Summary: The yum repository for nodes, to be installed on the myplc-side Name: %{name} Version: %{version} Release: %{release} @@ -37,6 +39,10 @@ BuildArch: noarch BuildRequires: rsync Requires: myplc +# 5.0 now has 3-fold nodefamily +%define obsolete_nodefamily %{pldistro}-%{_arch} +Obsoletes: noderepo-%{obsolete_nodefamily} + %define debug_package %{nil} %description @@ -65,6 +71,10 @@ install -D -m 644 %{_topdir}/RPMS/yumgroups.xml $RPM_BUILD_ROOT/var/www/html/ins rm -rf $RPM_BUILD_ROOT %post +# it would at first glance seem to make sense to invoke service plc start gpg here as well, +# as noderepo might get installed before myplc gets even started +# this however exhibit a deadlock, as rpm --almatches -e gpg-pubkey waits for transaction lock +# that is help by the calling yum/rpm service plc start packages %files @@ -74,6 +84,62 @@ service plc start packages %config(noreplace) /var/www/html/install-rpms/%{nodefamily}/yumgroups.xml %changelog +* Fri Jun 10 2011 Thierry Parmentelat - bootstrapfs-2.0-12 +- minor tweak in plc.d/packages + +* Mon Jun 06 2011 Baris Metin - bootstrapfs-2.0-11 +- sl6 templates + +* Thu Feb 17 2011 Thierry Parmentelat - bootstrapfs-2.0-10 +- bugfix for multi-flavour deployments + +* Fri Feb 04 2011 Thierry Parmentelat - bootstrapfs-2.0-9 +- for multi-flavours : 'packages' step in plc.d now handles vserver links and related hacks in yumgroups + +* Thu Jan 27 2011 Thierry Parmentelat - bootstrapfs-2.0-8 +- no semantic change - attempt to speed up build + +* Sun Jan 23 2011 Thierry Parmentelat - bootstrapfs-2.0-7 +- yum repo template for f14 nodes +- tweaks the way /etc/plc.d/packages works + +* Mon Jul 05 2010 Baris Metin - BootstrapFS-2.0-6 +- add sha1sum +- module name changes + +* Tue Apr 27 2010 Talip Baris Metin - BootstrapFS-2.0-5 +- support different flavours of vservers on nodes + +* Mon Apr 12 2010 Thierry Parmentelat - BootstrapFS-2.0-4 +- fix unmatched $ in URL svn keywords + +* Fri Apr 02 2010 Thierry Parmentelat - BootstrapFS-2.0-3 +- choice between various pldistros is not made at build time, but at run time +- relies on GetNodeFlavour to expose the node's fcdistro - requires PLCAPI-5.0-5 +- in addition, the baseurl for the myplc repo is http:// and not https:// anymore +- the https method does not work on fedora 12, and GPG is used below anyway + +* Fri Mar 12 2010 Thierry Parmentelat - BootstrapFS-2.0-2 +- new slicerepo package for exposing stuff to slivers + +* Fri Jan 29 2010 Thierry Parmentelat - BootstrapFS-2.0-1 +- first working version of 5.0: +- pld.c/, db-config.d/ and nodeconfig/ scripts should now sit in the module they belong to +- nodefailiy is 3-fold with pldistro-fcdistro-arch +- new module nodeyum; first draft has the php scripts and conf_files for tweaking nodes yum config + +* Mon Jan 04 2010 Thierry Parmentelat - BootstrapFS-1.0-11 +- for building on fedora12 + +* Thu Oct 22 2009 Thierry Parmentelat - BootstrapFS-1.0-10 +- cosmetic change in message at build-time + +* Fri Oct 09 2009 Thierry Parmentelat - BootstrapFS-1.0-9 +- can use groups in the pkgs file with +++ for space + +* Tue Apr 07 2009 Thierry Parmentelat - BootstrapFS-1.0-8 +- bugfix for when a .post script is not needed + * Tue Apr 07 2009 Thierry Parmentelat - BootstrapFS-1.0-7 - search post-install scripts (.post) in path (distro, then planetlab) - mostly useful for externally-defined pldistros @@ -102,3 +168,5 @@ service plc start packages * Tue Mar 4 2008 Thierry Parmentelat - - Initial build. + +%define module_current_branch 1.0