diff options
| author | Simon Rettberg | 2013-06-10 16:13:03 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2013-06-10 16:13:03 +0200 |
| commit | fa1c2cf93b27191a77a31fc0fa718f66de2c2956 (patch) | |
| tree | 268dc88fab5d52c5d18155864dce51e38a9d443b /remote/modules/systemd/systemd.build | |
| parent | [vmplayer] enable sound and 3D in vmplayer (diff) | |
| download | tm-scripts-fa1c2cf93b27191a77a31fc0fa718f66de2c2956.tar.gz tm-scripts-fa1c2cf93b27191a77a31fc0fa718f66de2c2956.tar.xz tm-scripts-fa1c2cf93b27191a77a31fc0fa718f66de2c2956.zip | |
[systemd] patch PATH environment variable in systemd-src
Diffstat (limited to 'remote/modules/systemd/systemd.build')
| -rw-r--r-- | remote/modules/systemd/systemd.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/modules/systemd/systemd.build b/remote/modules/systemd/systemd.build index a84cc7b3..a0a57b4d 100644 --- a/remote/modules/systemd/systemd.build +++ b/remote/modules/systemd/systemd.build @@ -3,7 +3,10 @@ fetch_source () { download_untar "$REQUIRED_URL" "src/" download_untar "$REQUIRED_LIBKMOD_URL" "src/" -} + # Patch PATH environment + sed -s -i -r 's#"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin(:/sbin:/bin)?"#& ":/opt/openslx/usr/sbin:/opt/openslx/usr/bin:/opt/openslx/sbin:/opt/openslx/bin"#g' src/systemd-*/src/core/main.c + sed -s -i -r 's#"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"#& ":/opt/openslx/usr/sbin:/opt/openslx/usr/bin:/opt/openslx/sbin:/opt/openslx/bin"#g' src/systemd-*/src/nspawn/nspawn.c +} build () { #build libkmod |
