summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2012-02-08 17:53:59 +0100
committerMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2012-02-08 17:53:59 +0100
commit47a5813d29c41f4d5ded5d0ecc3eb1796b2e2997 (patch)
treeeec9ce2268c9a1bb86d28d33fcbcdbd21c635fe4
parentfix systemd (diff)
downloadkeruspe-47a5813d29c41f4d5ded5d0ecc3eb1796b2e2997.tar.gz
keruspe-47a5813d29c41f4d5ded5d0ecc3eb1796b2e2997.tar.bz2
keruspe-47a5813d29c41f4d5ded5d0ecc3eb1796b2e2997.zip
fix systemd symlinks
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--sys-apps/systemd/Manifest2
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild9
2 files changed, 5 insertions, 6 deletions
diff --git a/sys-apps/systemd/Manifest b/sys-apps/systemd/Manifest
index 1efa1d89..72d2c393 100644
--- a/sys-apps/systemd/Manifest
+++ b/sys-apps/systemd/Manifest
@@ -1 +1 @@
-EBUILD systemd-9999.ebuild 4707 RMD160 6591e560800f1e8fba95c11f5b6bb4243d04ad9c SHA1 271cc01b26b6d4e09c5ffb93162f27565fbfbdb3 SHA256 e8fc7a2c2a8f41a7284e782b3ff4595fa79cae281563f1f01d995d4c3d8b2471
+EBUILD systemd-9999.ebuild 4638 RMD160 ff9db69a233e94bbfa252cb8fc584dd82e9ad306 SHA1 c906a3f438ef8c778d5569b4baac994550296328 SHA256 100ae9ef184db90ca05dafeabff3c228b25f33f684af6b57280399abdaa80596
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index d585427f..9f71a25f 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -109,11 +109,10 @@ rename_mans() {
}
do_symlinks() {
- dosym /usr/bin/systemctl /sbin/init
- dosym /usr/bin/systemctl /sbin/poweroff
- dosym /usr/bin/systemctl /sbin/halt
- dosym /usr/bin/systemctl /sbin/reboot
- dosym /usr/bin/systemctl /sbin/shutdown
+ dosym /usr/$(get_libdir)/systemd/systemd /sbin/init
+ for i in poweroff halt reboot shutdown; do
+ dosym /usr/bin/systemctl /sbin/${i}
+ done
}
src_install() {