From 653810b8347264c3af7da3017cb0681adcc1378c Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Sun, 19 Mar 2023 00:36:34 +0000
Subject: [PATCH] fix bug: me not being downloaded on some boards

rename board configs, and add to sources file the
t530/w530 boards

in some situations, the files weren't being downloaded
---
 resources/blobs/sources                                       | 4 ++--
 .../coreboot/{t440p_12mb_mrc => t440pmrc_12mb}/board.cfg      | 0
 .../config/libgfxinit_corebootfb                              | 0
 .../config/libgfxinit_txtmode                                 | 0
 resources/coreboot/{w541_12mb_mrc => w541mrc_12mb}/board.cfg  | 0
 .../config/libgfxinit_corebootfb                              | 0
 .../{w541_12mb_mrc => w541mrc_12mb}/config/libgfxinit_txtmode | 0
 7 files changed, 2 insertions(+), 2 deletions(-)
 rename resources/coreboot/{t440p_12mb_mrc => t440pmrc_12mb}/board.cfg (100%)
 rename resources/coreboot/{t440p_12mb_mrc => t440pmrc_12mb}/config/libgfxinit_corebootfb (100%)
 rename resources/coreboot/{t440p_12mb_mrc => t440pmrc_12mb}/config/libgfxinit_txtmode (100%)
 rename resources/coreboot/{w541_12mb_mrc => w541mrc_12mb}/board.cfg (100%)
 rename resources/coreboot/{w541_12mb_mrc => w541mrc_12mb}/config/libgfxinit_corebootfb (100%)
 rename resources/coreboot/{w541_12mb_mrc => w541mrc_12mb}/config/libgfxinit_txtmode (100%)

diff --git a/resources/blobs/sources b/resources/blobs/sources
index 0f560db..56d7ada 100644
--- a/resources/blobs/sources
+++ b/resources/blobs/sources
@@ -5,7 +5,7 @@
 # If you want to make additions, try to add a backup url for download links and 
 # list hashes as sha1 sums.
 
-{x230 x230t x230i x230edp t430}{
+{x230 x230t x230i x230edp t430 t530 w530}{
 	ME_hash 039c89c6d44ae11ae2510cbd5fed756e97ed9a31
 	ME_dl https://download.lenovo.com/pccbbs/mobiles/g1rg24ww.exe
 	ME_bkup_dl https://web.archive.org/web/20210706183911/https://download.lenovo.com/pccbbs/mobiles/g1rg24ww.exe
@@ -17,7 +17,7 @@
 	ME_bkup_dl https://web.archive.org/web/20220202201637/https://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/83rf46ww.exe
 }
 
-{t440p w541}{
+{t440pmrc w541mrc t440p w541}{
 	ME_hash b2f2a1baa1f0c8139e46b0d3e206386ff197bed5
 	ME_dl https://download.lenovo.com/pccbbs/mobiles/glrg22ww.exe
 	ME_bkup_dl https://web.archive.org/web/20211120031520/https://download.lenovo.com/pccbbs/mobiles/glrg22ww.exe
diff --git a/resources/coreboot/t440p_12mb_mrc/board.cfg b/resources/coreboot/t440pmrc_12mb/board.cfg
similarity index 100%
rename from resources/coreboot/t440p_12mb_mrc/board.cfg
rename to resources/coreboot/t440pmrc_12mb/board.cfg
diff --git a/resources/coreboot/t440p_12mb_mrc/config/libgfxinit_corebootfb b/resources/coreboot/t440pmrc_12mb/config/libgfxinit_corebootfb
similarity index 100%
rename from resources/coreboot/t440p_12mb_mrc/config/libgfxinit_corebootfb
rename to resources/coreboot/t440pmrc_12mb/config/libgfxinit_corebootfb
diff --git a/resources/coreboot/t440p_12mb_mrc/config/libgfxinit_txtmode b/resources/coreboot/t440pmrc_12mb/config/libgfxinit_txtmode
similarity index 100%
rename from resources/coreboot/t440p_12mb_mrc/config/libgfxinit_txtmode
rename to resources/coreboot/t440pmrc_12mb/config/libgfxinit_txtmode
diff --git a/resources/coreboot/w541_12mb_mrc/board.cfg b/resources/coreboot/w541mrc_12mb/board.cfg
similarity index 100%
rename from resources/coreboot/w541_12mb_mrc/board.cfg
rename to resources/coreboot/w541mrc_12mb/board.cfg
diff --git a/resources/coreboot/w541_12mb_mrc/config/libgfxinit_corebootfb b/resources/coreboot/w541mrc_12mb/config/libgfxinit_corebootfb
similarity index 100%
rename from resources/coreboot/w541_12mb_mrc/config/libgfxinit_corebootfb
rename to resources/coreboot/w541mrc_12mb/config/libgfxinit_corebootfb
diff --git a/resources/coreboot/w541_12mb_mrc/config/libgfxinit_txtmode b/resources/coreboot/w541mrc_12mb/config/libgfxinit_txtmode
similarity index 100%
rename from resources/coreboot/w541_12mb_mrc/config/libgfxinit_txtmode
rename to resources/coreboot/w541mrc_12mb/config/libgfxinit_txtmode
-- 
GitLab