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>
This commit is contained in:
parent
35c11a027c
commit
873e6573d3
@ -24,7 +24,7 @@ SYSREPO_CONF_OPTS = \
|
||||
-DCALL_SYSREPOCFG_BIN=$(HOST_DIR)/bin/sysrepocfg \
|
||||
-DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_SYSREPO_EXAMPLES),ON,OFF) \
|
||||
$(if $(BR2_INIT_SYSTEMD),-DWITH_SYSTEMD=ON) \
|
||||
$(if $(BR2_INIT_SYSTEMD),-DSYSTEMD_UNIT_DIR=usr/lib/systemd/system)
|
||||
$(if $(BR2_INIT_SYSTEMD),-DSYSTEMD_UNIT_DIR=/usr/lib/systemd/system)
|
||||
|
||||
# On ARM, this is needed to prevent unaligned memory access with an optimized
|
||||
# build .. https://github.com/sysrepo/sysrepo/issues/947
|
||||
|
Loading…
Reference in New Issue
Block a user