summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2022-05-10 16:34:06 +0100
committerAlexander Larsson <alexander.larsson@gmail.com>2022-05-16 10:19:24 +0200
commit7d54d050a2ef24aa2a88a625ea43fc4ed5e54fd7 (patch)
tree944c5852d90375f6e50192afc44ec2ec921985d2 /.github
parentc54bbc6d7b78e7a45016efe0c4ac8af9d209aa20 (diff)
downloadbubblewrap-7d54d050a2ef24aa2a88a625ea43fc4ed5e54fd7.tar.gz
meson: Add options to set a RPATH/RUNPATH on the bwrap executable
This is useful when building a self-contained, relocatable tree containing a build of bubblewrap and all of its non-glibc dependencies (in practice this means libcap and maybe libselinux), as is done in the Steam container runtime. A RPATH/RUNPATH pointing to ${ORIGIN}/../lib allows bwrap to find an adjacent, bundled copy of libcap. Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/check.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index ceb3b82..d55d158 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -127,6 +127,7 @@ jobs:
test -x DESTDIR-as-subproject/usr/local/libexec/not-flatpak-bwrap
test ! -e DESTDIR-as-subproject/usr/local/bin/bwrap
test ! -e DESTDIR-as-subproject/usr/local/libexec/bwrap
+ tests/use-as-subproject/assert-correct-rpath.py DESTDIR-as-subproject/usr/local/libexec/not-flatpak-bwrap
- name: Upload test logs
uses: actions/upload-artifact@v1
if: failure() || cancelled()