Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

-build update, better structure for RHQ, specify OS name for CirrAS a…

…ppliances
  • Loading branch information...
commit 13142d5ddce47b78fdb37d6ee608b3d95b522a27 1 parent ab33c28
@goldmann goldmann authored
View
1  appliances/cirras/cirras.appl
@@ -1,6 +1,7 @@
name: cirras
summary: Appliance template for CirrAS appliances
os:
+ name: fedora
version: 12
hardware:
memory: 256
2  lib/boxgrinder-build
@@ -1 +1 @@
-Subproject commit c41880738eb6be9d3db570e88a50be2ba36d91b0
+Subproject commit 593c888a91f1162e978caf112424d42688f3b81c
View
4 specs/rhq.spec
@@ -35,10 +35,11 @@ unzip -q %{SOURCE0} -d $RPM_BUILD_DIR
%install
install -d -m 755 $RPM_BUILD_ROOT/opt/%{name}
+cd %{name}-server-%{version}
cp -R . $RPM_BUILD_ROOT/opt/%{name}
install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}
-#install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/%{name}/preconfigure-rhq-agent.sh
+install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/%{name}/preconfigure-rhq-agent.sh
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/%{name}/agent-configuration.xml
install -m 755 %{SOURCE4} $RPM_BUILD_ROOT/usr/share/%{name}/preconfigure-rhq.sh
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/usr/share/%{name}/rhq-server.properties
@@ -48,7 +49,6 @@ install -d -m 755 $RPM_BUILD_ROOT/etc/sysconfig
echo "RHQ_VERSION=%{version}" > $RPM_BUILD_ROOT/etc/sysconfig/%{name}
echo "RHQ_HOME=/opt/%{name}" >> $RPM_BUILD_ROOT/etc/sysconfig/%{name}
-
install -d -m 755 $RPM_BUILD_ROOT%{_initrddir}
install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_initrddir}/%{name}
Please sign in to comment.
Something went wrong with that request. Please try again.