Skip to content

Make shadow installation directory relocatable#2391

Merged
sporksmith merged 2 commits intomainfrom
relocatable
Aug 31, 2022
Merged

Make shadow installation directory relocatable#2391
sporksmith merged 2 commits intomainfrom
relocatable

Conversation

@sporksmith
Copy link
Copy Markdown
Contributor

We probably especially want this if we decide to release pre-built binaries ourselves (#2389), but even if we don't, it gives users some additional flexibility.

Make shadow installation directory relocatable

@github-actions github-actions bot added Component: Build Build/install tools and dependencies Component: Main Composing the core Shadow executable labels Aug 30, 2022
@sporksmith sporksmith changed the title Relocatable Make shadow installation directory relocatable Aug 30, 2022
This allows us to locate LD_PRELOAD libraries even if the shadow
installation directory has been moved around.

e.g.:

```
./setup build --prefix=~/opt/shadow && ./setup install
mv ~/opt/shadow /opt/shadow
```
@sporksmith sporksmith marked this pull request as ready for review August 31, 2022 22:09
@sporksmith sporksmith enabled auto-merge August 31, 2022 22:09
@sporksmith sporksmith merged commit c80f006 into main Aug 31, 2022
@sporksmith sporksmith deleted the relocatable branch August 31, 2022 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Build Build/install tools and dependencies Component: Main Composing the core Shadow executable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants