From: Thierry Parmentelat Date: Wed, 12 Dec 2007 12:00:47 +0000 (+0000) Subject: missed changes needed after pldistro files have moved in build/config. X-Git-Tag: bootstrapfs-0.1-1~13 X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=commitdiff_plain;h=1e37cd7e7d22b38ec37105844b145bfe56787901 missed changes needed after pldistro files have moved in build/config. --- diff --git a/bootstrapfs.spec b/bootstrapfs.spec index 0283ee0..7ac033b 100644 --- a/bootstrapfs.spec +++ b/bootstrapfs.spec @@ -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