From: Thierry Parmentelat Date: Tue, 22 Apr 2008 15:49:24 +0000 (+0000) Subject: multi-module change - first step towards multi-bootcd's myplc X-Git-Tag: BootCD-4.2-1~3 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=b468d12a25269a7478a50901c601082548148072 multi-module change - first step towards multi-bootcd's myplc packaging of bootcd has changed, now goes into /usr/share/bootcd- a symlink /usr/share/bootcd should get created also /var/www/html/download moves to - with a convenience symlink created 2nd step (remains to do): add option(s) to GetBootMedium to leverage this --- diff --git a/bootcd.spec b/bootcd.spec index d1c11a1..41fc099 100644 --- a/bootcd.spec +++ b/bootcd.spec @@ -3,7 +3,9 @@ # %define url $URL$ -%define name bootcd +%define nodefamily %{pldistro}-%{_arch} + +%define name bootcd-%{nodefamily} %define version 4.2 %define taglevel 0 @@ -14,7 +16,7 @@ Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) -Summary: Boot CD +Summary: Boot CD material for %{nodefamily} Name: %{name} Version: %{version} Release: %{release} @@ -22,6 +24,8 @@ License: BSD Group: System Environment/Base Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +# other archs must be able to install this +BuildArch: noarch Requires: dosfstools, mkisofs, gzip, mtools, syslinux @@ -80,6 +84,9 @@ fi %defattr(-,root,root,-) %{_datadir}/%{name} +%post +[ -f /etc/planetlab/nodefamily ] || { mkdir -p /etc/planetlab ; echo %{nodefamily} > /etc/planetlab/nodefamily ; } + %changelog * Wed Mar 26 2008 Thierry Parmentelat - BootCD-3.4-4 BootCD-3.4-5 - kargs.txt for serial boot fixed: now properly exposed to bootmanager through the overlay image