From 0b2f1b2bd474a8a764e5329d448debb2ecba51cd Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 27 Jan 2010 18:44:46 +0000 Subject: [PATCH] fixed and moved the server-side yum scripts, from nodeconfig/yum to BootstrapFS/nodeconfig/yum now known as the nodeyum package (might need some moer work for properly handling kexcludes in multi-fc plcs) cleaned up all uses of /etc/planetlab/{node,slice}family nodeconfig now does not need the build/ module anymore at build time --- NodeUpdate.spec | 11 +++-------- NodeUpdate.logrotate => logrotate/NodeUpdate | 0 2 files changed, 3 insertions(+), 8 deletions(-) rename NodeUpdate.logrotate => logrotate/NodeUpdate (100%) diff --git a/NodeUpdate.spec b/NodeUpdate.spec index 999a6ad..1e38449 100644 --- a/NodeUpdate.spec +++ b/NodeUpdate.spec @@ -36,8 +36,9 @@ PlanetLab service to periodically update node RPMS %install +echo "* Installing NodeUpdate node-side files" install -D -m 755 NodeUpdate.py $RPM_BUILD_ROOT/usr/bin/NodeUpdate.py -install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate +install -D -m 644 logrotate/NodeUpdate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdate %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT @@ -47,20 +48,14 @@ install -D -m 644 NodeUpdate.logrotate $RPM_BUILD_ROOT/etc/logrotate.d/NodeUpdat %attr(0755,root,root) /usr/bin/NodeUpdate.py* %attr(0644,root,root) /etc/logrotate.d/NodeUpdate -%pre - %post /usr/bin/NodeUpdate.py updatecron %preun if [ "$1" = 0 ]; then - /usr/bin/NodeUpdate.py removecron + /usr/bin/NodeUpdate.py removecron fi - -%postun - - %changelog * Mon Sep 07 2009 Thierry Parmentelat - NodeUpdate-0.5-5 - searches the extensions file /etc/planetlab/extensions rather than the former /etc/planetlab/extra-node-groups diff --git a/NodeUpdate.logrotate b/logrotate/NodeUpdate similarity index 100% rename from NodeUpdate.logrotate rename to logrotate/NodeUpdate -- 2.43.0