-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update to tools and new toolchain (incl. gcc 10.2.0)
Also bump libmuslc to 1.2.1 (matches toolchain), fix gcc 10 build error in ipmitool, and update ca-certificates to latest. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
- Loading branch information
Showing
5 changed files
with
46 additions
and
7 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
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
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,37 @@ | ||
From 51c7e0822f531469cf860dfa5d010c87b284b747 Mon Sep 17 00:00:00 2001 | ||
From: Vaclav Dolezal <vdolezal@redhat.com> | ||
Date: Thu, 23 Jan 2020 11:26:32 +0100 | ||
Subject: [PATCH] hpmfwupg: move variable definition to .c file | ||
|
||
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com> | ||
--- | ||
include/ipmitool/ipmi_hpmfwupg.h | 2 +- | ||
lib/ipmi_hpmfwupg.c | 2 ++ | ||
2 files changed, 3 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/include/ipmitool/ipmi_hpmfwupg.h b/include/ipmitool/ipmi_hpmfwupg.h | ||
index de65292b..07f597be 100644 | ||
--- a/include/ipmitool/ipmi_hpmfwupg.h | ||
+++ b/include/ipmitool/ipmi_hpmfwupg.h | ||
@@ -800,7 +800,7 @@ typedef struct _VERSIONINFO { | ||
char descString[HPMFWUPG_DESC_STRING_LENGTH + 1]; | ||
}VERSIONINFO, *PVERSIONINFO; | ||
|
||
-VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX]; | ||
+extern VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX]; | ||
|
||
#define TARGET_VER (0x01) | ||
#define ROLLBACK_VER (0x02) | ||
diff --git a/lib/ipmi_hpmfwupg.c b/lib/ipmi_hpmfwupg.c | ||
index 4aa8cecd..d63d2c15 100644 | ||
--- a/lib/ipmi_hpmfwupg.c | ||
+++ b/lib/ipmi_hpmfwupg.c | ||
@@ -50,6 +50,8 @@ | ||
|
||
extern int verbose; | ||
|
||
+VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX]; | ||
+ | ||
int HpmfwupgUpgrade(struct ipmi_intf *intf, char *imageFilename, | ||
int activate, int, int); | ||
int HpmfwupgValidateImageIntegrity(struct HpmfwupgUpgradeCtx *pFwupgCtx); |
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
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