Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phase1: correctly exclude kmods files from rsync target upload and prune
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
a75ce02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Ansuel I'm assuming this is the change that caused me to report the "missing kmods in package index" openwrt/openwrt#17036 that @ynezz fixed in openwrt/openwrt#17042
Do you know how far back will this reach? That #17042 fix was applied to snapshots and 24.10 where it's working fine, but I was just testing
owut
against 23.05-SNAPSHOT and noticed that "missing kmods" is appearing there now.https://downloads.openwrt.org/releases/23.05-SNAPSHOT/targets/x86/64/packages/index.json << no kmods indexed, but 23.05.5 has them (maybe only until its next package build???)
a75ce02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I should add, this is extremely low priority, as downgrading to pre-24.10 with
owut
is possible, but very experimental and not recommended.a75ce02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
23.05, 24.10 and main branches are being built using the same buildbot instance, so they share the behavior, thus we need to backport this changes into 23.05 as well openwrt/openwrt#17102
23.05.5 is not affected, because its a release, but 23.05.6 would be affected (in a same way as current 23.05-SNAPSHOTS)
a75ce02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a75ce02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@efahl commit backported to 23.05
a75ce02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.