Skip to content

Commit

Permalink
phase1: correctly exclude kmods files from rsync target upload and prune
Browse files Browse the repository at this point in the history
There is currently a BUG in the --exclude pattern for the targetupload step.
The /kmods/ directory is actually never excluded. This was never notice
as the rsynclist never actually had kmods entry as make checksum step
was done before moving the kmods to the dedicated directory.

This is caused by the fact that with --files-from, not only the /kmods/
directory needs to be excluded but also every content in it, hence the
additional --exclude "/kmods/**" is required to correcly skip the entry
present in rsynclist.

Signed-off-by: Christian Marangi <[email protected]>
  • Loading branch information
Ansuel committed Nov 17, 2024
1 parent ab85b44 commit db5d151
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions phase1/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1664,6 +1664,7 @@ def prepareFactory(target):
command=[
"../rsync.sh",
"--exclude=/kmods/",
"--exclude=/kmods/**",
"--files-from=rsynclist",
"--delay-updates",
"--partial-dir=.~tmp~%s~%s" % (target, subtarget),
Expand Down

0 comments on commit db5d151

Please sign in to comment.