-
Notifications
You must be signed in to change notification settings - Fork 590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build-aux/snap/local: cleanup patch and verification helper scripts #14901
build-aux/snap/local: cleanup patch and verification helper scripts #14901
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #14901 +/- ##
==========================================
+ Coverage 78.20% 78.23% +0.02%
==========================================
Files 1151 1156 +5
Lines 151396 152851 +1455
==========================================
+ Hits 118402 119579 +1177
- Misses 25662 25891 +229
- Partials 7332 7381 +49
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM, thanks!
build-aux/snap/snapcraft.yaml
Outdated
@@ -524,4 +525,6 @@ parts: | |||
<<: | |||
- *dynamic-linker | |||
override-prime: | | |||
python3 "${CRAFT_PROJECT_DIR}/build-aux/snap/local/verify-dl.py" "${CRAFT_PRIME}" "/snap/snapd/current/usr/lib/${CRAFT_ARCH_TRIPLET_BUILD_FOR}/${DYNAMIC_LINKER}" ";" | |||
"${CRAFT_PROJECT_DIR}/build-aux/snap/local/verify-dl.py" \ | |||
"${CRAFT_PRIME}" \ |
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.
Maybe we could have taken the opportunity to read the environment variable if --prime
is not passed like done in patch-dl.py
. Just to make the command line smaller.
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.
updated the commit to account for this
ecdb967
to
63a8188
Compare
Improve the patching and verification scripts used during snap build. Signed-off-by: Maciej Borzecki <[email protected]>
Signed-off-by: Maciej Borzecki <[email protected]>
63a8188
to
360714b
Compare
Improve the patching and verification scripts used during snap build.
Related: SNAPDENG-34352