-for bootstrapfs in $(ls bootstrap-filesystems/*.lst) ; do
- NAME=$(basename $bootstrapfs .lst)
- install -D -m 644 %{pldistro}-filesystems/PlanetLab-Bootstrap-${NAME}.tar.bz2 \
- $RPM_BUILD_ROOT/var/www/html/boot/PlanetLab-Bootstrap-${NAME}.tar.bz2
+for pkgs in $(ls ../build/config.%{pldistro}/bootstrapfs-*.pkgs) ; do
+ NAME=$(basename $pkgs .pkgs | sed -e s,bootstrapfs-,,)
+ install -D -m 644 %{pldistro}-filesystems/bootstrapfs-${NAME}-${arch}.tar.bz2 \
+ $RPM_BUILD_ROOT/var/www/html/boot/bootstrapfs-${NAME}-${arch}.tar.bz2