Skip to content

Commit f9c57d0

Browse files
committed
SNC-31522 Fix IANA error: Include locally patched-built ipmitool deb
1 parent fe3a9f2 commit f9c57d0

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

rules/ipmitool.dep

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
SPATH := $($(IPMITOOL)_SRC_PATH)
3+
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/ipmitool.mk rules/ipmitool.dep
4+
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
5+
DEP_FILES += $(shell git ls-files $(SPATH))
6+
7+
$(IPMITOOL)_CACHE_MODE := GIT_CONTENT_SHA
8+
$(IPMITOOL)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
9+
$(IPMITOOL)_DEP_FILES := $(DEP_FILES)
10+
11+

rules/ipmitool.mk

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# ipmitool packages
2+
3+
IPMITOOL_VERSION = 1.8.19
4+
IPMITOOL_VERSION_SUFFIX = 4
5+
IPMITOOL_VERSION_FULL = $(IPMITOOL_VERSION)-$(IPMITOOL_VERSION_SUFFIX)
6+
7+
IPMITOOL = ipmitool_$(IPMITOOL_VERSION_FULL)_$(CONFIGURED_ARCH).deb
8+
$(IPMITOOL)_SRC_PATH = $(SRC_PATH)/ipmitool
9+
SONIC_MAKE_DEBS += $(IPMITOOL)
10+
11+
IPMITOOL_DBG = ipmitool-dbgsym_$(IPMITOOL_VERSION_FULL)_$(CONFIGURED_ARCH).deb
12+
$(eval $(call add_derived_package,$(IPMITOOL),$(IPMITOOL_DBG)))
13+
14+
15+
16+
17+
18+
19+
20+
21+
DBG_SRC_ARCHIVE += ipmitool
22+
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
23+
# are archived into debug one image to facilitate debugging.
24+
25+
# Export these variables so they can be used in a sub-make
26+
export IPMITOOL_VERSION
27+
export IPMITOOL_VERSION_FULL
28+
export IPMITOOL
29+
export IPMITOOL_DBG

0 commit comments

Comments
 (0)