Skip to content

Commit

Permalink
ipmitool: add default iana enterprise numbers database
Browse files Browse the repository at this point in the history
When using default configuration without add IANA_ENTERPRISE_NUMBERS and
SRC_URI in a bbappend, the ipmitool would report an error as below:

"
root@intel-x86-64:~# ipmitool -I open bmc getenables
IANA PEN registry open failed: No such file or directory
"

Add a default iana enterprise numbers database to avoid the error
happen if using ipmitool default bb configuration.

Signed-off-by: Xiangyu Chen <[email protected]>
  • Loading branch information
chenxy1988 committed Oct 25, 2022
1 parent 2ab46ba commit 8487f99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file not shown.
8 changes: 5 additions & 3 deletions meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ SRC_URI = "git://github.com/ipmitool/ipmitool;protocol=https;branch=master \
file://0001-ipmi_fru.c-Provide-missing-function-declarations.patch \
file://0001-configure-Remove-the-logic-to-download-IANA-PEN-data.patch \
"
IANA_ENTERPRISE_NUMBERS ?= ""

# Add these via bbappend if this database is needed by the system
#IANA_ENTERPRISE_NUMBERS ?= "http://www.iana.org/assignments/enterprise-numbers;name=iana-enterprise-numbers;downloadfilename=iana-enterprise-numbers"
# Default IANA enterprise database version is 2022-10-24
IANA_ENTERPRISE_NUMBERS ?= "file://iana-enterprise-numbers.tar.xz"

# Add these via bbappend if the latest version database is needed by the system
#IANA_ENTERPRISE_NUMBERS = "http://www.iana.org/assignments/enterprise-numbers;name=iana-enterprise-numbers;downloadfilename=iana-enterprise-numbers"
#SRC_URI[iana-enterprise-numbers.sha256sum] = "cdd97fc08325667434b805eb589104ae63f7a9eb720ecea73cb55110b383934c"

S = "${WORKDIR}/git"
Expand Down

0 comments on commit 8487f99

Please sign in to comment.