summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-06-25 12:49:06 (GMT)
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-06-25 15:47:45 (GMT)
commita326f3ca758648bc7dabaf899e78d4b80db400e5 (patch)
tree23cc179d7c6197ac4b3be489365c23cdd58680ca
parent45bb922afeaae26ef5d4e0ee329c678485063c45 (diff)
downloaddefinitions-a326f3ca758648bc7dabaf899e78d4b80db400e5.tar.gz
Fix /bin /sbin links to systemd
`$prefix` was pointing to ../usr but links don't need relative path anymore. Removing $prefix from the links make the link to work again.
-rw-r--r--elements/foundation/systemd.bst4
1 files changed, 2 insertions, 2 deletions
diff --git a/elements/foundation/systemd.bst b/elements/foundation/systemd.bst
index 25ec312..c03720f 100644
--- a/elements/foundation/systemd.bst
+++ b/elements/foundation/systemd.bst
@@ -18,8 +18,8 @@ config:
install-commands:
(>):
- mkdir -p "%{install-root}"/sbin
- - ln -s "%{prefix}"/lib/systemd/systemd "%{install-root}"/sbin/init
- - for f in telinit runlevel shutdown poweroff reboot halt; do ln -s "%{prefix}"/bin/systemctl
+ - ln -s /lib/systemd/systemd "%{install-root}"/sbin/init
+ - for f in telinit runlevel shutdown poweroff reboot halt; do ln -s /bin/systemctl
"%{install-root}/sbin/$f"; done
- touch "%{install-root}/etc/machine-id"
- |