2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-25 11:00:07 +00:00
xcat-dep/ipmitool/ipmitool-1.8.15-rflash.patch
chenglch 8ee0e0c7a4 upgrade to ipmitool-xcat-1.8.15
saneretry.patch is useful for ipmitool-1.8.15,
eventfix and spdfix have already been patched.
add rflash patch to delete upgrade prompt question.
2015-11-16 04:08:29 -05:00

23 lines
959 B
Diff

diff -uNr ipmitool-1.8.15/lib/ipmi_hpmfwupg.c ipmitool-rflash/lib/ipmi_hpmfwupg.c
--- ipmitool-1.8.15/lib/ipmi_hpmfwupg.c 2014-08-11 13:31:15.000000000 -0400
+++ ipmitool-rflash/lib/ipmi_hpmfwupg.c 2015-11-03 02:39:22.022585519 -0500
@@ -724,18 +724,6 @@
lprintf(LOG_NOTICE, "\n Upgrade undesirable at this moment");
return HPMFWUPG_ERROR;
}
- /* Get confimation from the user if he wants to continue when
- * service affected during upgrade
- */
- if (!(option & COMPARE_MODE)
- && (pFwupgCtx->targetCap.GlobalCapabilities.bitField.servAffectDuringUpg == 1
- || pImageHeader->imageCapabilities.bitField.servAffected == 1)) {
- if (HpmGetUserInput("\nServices may be affected during upgrade. Do you wish to continue? (y/n): ")) {
- rc = HPMFWUPG_SUCCESS;
- } else {
- return HPMFWUPG_ERROR;
- }
- }
}
/* Get the general properties of each component present in image */
for (componentId = HPMFWUPG_COMPONENT_ID_0;