Initial commit
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
EXTRA_OEMESON:append:p10bmc = " -Dhostboot-dump-collection=enabled "
|
||||
+1
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append:ibm-ac-server = " verify_pnor_signature"
|
||||
+1
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append:p10bmc = " phal"
|
||||
@@ -0,0 +1,3 @@
|
||||
RDEPENDS:${PN}:append:ibm-ac-server = " avsbus-control"
|
||||
RDEPENDS:${PN}:append:witherspoon = " vrm-control"
|
||||
RDEPENDS:${PN}:append:ibm-ac-server = " power-workarounds"
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
DEPENDS:append:ibm-ac-server = " acx22-yaml-config"
|
||||
|
||||
EXTRA_OECONF:ibm-ac-server = " \
|
||||
INVSENSOR_YAML_GEN=${STAGING_DIR_HOST}${datadir}/acx22-yaml-config/ipmi-inventory-sensors.yaml \
|
||||
"
|
||||
+1
@@ -0,0 +1 @@
|
||||
RDEPENDS:${PN}-system:remove:witherspoon = "croserver"
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
DEPENDS:append:p10bmc = " cli11"
|
||||
DEPENDS:append:p10bmc = " nlohmann-json"
|
||||
DEPENDS:append:p10bmc = " phosphor-dbus-interfaces"
|
||||
DEPENDS:append:p10bmc = " libgpiod"
|
||||
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
SYSTEMD_SERVICE:${PN}:append:p10bmc = " ibm-vpd-parser@.service"
|
||||
SYSTEMD_SERVICE:${PN}:append:p10bmc = " system-vpd.service"
|
||||
SYSTEMD_SERVICE:${PN}:append:p10bmc = " com.ibm.VPD.Manager.service"
|
||||
SYSTEMD_SERVICE:${PN}:append:p10bmc = " wait-vpd-parsers.service"
|
||||
SYSTEMD_SERVICE:${PN}:remove:p10bmc = " op-vpd-parser.service"
|
||||
PACKAGECONFIG:append:p10bmc = " ibm-parser vpd-manager"
|
||||
|
||||
FILES:${PN}:append:p10bmc = " ${datadir}/vpd/*.json"
|
||||
|
||||
do_install:append:p10bmc() {
|
||||
# Remove files that are used by openpower-read-vpd
|
||||
DEST=${D}${inventory_envdir}
|
||||
rm ${DEST}/inventory
|
||||
rm ${D}/${nonarch_base_libdir}/udev/rules.d/70-op-vpd.rules
|
||||
}
|
||||
|
||||
do_install:append:witherspoon() {
|
||||
DEST=${D}${inventory_envdir}
|
||||
printf "\nEEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a400.i2c-bus/i2c-11/11-0051/eeprom" >> ${DEST}/inventory
|
||||
}
|
||||
|
||||
do_install:append:swift() {
|
||||
DEST=${D}${inventory_envdir}
|
||||
printf "\nEEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a340.i2c-bus/i2c-8/8-0051/eeprom" >> ${DEST}/inventory
|
||||
}
|
||||
|
||||
do_install:append:witherspoon-tacoma() {
|
||||
DEST=${D}${inventory_envdir}
|
||||
printf "FRUS=BMC,ETHERNET" > ${DEST}/inventory
|
||||
printf "\nPATHS=/system/chassis/motherboard/bmc,/system/chassis/motherboard/bmc/eth0" >> ${DEST}/inventory
|
||||
printf "\nEEPROM=/sys/devices/platform/ahb/ahb:apb/ahb:apb:bus@1e78a000/1e78a600.i2c-bus/i2c-11/11-0051/eeprom" >> ${DEST}/inventory
|
||||
}
|
||||
|
||||
pkg_postinst:${PN}:p10bmc() {
|
||||
mkdir -p $D$systemd_system_unitdir/obmc-chassis-poweroff@0.target.wants
|
||||
LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@0.target.wants/wait-vpd-parsers.service"
|
||||
TARGET="../wait-vpd-parsers.service"
|
||||
ln -s $TARGET $LINK
|
||||
}
|
||||
pkg_prerm:${PN}:p10bmc() {
|
||||
LINK="$D$systemd_system_unitdir/obmc-chassis-poweroff@0.target.wants/wait-vpd-parsers.service"
|
||||
rm $LINK
|
||||
}
|
||||
Reference in New Issue
Block a user