* [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add hash of edkrepo.cfg for commit afb9d871 to sha_data.cfg
@ 2020-04-14 5:34 Nate DeSimone
2020-04-14 17:21 ` Ashley E Desimone
0 siblings, 1 reply; 2+ messages in thread
From: Nate DeSimone @ 2020-04-14 5:34 UTC (permalink / raw)
To: devel
Cc: Ashley DeSimone, Puja Pandya, Erik Bjorge, Prince Agyeman,
Bret Barkelew, Philippe Mathieu-Daude
Needed to enable config file upgrades
Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Ashley DeSimone <ashley.e.desimone@intel.com>
Cc: Puja Pandya <puja.pandya@intel.com>
Cc: Erik Bjorge <erik.c.bjorge@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Philippe Mathieu-Daude <philmd@redhat.com>
---
edkrepo_installer/sha_data.cfg | 3 ++-
edkrepo_installer/sha_data_README.txt | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 edkrepo_installer/sha_data_README.txt
diff --git a/edkrepo_installer/sha_data.cfg b/edkrepo_installer/sha_data.cfg
index fa718e3..f5fb05e 100644
--- a/edkrepo_installer/sha_data.cfg
+++ b/edkrepo_installer/sha_data.cfg
@@ -1,2 +1,3 @@
[previous_cfg_sha256]
-91954addfeebfaa593c775b0c1f3eb50e158165d1beef0d13bae86e925be7a7d
\ No newline at end of file
+91954addfeebfaa593c775b0c1f3eb50e158165d1beef0d13bae86e925be7a7d
+57b06bb4bb17e417944809511e8a7bc4a328b9be0bd9939a6dde396356e94d02
\ No newline at end of file
diff --git a/edkrepo_installer/sha_data_README.txt b/edkrepo_installer/sha_data_README.txt
new file mode 100644
index 0000000..c5d9d63
--- /dev/null
+++ b/edkrepo_installer/sha_data_README.txt
@@ -0,0 +1,6 @@
+Note: sha_data.cfg is used to determine if the edkrepo.cfg file should be upgraded or not.
+Only if the hash of the older edkrepo.cfg file matches this hash, and the newer edkrepo.cfg
+file bundled in the installer does NOT match this hash will we replace the config file
+
+one can compute the hash of the edkrepo.cfg file using the following command in git bash
+cat edkrepo.cfg | sha256sum
--
2.26.0.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add hash of edkrepo.cfg for commit afb9d871 to sha_data.cfg
2020-04-14 5:34 [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add hash of edkrepo.cfg for commit afb9d871 to sha_data.cfg Nate DeSimone
@ 2020-04-14 17:21 ` Ashley E Desimone
0 siblings, 0 replies; 2+ messages in thread
From: Ashley E Desimone @ 2020-04-14 17:21 UTC (permalink / raw)
To: Desimone, Nathaniel L, devel@edk2.groups.io
Cc: Pandya, Puja, Bjorge, Erik C, Agyeman, Prince, Bret Barkelew,
Philippe Mathieu-Daude
Reviewed-by: Ashley DeSimone <ashley.e.desimone@intel.com>
-----Original Message-----
From: Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>
Sent: Monday, April 13, 2020 10:34 PM
To: devel@edk2.groups.io
Cc: Desimone, Ashley E <ashley.e.desimone@intel.com>; Pandya, Puja <puja.pandya@intel.com>; Bjorge, Erik C <erik.c.bjorge@intel.com>; Agyeman, Prince <prince.agyeman@intel.com>; Bret Barkelew <Bret.Barkelew@microsoft.com>; Philippe Mathieu-Daude <philmd@redhat.com>
Subject: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add hash of edkrepo.cfg for commit afb9d871 to sha_data.cfg
Needed to enable config file upgrades
Signed-off-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Ashley DeSimone <ashley.e.desimone@intel.com>
Cc: Puja Pandya <puja.pandya@intel.com>
Cc: Erik Bjorge <erik.c.bjorge@intel.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Philippe Mathieu-Daude <philmd@redhat.com>
---
edkrepo_installer/sha_data.cfg | 3 ++-
edkrepo_installer/sha_data_README.txt | 6 ++++++
2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 edkrepo_installer/sha_data_README.txt
diff --git a/edkrepo_installer/sha_data.cfg b/edkrepo_installer/sha_data.cfg index fa718e3..f5fb05e 100644
--- a/edkrepo_installer/sha_data.cfg
+++ b/edkrepo_installer/sha_data.cfg
@@ -1,2 +1,3 @@
[previous_cfg_sha256]
-91954addfeebfaa593c775b0c1f3eb50e158165d1beef0d13bae86e925be7a7d
\ No newline at end of file
+91954addfeebfaa593c775b0c1f3eb50e158165d1beef0d13bae86e925be7a7d
+57b06bb4bb17e417944809511e8a7bc4a328b9be0bd9939a6dde396356e94d02
\ No newline at end of file
diff --git a/edkrepo_installer/sha_data_README.txt b/edkrepo_installer/sha_data_README.txt
new file mode 100644
index 0000000..c5d9d63
--- /dev/null
+++ b/edkrepo_installer/sha_data_README.txt
@@ -0,0 +1,6 @@
+Note: sha_data.cfg is used to determine if the edkrepo.cfg file should be upgraded or not.
+Only if the hash of the older edkrepo.cfg file matches this hash, and
+the newer edkrepo.cfg file bundled in the installer does NOT match this
+hash will we replace the config file
+
+one can compute the hash of the edkrepo.cfg file using the following
+command in git bash cat edkrepo.cfg | sha256sum
--
2.26.0.windows.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-04-14 17:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-14 5:34 [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add hash of edkrepo.cfg for commit afb9d871 to sha_data.cfg Nate DeSimone
2020-04-14 17:21 ` Ashley E Desimone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox