X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-daemons%2Flldpd%2Flldpd_0.9.0.bb;h=b051159890f015847ff38edca27f9301117f9c22;hb=f73c771cc150c8dddd7d0f6bfe0dffca556d17df;hp=fd018375a9e22a6d8f61a95eb29821526df5e91a;hpb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-daemons/lldpd/lldpd_0.9.0.bb b/meta-starlingx/meta-stx-integ/recipes-daemons/lldpd/lldpd_0.9.0.bb index fd01837..b051159 100644 --- a/meta-starlingx/meta-stx-integ/recipes-daemons/lldpd/lldpd_0.9.0.bb +++ b/meta-starlingx/meta-stx-integ/recipes-daemons/lldpd/lldpd_0.9.0.bb @@ -20,35 +20,28 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/ISC;md5=f3b90e DEPENDS = "libbsd libevent json-c" - -# Patches pullled from -# PROTOCOL = "https" -# BRANCH = "r/stx.3.0" -# SRCNAME = "integ" -# SRCREV = "0bf4b546df8c7fdec8cfc6cb6f71b9609ee54306" -# git://opendev.org/starlingx/${SRCNAME}.git;protocol=${PROTOCOL};rev=${SRCREV};branch=${BRANCH};destsuffix=stx-patches;subpath=networking/lldpd - SRC_URI = "\ http://media.luffy.cx/files/${BPN}/${BPN}-${PV}.tar.gz \ - file://lldpd-interface-show.patch \ - file://lldpd-create-run-dir.patch \ - file://lldpd-i40e-disable.patch \ - file://lldpd-clear-station.patch \ - file://i40e-lldp-configure.sh \ - file://lldpd.init \ - file://lldpd.default\ " SRC_URI[md5sum] = "ed0226129b0c90b3a45c273fe1aba8de" SRC_URI[sha256sum] = "300e4a590f7bf21c79d5ff94c2d6a69d0b2c34dbc21e17281496462a04ca80bc" -do_patch_append () { - bb.build.exec_func('stx_do_patch', d) -} +inherit stx-metadata + +STX_REPO = "integ" +STX_SUBPATH = "networking/lldpd" + +SRC_URI_STX = " \ + file://centos/files/lldpd-create-run-dir.patch \ + file://centos/files/lldpd-i40e-disable.patch \ + file://centos/files/lldpd-clear-station.patch \ + file://${BP}/lldpd-interface-show.patch \ + " -SOURCE1 = "${WORKDIR}/lldpd.init" -SOURCE2 = "${WORKDIR}/lldpd.default" -SOURCE3 = "${WORKDIR}/i40e-lldp-configure.sh" +SOURCE1 = "${STX_METADATA_PATH}/${BP}/lldpd.init" +SOURCE2 = "${STX_METADATA_PATH}/${BP}/lldpd.default" +SOURCE3 = "${STX_METADATA_PATH}/centos/files/i40e-lldp-configure.sh" DISTRO_FEATURES_BACKFILL_CONSIDERED_remove = "sysvinit"