Skip to content

Commit

Permalink
SNC-31522 Fix IANA error: Include locally patched-built ipmitool deb
Browse files Browse the repository at this point in the history
  • Loading branch information
rajib-dutta1 committed Jan 22, 2024
1 parent fe3a9f2 commit f9c57d0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rules/ipmitool.dep
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

SPATH := $($(IPMITOOL)_SRC_PATH)
DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/ipmitool.mk rules/ipmitool.dep
DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST)
DEP_FILES += $(shell git ls-files $(SPATH))

$(IPMITOOL)_CACHE_MODE := GIT_CONTENT_SHA
$(IPMITOOL)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST)
$(IPMITOOL)_DEP_FILES := $(DEP_FILES)


29 changes: 29 additions & 0 deletions rules/ipmitool.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# ipmitool packages

IPMITOOL_VERSION = 1.8.19
IPMITOOL_VERSION_SUFFIX = 4
IPMITOOL_VERSION_FULL = $(IPMITOOL_VERSION)-$(IPMITOOL_VERSION_SUFFIX)

IPMITOOL = ipmitool_$(IPMITOOL_VERSION_FULL)_$(CONFIGURED_ARCH).deb
$(IPMITOOL)_SRC_PATH = $(SRC_PATH)/ipmitool
SONIC_MAKE_DEBS += $(IPMITOOL)

IPMITOOL_DBG = ipmitool-dbgsym_$(IPMITOOL_VERSION_FULL)_$(CONFIGURED_ARCH).deb
$(eval $(call add_derived_package,$(IPMITOOL),$(IPMITOOL_DBG)))








DBG_SRC_ARCHIVE += ipmitool
# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
# are archived into debug one image to facilitate debugging.

# Export these variables so they can be used in a sub-make
export IPMITOOL_VERSION
export IPMITOOL_VERSION_FULL
export IPMITOOL
export IPMITOOL_DBG

0 comments on commit f9c57d0

Please sign in to comment.