meta-starlingx: remove the upstream layer
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-ha / libsm-common.bb
diff --git a/meta-starlingx/meta-stx-flock/stx-ha/libsm-common.bb b/meta-starlingx/meta-stx-flock/stx-ha/libsm-common.bb
deleted file mode 100644 (file)
index 55fa092..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-PACKAGES += " sm-common-libs"
-PACKAGES += " sm-eru"
-
-require ha-common.inc
-SUBPATH0 = "service-mgmt/sm-common"
-
-
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-SRC_URI += " \
-       file://0001-stx-ha-fix-hardcoded-path-for-sm.patch;striplevel=3 \
-       file://0001-libsm_watchdog_nfs-add-missing-dependency-on-libsm_c.patch;striplevel=3 \
-       "
-
-DEPENDS_append = " \
-       glib-2.0 \
-       "
-
-inherit pkgconfig
-
-RDEPENDS_sm-common-libs += " \
-       bash \
-       util-linux \
-       systemd \
-       "
-RDEPENDS_sm-eru = " sm-common-libs"
-RDEPENDS_libsm-common = " sm-common-libs"
-
-inherit systemd
-SYSTEMD_PACKAGES += "sm-eru"
-SYSTEMD_SERVICE_sm-eru = "sm-eru.service sm-watchdog.service"
-SYSTEMD_AUTO_ENABLE_sm-eru = "enable"
-
-EXTRA_OEMAKE = ' -e VER=0 VER_MJR=1 \
-               INCLUDES="-I. $(pkg-config --cflags glib-2.0)" \
-               CCFLAGS="${CXXFLAGS} -fPIC" LDFLAGS="${LDFLAGS} -shared -rdynamic" \
-               EXTRACCFLAGS="${LDFLAGS}" \
-               '
-
-do_install_append () {
-       oe_runmake -e BUILDSUBDIR=${B} DEST_DIR=${D} BIN_DIR=${bindir} \
-               UNIT_DIR=${systemd_system_unitdir} LIB_DIR=${libdir} \
-               INC_DIR=${includedir} ETC_DIR=${sysconfdir} VER=0 VER_MJR=1 install
-       if [ -d ${D}/etc/pmon.d ] ; then
-               chmod 0755 ${D}/etc/pmon.d
-       fi
-}
-
-FILES_${PN}-dev_append = " \
-       var/lib/sm/watchdog/modules/libsm_watchdog_nfs.so \
-       "
-
-FILES_${PN} = " \
-       ${libdir}/libsm_common.so.0 \
-       ${libdir}/libsm_common.so.1 \
-       ${libdir}/libsm_common.so \
-       "
-
-FILES_sm-common-libs = " \
-       var/lib/sm/watchdog/modules/libsm_watchdog_nfs.so.0 \
-       var/lib/sm/watchdog/modules/libsm_watchdog_nfs.so.1 \
-       "
-
-FILES_sm-eru = " \
-       ${bindir}/sm-eru \
-       ${bindir}/sm-eru-dump \
-       ${bindir}/sm-watchdog \
-       ${systemd_system_unitdir}/sm-eru.service \
-       ${systemd_system_unitdir}/sm-watchdog.service \
-       ${sysconfdir}/init.d/sm-eru \
-       ${sysconfdir}/pmon.d/sm-eru.conf \
-       ${sysconfdir}/init.d/sm-watchdog \
-       ${sysconfdir}/pmon.d/sm-watchdog.conf \
-       "