oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
13 stars 2 forks source link

Extend the way rpmlist files are managed #606

Open dikim33 opened 7 years ago

dikim33 commented 7 years ago

Reported by valleegr on 9 Mar 2011 17:20 UTC From Olivier Lahaye:

1) rpmlist files (/usr/share/oscar/oscarsamples/*.rpmlist) from oscar-base able
to have includes and by default include
"/usr/share/oscar/oscarsamples/local.rpmlist" if present:
By that way, we could have a clean way of managing rpm installed on nodes and
at the same time being able to upgrade oscar-base without fearing to loose
some modifications made to those rpmlist files.
if an include is missing (e.g. local.rpmlist) then only a WARNING is issued.
a local.rpmlist could look like this:
-------8<-------8<-------8<-------8<-------8<-------
#include <openib.rpmlist>
#include <scientific_apps.rpmlist>
#include <devel.rpmlist>
locale-fr
-------8<-------8<-------8<-------8<-------8<-------

2) rpmlist that supports comments.