X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-integ%2Frecipes-support%2Fdnsmasq%2Fdnsmasq_2.76.bb;h=02a3ee1fa83bf710ccc9e1a9d933d28623ba1a1d;hb=bcab7c47dbbb73f5a4f988b3e668d3a80a1d7292;hp=5f6ec18d1892d5e7117f5673f724e29a3beaf106;hpb=e0634c6eaf2fe2641a0fb90e84a5defb880b1335;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-integ/recipes-support/dnsmasq/dnsmasq_2.76.bb b/meta-starlingx/meta-stx-integ/recipes-support/dnsmasq/dnsmasq_2.76.bb index 5f6ec18..02a3ee1 100644 --- a/meta-starlingx/meta-stx-integ/recipes-support/dnsmasq/dnsmasq_2.76.bb +++ b/meta-starlingx/meta-stx-integ/recipes-support/dnsmasq/dnsmasq_2.76.bb @@ -12,11 +12,10 @@ machines. \ HOMEPAGE = "http://www.thekelleys.org.uk/dnsmasq" SECTION = "net" +inherit stx-metadata -SRCREV_FORMAT = "opendev" -SRCREV_opendev = "d778e862571957ece3c404c0c37d325769772fde" -SUBPATH0 = "dnsmasq-config" -DSTSUFX0 = "stx-configfiles" +STX_REPO = "config-files" +STX_SUBPATH = "dnsmasq-config" # GPLv3 was added in version 2.41 as license option LICENSE = "GPLv2 | GPLv3" @@ -26,7 +25,6 @@ LIC_FILES_CHKSUM = "\ " SRC_URI = " \ - git://opendev.org/starlingx/config-files.git;protocol=https;destsuffix=${DSTSUFX0};branch="r/stx.3.0";subpath=${SUBPATH0};name=opendev \ http://www.thekelleys.org.uk/${BPN}/${BP}.tar.gz \ file://init \ file://dnsmasq-resolvconf.service \ @@ -132,7 +130,7 @@ EOF install -m 0644 ${WORKDIR}/99_dnsmasq ${D}${sysconfdir}/default/volatiles install -m 0755 ${WORKDIR}/dnsmasq-resolvconf-helper ${D}${bindir} fi - install -m 755 ${WORKDIR}/${DSTSUFX0}/files/init ${D}/${sysconfdir}/init.d/dnsmasq + install -m 755 ${STX_METADATA_PATH}/files/init ${D}/${sysconfdir}/init.d/dnsmasq } DISTRO_FEATURES_BACKFILL_CONSIDERED_remove = "sysvinit" @@ -143,3 +141,4 @@ RPROVIDES_${PN} += "${PN}-systemd" RREPLACES_${PN} += "${PN}-systemd" RCONFLICTS_${PN} += "${PN}-systemd" SYSTEMD_SERVICE_${PN} = "dnsmasq.service" +SYSTEMD_AUTO_ENABLE_${PN} = "disable"