package/systemd: fix build on not-recent distros
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 31 Mar 2017 21:33:54 +0000 (23:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Apr 2017 11:51:59 +0000 (13:51 +0200)
commit902bb3a4d7cf1dd1d4ff5d54719da672dea8681a
treeb002e6d6d639c17ac4359e4fdc22479a9f03b70e
parent1f349933ba41a2f74ef5eb17ab866b7997a6c5ec
package/systemd: fix build on not-recent distros

systemd is at it again, using ln --relative once more, which is not
available but on the most recent distros.

Patch it out with a bit of sed magic.

Fixes:
    http://autobuild.buildroot.org/results/48e/48ecf31eca9b22339a770abd3f9abdf1ae41cfd3/
    http://autobuild.buildroot.org/results/c62/c6297c61d8c2d3ab9be77b9d398598adacdb33b3/
    http://autobuild.buildroot.org/results/22f/22ff106a4626c84422d9a3e69aa9c8fe7c76938c/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd/0004-install-don-t-use-ln-relative.patch [new file with mode: 0644]