From: "Ashley E Desimone" <ashley.e.desimone@intel.com>
To: "Desimone, Nathaniel L" <nathaniel.l.desimone@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "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: Re: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add hash of edkrepo.cfg for commit afb9d871 to sha_data.cfg
Date: Tue, 14 Apr 2020 17:21:52 +0000 [thread overview]
Message-ID: <DM6PR11MB3628F515763AC322314AD248B2DA0@DM6PR11MB3628.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200414053421.5365-1-nathaniel.l.desimone@intel.com>
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
prev parent reply other threads:[~2020-04-14 17:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=DM6PR11MB3628F515763AC322314AD248B2DA0@DM6PR11MB3628.namprd11.prod.outlook.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