package/sysrepo: fix install path for systemd units
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 18 Dec 2019 17:24:06 +0000 (18:24 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 18 Dec 2019 17:27:41 +0000 (18:27 +0100)
commit873e6573d3fec87ab497523fa361351fd82e7c8e
tree0efb0cb629f949a7585af199732a638aa669ac1d
parent35c11a027c88a3c943554eefbbed051fd2d98a50
package/sysrepo: fix install path for systemd units

The relative paths currently used to install the systemd units causes an
incorrect installation, where units are installed in (notice the double
usr in the paths):

    target/usr/usr/lib/systemd/system/sysrepod.service
    staging/usr/usr/lib/systemd/system/sysrepod.service

Fix that by using an absolute path.

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
[yann.morin.1998@free.fr:
  - split into its own commit
  - expand commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/sysrepo/sysrepo.mk