Skip to content

Commit b7f8643

Browse files
committed
Add --skip-stat
1 parent f2ddfdc commit b7f8643

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.buildkite/steps/publish-rpm-package.sh

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ updaterepo() {
2525
# Reuses the old package metadata, and add new packages with --pkglist.
2626
# createrepo_c tests that pkglist is a _regular_ file, so we can't use
2727
# a Bash process substitution i.e. <(find ...)
28+
# --skip-stat prevents createrepo_c from trying to stat all the RPMs that
29+
# aren't synced here.
2830
# Note also that createrepo_c appends pkglist lines to the path it is given
2931
# to find files. Busybox find (in Alpine) has no -printf verb, so...........
3032
# go go gadget `awk`
@@ -34,6 +36,7 @@ updaterepo() {
3436
--no-database \
3537
--unique-md-filenames \
3638
--retain-old-md-by-age=180d \
39+
--skip-stat \
3740
--update \
3841
--pkglist "${pkglist}" \
3942
--recycle-pkglist \

0 commit comments

Comments
 (0)