X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-flock%2Fstx-fault%2Ffm-mgr.bb;fp=meta-starlingx%2Fmeta-stx-flock%2Fstx-fault%2Ffm-mgr.bb;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=c39271f93a555431b0372985ee3653ced00c6385;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-flock/stx-fault/fm-mgr.bb b/meta-starlingx/meta-stx-flock/stx-fault/fm-mgr.bb deleted file mode 100644 index c39271f..0000000 --- a/meta-starlingx/meta-stx-flock/stx-fault/fm-mgr.bb +++ /dev/null @@ -1,39 +0,0 @@ -inherit systemd -require fault-common.inc - -SRC_URI += "file://0001-fm-mgr-Fix-install-target.patch" - -SUBPATH0 = "fm-mgr/sources" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -DEPENDS += "fm-common" - -EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS} -L${S}/fm-common/sources" \ - CCFLAGS="${CXXFLAGS}" \ - INCLUDES="-I. -I${S}/fm-common/sources" \ - BINDIR="${bindir}" \ - LIBDIR="${libdir}" \ - UNITDIR="${systemd_system_unitdir}" \ - DESTDIR="${D}" \ - ' -do_install () { - oe_runmake install - # fix the path for init scripts - sed -i -e 's|rc.d/||' ${D}/${systemd_system_unitdir}/*.service - - # fix the path for binaries - sed -i -e 's|/usr/local/bin/|${bindir}/|' ${D}${sysconfdir}/init.d/fminit -} - -SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE_${PN} = "fminit.service" -SYSTEMD_AUTO_ENABLE_${PN} = "disable" -DISTRO_FEATURES_BACKFILL_CONSIDERED_remove = "sysvinit" - -inherit useradd - -USERADD_PACKAGES = "fm-mgr" -USERADD_PARAM_fm-mgr = "-r -g fm -u 195 -d /var/lib/fm -s /sbin/nologin -c 'fm-mgr' fm" -GROUPADD_PARAM_fm-mgr = "-r -g 195 fm" - -RDEPENDS_${PN}_append = " net-snmp-server-snmpd"