-for bootstrapfs in $(ls bootstrap-filesystems/*.lst) ; do
- NAME=$(basename $bootstrapfs .lst)
- install -D -m 644 %{pldistro}-filesystems/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/PlanetLab-Bootstrap-${NAME}.tar.bz2 \