Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-core / stx-ha / files / 0002-Install-sm-eru-sm-eru-dump-and-sm-eru-watchdog.patch
1 From bfde9f6164bd729764ad3f85b0c1aacce01ba4d0 Mon Sep 17 00:00:00 2001
2 From: "Sar Ashki, Babak" <Babak.SarAshki@windriver.com>
3 Date: Fri, 24 Jan 2020 13:11:25 -0800
4 Subject: [PATCH 2/2] Install sm-eru, sm-eru-dump, and sm-eru-watchdog
5
6 ---
7  service-mgmt/sm-common/src/Makefile | 7 +++++--
8  1 file changed, 5 insertions(+), 2 deletions(-)
9
10 diff --git a/service-mgmt/sm-common/src/Makefile b/service-mgmt/sm-common/src/Makefile
11 index 99f736d..7d138f9 100644
12 --- a/service-mgmt/sm-common/src/Makefile
13 +++ b/service-mgmt/sm-common/src/Makefile
14 @@ -69,8 +69,11 @@ install:
15         # install of these 3 are in the .spec file so that they can be
16         # renamed with '-' like they are in the bitbake file.
17         #
18 -       # install -d $(DEST_DIR)$(BIN_DIR)
19 -       # install sm_watchdog sm_eru sm_eru_dump $(DEST_DIR)$(BIN_DIR)
20 +
21 +       install -d -m 755 $(DEST_DIR)$(BIN_DIR)
22 +       install -p -m 755 sm_eru $(DEST_DIR)$(BIN_DIR)/sm-eru 
23 +       install -p -m 755 sm_eru_dump $(DEST_DIR)$(BIN_DIR)/sm-eru-dump
24 +       install -p -m 755 sm_watchdog $(DEST_DIR)$(BIN_DIR)/sm-watchdog
25         install -d $(DEST_DIR)$(LIB_DIR)
26         install libsm_common.so.${VER} $(DEST_DIR)$(LIB_DIR)
27         cp -P libsm_common.so libsm_common.so.$(VER_MJR) $(DEST_DIR)$(LIB_DIR)
28 -- 
29 2.23.0
30