summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshuai chen <chenshuai@huawei.com>2015-09-25 09:55:02 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-09-25 09:55:02 +0000
commit8338b0630a39d6a07b20fcbb4fad54519aee228d (patch)
treea132e4a043285949064a37b55829d7a38a76bd8a
parent07d9d16da9452fb64fd6adb3ebf2cafc9de8dfa8 (diff)
parent313ab3ddd1fc80ca7c869d65fe7f1b110f02b2f6 (diff)
Merge "Fix only one rpm copied in to packages during making rhel7 repo"
-rw-r--r--build/templates/RedHat_juno.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/templates/RedHat_juno.tmpl b/build/templates/RedHat_juno.tmpl
index 91be6151..51cc0772 100644
--- a/build/templates/RedHat_juno.tmpl
+++ b/build/templates/RedHat_juno.tmpl
@@ -76,7 +76,7 @@ yum -y install $pkg --downloadonly
mkdir -p /centos7-juno-ppa/{Packages,repodata}
-find /var/cache/yum/ -name *.rpm | xargs -i cp {} /centos7-juno-ppa/Packages/
+find /var/cache/yum/ -name "*.rpm" | xargs -i cp {} /centos7-juno-ppa/Packages/
rm /centos7-juno-ppa/Packages/selinux-policy* -f
rm /centos7-juno-ppa/Packages/systemd* -f