diff options
| -rw-r--r-- | meta-networking/recipes-support/netcf/netcf_git.bb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb b/meta-networking/recipes-support/netcf/netcf_git.bb index 8a8963e44f..26c738b2cc 100644 --- a/meta-networking/recipes-support/netcf/netcf_git.bb +++ b/meta-networking/recipes-support/netcf/netcf_git.bb | |||
| @@ -16,19 +16,13 @@ DEPENDS += "augeas libnl libxslt libxml2 gnulib" | |||
| 16 | 16 | ||
| 17 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
| 18 | 18 | ||
| 19 | inherit gettext autotools-brokensep pkgconfig systemd | 19 | inherit gettext autotools-bootstrap pkgconfig systemd |
| 20 | 20 | ||
| 21 | EXTRA_OECONF_append_class-target = " --with-driver=redhat" | 21 | EXTRA_OECONF_append_class-target = " --with-driver=redhat" |
| 22 | 22 | ||
| 23 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}" | 23 | PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)}" |
| 24 | PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts," | 24 | PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts," |
| 25 | 25 | ||
| 26 | do_configure_prepend() { | ||
| 27 | cd ${S} | ||
| 28 | rm -f .gitmodules | ||
| 29 | ./bootstrap --gnulib-srcdir=${STAGING_DATADIR}/gnulib | ||
| 30 | } | ||
| 31 | |||
| 32 | do_install_append() { | 26 | do_install_append() { |
| 33 | if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 27 | if ${@base_contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 34 | install -d ${D}${systemd_unitdir}/system | 28 | install -d ${D}${systemd_unitdir}/system |
