diff options
| author | Jonathan Bauer | 2013-06-11 15:23:46 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-06-11 15:23:46 +0200 |
| commit | 98bf712732bf23ee66cd97bb458863e3ff0b2f2f (patch) | |
| tree | 7792fdf4a5ced5d86fa22df58681fd5f41e967f7 /remote/modules/systemd | |
| parent | [pam] register login session at systemd-logind service (diff) | |
| parent | [vmplayer] clean up run-virt.include: drop support for old player versions (diff) | |
| download | tm-scripts-98bf712732bf23ee66cd97bb458863e3ff0b2f2f.tar.gz tm-scripts-98bf712732bf23ee66cd97bb458863e3ff0b2f2f.tar.xz tm-scripts-98bf712732bf23ee66cd97bb458863e3ff0b2f2f.zip | |
Merge branch 'master' of git:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/systemd')
| -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 |
