-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNC-31522 Fix IANA error: Include locally patched-built ipmitool deb
- Loading branch information
1 parent
fe3a9f2
commit f9c57d0
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |