diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2018-06-25 13:49:06 +0100 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2018-06-25 13:49:06 +0100 |
commit | 83988f86224b01e9c167580f1096ce3868cdf084 (patch) | |
tree | 23cc179d7c6197ac4b3be489365c23cdd58680ca | |
parent | 45bb922afeaae26ef5d4e0ee329c678485063c45 (diff) | |
download | definitions-franred/restore-openstack-kilo-system-for-buildStream.tar.gz |
Fix /bin /sbin links to systemdfranred/restore-openstack-kilo-system-for-buildStream
`$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.bst | 4 |
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" - | |