added my Recipes
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
From 63d72f97bd106dd2101cd7fdac6df4f7a053d67c Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 2 Sep 2022 08:27:39 -0700
|
||||
Subject: [PATCH] configure: Remove the logic to download IANA PEN database
|
||||
during configure
|
||||
|
||||
OE will do all downloading before it starts to configure therefore this
|
||||
step is moved out into bitbake recipe, so we can make it immutable build
|
||||
|
||||
Upstream-Status: Inappropriate [OE-Specific]
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
configure.ac | 16 +---------------
|
||||
1 file changed, 1 insertion(+), 15 deletions(-)
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -56,21 +56,7 @@ if test "x$exec_prefix" = "xNONE"; then
|
||||
exec_prefix="$prefix"
|
||||
fi
|
||||
|
||||
-if test "x$WGET" = "x"; then
|
||||
- if test "x$CURL" = "x"; then
|
||||
- AC_MSG_WARN([** Neither wget nor curl could be found.])
|
||||
- AC_MSG_WARN([** IANA PEN database will not be installed by `make install` !])
|
||||
- else
|
||||
- DOWNLOAD="$CURL --location --progress-bar"
|
||||
- AM_CONDITIONAL([DOWNLOAD], [true])
|
||||
- fi
|
||||
-else
|
||||
- DOWNLOAD="$WGET -c -nd -O -"
|
||||
- AM_CONDITIONAL([DOWNLOAD], [true])
|
||||
-fi
|
||||
-
|
||||
-AC_MSG_WARN([** Download is:])
|
||||
-AC_MSG_WARN($DOWNLOAD)
|
||||
+AM_CONDITIONAL([DOWNLOAD], [false])
|
||||
AC_SUBST(DOWNLOAD, $DOWNLOAD)
|
||||
|
||||
dnl
|
||||
@@ -0,0 +1,54 @@
|
||||
SUMMARY = "Utility for IPMI control"
|
||||
DESCRIPTION = "This package contains a utility for interfacing with devices that support \
|
||||
the Intelligent Platform Management Interface specification. IPMI is \
|
||||
an open standard for machine health, inventory, and remote power control. \
|
||||
\
|
||||
This utility can communicate with IPMI-enabled devices through either a \
|
||||
kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in \
|
||||
the IPMI specification. IPMIv2 adds support for encrypted LAN \
|
||||
communications and remote Serial-over-LAN functionality. \
|
||||
\
|
||||
It provides commands for reading the Sensor Data Repository (SDR) and \
|
||||
displaying sensor values, displaying the contents of the System Event \
|
||||
Log (SEL), printing Field Replaceable Unit (FRU) information, reading and \
|
||||
setting LAN configuration, and chassis power control. \
|
||||
"
|
||||
|
||||
HOMEPAGE = "http://codeberg.org/IPMITool/ipmitool"
|
||||
SECTION = "kernel/userland"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9aa91e13d644326bf281924212862184"
|
||||
|
||||
DEPENDS = "openssl readline ncurses"
|
||||
SRCREV = "19d78782d795d0cf4ceefe655f616210c9143e62"
|
||||
SRC_URI = "git://codeberg.org/ipmitool/ipmitool;protocol=https;branch=master \
|
||||
${IANA_ENTERPRISE_NUMBERS} \
|
||||
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.txt;name=iana-enterprise-numbers;downloadfilename=iana-enterprise-numbers"
|
||||
#SRC_URI[iana-enterprise-numbers.sha256sum] = "cdd97fc08325667434b805eb589104ae63f7a9eb720ecea73cb55110b383934c"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools
|
||||
|
||||
do_install:append() {
|
||||
if [ -e ${WORKDIR}/iana-enterprise-numbers ]; then
|
||||
install -Dm 0755 ${WORKDIR}/iana-enterprise-numbers ${D}${datadir}/misc/enterprise-numbers
|
||||
fi
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-ipmievd"
|
||||
FILES:${PN}-ipmievd += "${sbindir}/ipmievd"
|
||||
FILES:${PN} += "${datadir}/misc"
|
||||
|
||||
# --disable-dependency-tracking speeds up the build
|
||||
# --enable-file-security adds some security checks
|
||||
# --disable-intf-free disables FreeIPMI support - we don't want to depend on
|
||||
# FreeIPMI libraries, FreeIPMI has its own ipmitoool-like utility.
|
||||
#
|
||||
EXTRA_OECONF = "--disable-dependency-tracking --enable-file-security --disable-intf-free"
|
||||
Reference in New Issue
Block a user