packaging of bootcd has changed, now goes into
/usr/share/bootcd-<nodefamily>
a symlink /usr/share/bootcd should get created
also /var/www/html/download moves to -<nodefamily> with a convenience symlink created
2nd step (remains to do): add option(s) to GetBootMedium to leverage this
+%define nodefamily %{pldistro}-%{_arch}
+
+%define name bootcd-%{nodefamily}
%define version 4.2
%define taglevel 0
%define version 4.2
%define taglevel 0
Distribution: PlanetLab %{plrelease}
URL: %(echo %{url} | cut -d ' ' -f 2)
Distribution: PlanetLab %{plrelease}
URL: %(echo %{url} | cut -d ' ' -f 2)
+Summary: Boot CD material for %{nodefamily}
Name: %{name}
Version: %{version}
Release: %{release}
Name: %{name}
Version: %{version}
Release: %{release}
Group: System Environment/Base
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
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
Requires: dosfstools, mkisofs, gzip, mtools, syslinux
%defattr(-,root,root,-)
%{_datadir}/%{name}
%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 <thierry.parmentelat@sophia.inria.fr> - BootCD-3.4-4 BootCD-3.4-5
- kargs.txt for serial boot fixed: now properly exposed to bootmanager through the overlay image
%changelog
* Wed Mar 26 2008 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - BootCD-3.4-4 BootCD-3.4-5
- kargs.txt for serial boot fixed: now properly exposed to bootmanager through the overlay image