Commit b7f8643 1 parent f2ddfdc commit b7f8643 Copy full SHA for b7f8643
File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ updaterepo() {
25
25
# Reuses the old package metadata, and add new packages with --pkglist.
26
26
# createrepo_c tests that pkglist is a _regular_ file, so we can't use
27
27
# 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.
28
30
# Note also that createrepo_c appends pkglist lines to the path it is given
29
31
# to find files. Busybox find (in Alpine) has no -printf verb, so...........
30
32
# go go gadget `awk`
@@ -34,6 +36,7 @@ updaterepo() {
34
36
--no-database \
35
37
--unique-md-filenames \
36
38
--retain-old-md-by-age=180d \
39
+ --skip-stat \
37
40
--update \
38
41
--pkglist " ${pkglist} " \
39
42
--recycle-pkglist \
You can’t perform that action at this time.
0 commit comments