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
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