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
https://.../boot/bootstrafs-<nodefamily>.tar.bz2
* as far as extensions, we fetch
https://.../boot/bootstrafs-<nodefamily>.tar.bz2
* as far as extensions, we fetch
-https://.../boot/bootstrafs-<extension>-<arch>.tar.bz2
+https://.../boot/bootstrafs-<extension>-<fcdistro>-<arch>.tar.bz2
for all defined extensions
* also if the plainbootstrapfs tag is set, then the uncompressed files
are fetched
for all defined extensions
* also if the plainbootstrapfs tag is set, then the uncompressed files
are fetched
+
+======================================== yum repo
+
+* if the node has the 'deployment' tag set, then we use
+http://.../install-rpms/alpha
+
+* otherwise
+http://.../install-rpms/<nodefamily>
BuildArch: noarch
Requires: tar, gnupg, sharutils, bzip2, pypcilib
BuildArch: noarch
Requires: tar, gnupg, sharutils, bzip2, pypcilib
+# need the apache user at install-time
+Requires: httpd
+
Requires: PLCAPI >= 5.0
# the python code packaged in these are shipped on the node as well
Requires: pypcilib pyplnet monitor-runlevelagent
Requires: PLCAPI >= 5.0
# the python code packaged in these are shipped on the node as well
Requires: pypcilib pyplnet monitor-runlevelagent
rm -rf $RPM_BUILD_ROOT
%post
rm -rf $RPM_BUILD_ROOT
%post
-# signing of botmanager.sh occurs as part of /etc/plc.d/bootmanager
-# which in turn invokes build.sh
+# initialize the boot manager upload area
+mkdir -p /var/log/bm
+chown apache:apache /var/log/bm
+chmod 700 /var/log/bm
# NOTE: do not run this agent when installed on a myplc.
# xxx - a bit hacky maybe
# NOTE: do not run this agent when installed on a myplc.
# xxx - a bit hacky maybe
[ -d "$topdir" ] || continue
deployment=$(basename $topdir)
if [ "$deployment" = "regular" ] ; then
[ -d "$topdir" ] || continue
deployment=$(basename $topdir)
if [ "$deployment" = "regular" ] ; then
- dialog $"Rebuilding Boot Manager"
+ action $"Rebuilding Boot Manager"
$topdir/build.sh regular
check
$topdir/build.sh regular
check
- else
- dialog $"Rebuilding Boot Manager for deployment $deployment"
+ elif [ -x $topdir/build.sh ] ; then
+ action $"Rebuilding Boot Manager for deployment $deployment"
$topdir/build.sh $deployment
check
$topdir/build.sh $deployment
check
+ elif [ "$deployment" == "source" ] ; then
+ action $"Ignoring obsolete dir, please cleanup" "$topdir"
+ else
+ action $"WARNING: missing build.sh script in" "$topdir"