summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-06-25 13:49:06 +0100
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2018-06-25 16:47:45 +0100
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 25ec3124..c03720f4 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"
- |