X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=nodeconfig.spec;h=ce6c23fc5c36d649a10dd874f9aaf572185dcc31;hb=53c4be708211ada2068f9634beaf769b9ac4a8a7;hp=bb797fbbc72dd35e730d6a8209f5cebf024604ff;hpb=e08e0a58bd8c4eb4b992bde016df67fbfab4272f;p=nodeconfig.git diff --git a/nodeconfig.spec b/nodeconfig.spec index bb797fb..ce6c23f 100644 --- a/nodeconfig.spec +++ b/nodeconfig.spec @@ -77,7 +77,7 @@ for dir in PlanetLabConf PLCAPI ; do rsync -a --exclude .svn ./$dir/ $RPM_BUILD_ROOT/var/www/html/$dir/ done -# the yum area -- se db-config +# the yum area -- see db-config # expose (fixed) myplc.repo.php as https:///yum/myplc.repo.php install -D -m 644 ./yum/myplc.repo.php $RPM_BUILD_ROOT/var/www/html/yum/myplc.repo.php # expose the fcdistro-dependant yum.conf as https:///yum/yum.conf @@ -85,6 +85,12 @@ install -D -m 644 ./yum/%{distroname}/yum.conf $RPM_BUILD_ROOT/var/www/htm # expose the (fcdistro-dependant) stock.repo as https:///yum/stock.repo install -D -m 644 ./yum/%{distroname}/yum.myplc.d/stock.repo $RPM_BUILD_ROOT/var/www/html/yum/stock.repo +# Install db-config.d files +echo "* Installing db-config.d files" +mkdir -p ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d +cp db-config.d/* ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d +chmod 444 ${RPM_BUILD_ROOT}/etc/planetlab/db-config.d/* + popd %clean @@ -101,6 +107,7 @@ chmod 700 /var/log/bm /var/www/html/PlanetLabConf /var/www/html/PLCAPI /var/www/html/yum +/etc/planetlab/db-config.d %changelog * Wed Dec 23 2009 Marc Fiuczynski - nodeconfig-4.3-7