From: "Nate DeSimone" <nathaniel.l.desimone@intel.com>
To: devel@edk2.groups.io
Cc: Ashley DeSimone <ashley.e.desimone@intel.com>,
Puja Pandya <puja.pandya@intel.com>,
Erik Bjorge <erik.c.bjorge@intel.com>,
Prince Agyeman <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
Date: Mon, 13 Apr 2020 22:34:21 -0700 [thread overview]
Message-ID: <20200414053421.5365-1-nathaniel.l.desimone@intel.com> (raw)
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
next reply other threads:[~2020-04-14 5:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-14 5:34 Nate DeSimone [this message]
2020-04-14 17:21 ` [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add hash of edkrepo.cfg for commit afb9d871 to sha_data.cfg Ashley E Desimone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200414053421.5365-1-nathaniel.l.desimone@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox