diff options
author | Gunnar Mills <gmills@us.ibm.com> | 2022-01-14 22:52:33 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2022-01-14 23:05:47 +0300 |
commit | 99706ff21354cfe4550b91f8b5951d36d6a31ccb (patch) | |
tree | 606b55f018dd8c39023fde660ee9ffeb55a3bf8e /src/store/modules/Settings | |
parent | d600bb52cd7e71543932cdd30892f6dc9bb6d740 (diff) | |
download | webui-vue-99706ff21354cfe4550b91f8b5951d36d6a31ccb.tar.xz |
Hack webpack to not use MD4
No longer have support for MD4, the default hashFunction.
Mess with webpack to use sha256.
This solution is from:
https://github.com/webpack/webpack/issues/13572#issuecomment-923736472
And was added to phosphor-webui here:
https://github.com/openbmc/phosphor-webui/commit/85884002164aacfeac8ca40e6fd169b0a2de43f0
Ideally --openssl-legacy-provider would work as
https://github.com/webpack/webpack/issues/14532 describes but Node 16
supports linking with SSL 3.0 but doesn't support
openssl-legacy-provider. See
https://github.com/nodejs/node/issues/40948.
This should enable the new Yocto bump to pass.
Tested: Build Witherspoon Tacoma with
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/48473 and the 3
and this change. The webui looked good.
Change-Id: I66f2cc45af85096f9abe935d269838c6a680bc9b
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'src/store/modules/Settings')
0 files changed, 0 insertions, 0 deletions