take into account bootstrafs rpms being renamed into nodeimage
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 8 Feb 2013 08:53:14 +0000 (09:53 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 8 Feb 2013 08:53:14 +0000 (09:53 +0100)
partial-repo.sh

index ae99ae3..3af0134 100755 (executable)
@@ -22,7 +22,7 @@ for repo in "$@" ; do
     cd $repo
     echo "==================== Dealing with repo $repo"
     mkdir -p PARTIAL-RPMS
-    rsync --archive --verbose $(find RPMS -type f | egrep '/(bootcd|bootstrapfs|noderepo|slicerepo)-.*-.*-.*-.*rpm') PARTIAL-RPMS/
+    rsync --archive --verbose $(find RPMS -type f | egrep '/(bootcd|nodeimage|noderepo|slicerepo)-.*-.*-.*-.*rpm') PARTIAL-RPMS/
     echo "==================== building packages index in $repo .."
     createrepo PARTIAL-RPMS
     echo '==================== DONE'