missed changes needed after pldistro files have moved in build/config.<pldistro>
Thierry Parmentelat [Wed, 12 Dec 2007 12:00:47 +0000 (12:00 +0000)]
bootstrapfs.spec

index 0283ee0..7ac033b 100644 (file)
@@ -42,9 +42,9 @@ pushd BootstrapFS
 install -D -m 644 PlanetLab-Bootstrap.tar.bz2 \
        $RPM_BUILD_ROOT/var/www/html/boot/PlanetLab-Bootstrap.tar.bz2
 
-for bootstrapfs in $(ls bootstrap-filesystems/*.lst) ; do 
-       NAME=$(basename $bootstrapfs .lst)
-       install -D -m 644 %{pldistro}-filesystems/PlanetLab-Bootstrap-${NAME}.tar.bz2 \
+for bootstrapfs in $(ls ../build/config.%{pldistro}/bootstrap-*.pkgs) ; do 
+    NAME=$(basename $pkgs .pkgs | sed -e s,bootstrapfs-,,)
+    install -D -m 644 %{pldistro}-filesystems/PlanetLab-Bootstrap-${NAME}.tar.bz2 \
                $RPM_BUILD_ROOT/var/www/html/boot/PlanetLab-Bootstrap-${NAME}.tar.bz2
 done