-
Notifications
You must be signed in to change notification settings - Fork 216
Live updates build 🏗 prep #705
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,21 +15,18 @@ if test -z "${INSIDE_VM:-}"; then | |
|
|
||
| cd ${topsrcdir} | ||
|
|
||
| # Support local development with e.g. an ostree built from git too, | ||
| # or libasan. | ||
| export VMCHECK_INSTTREE=${VMCHECK_INSTTREE:-$(pwd)/insttree} | ||
|
|
||
| # Use a lock in case we're called in parallel (make install might fail). | ||
| # Plus, we can just share the same install tree, and sharing is caring! | ||
| flock insttree.lock sh -ec \ | ||
| '[ ! -d insttree ] || exit 0 | ||
| DESTDIR=$(pwd)/insttree | ||
| '[ ! -d ${VMCHECK_INSTTREE} ] || exit 0 | ||
| DESTDIR=${VMCHECK_INSTTREE} | ||
| make install DESTDIR=${DESTDIR} | ||
| for san in a t ub; do | ||
| if eu-readelf -d ${DESTDIR}/usr/bin/rpm-ostree | \ | ||
| grep -q \"NEEDED.*lib${san}san\"; then | ||
| echo \"Installing extra sanitizier: lib${san}san\" | ||
| cp /usr/lib64/lib${san}san*.so.* ${DESTDIR}/usr/lib64 | ||
| fi | ||
| done | ||
| touch ${DESTDIR}/.completed' | ||
| [ -f insttree/.completed ] | ||
| [ -f ${VMCHECK_INSTTREE}/.completed ] | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should also update the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I pushed a fixup to add the |
||
|
|
||
| vm_rsync | ||
|
|
||
|
|
||
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.
(And now if one wants to build with e.g.
asan, install it into the insttree too)