Permalink
Browse files

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

…ppliances
  • Loading branch information...
goldmann committed Jan 25, 2010
1 parent ab33c28 commit 13142d5ddce47b78fdb37d6ee608b3d95b522a27
Showing with 4 additions and 3 deletions.
  1. +1 −0 appliances/cirras/cirras.appl
  2. +1 −1 lib/boxgrinder-build
  3. +2 −2 specs/rhq.spec
@@ -1,6 +1,7 @@
name: cirras
summary: Appliance template for CirrAS appliances
os:
+ name: fedora
version: 12
hardware:
memory: 256
View
@@ -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}

0 comments on commit 13142d5

Please sign in to comment.