Skip to content

Commit 909453c

Browse files
committed
build.sh: don't patch the Protectli logo
The Protectli logo is now added within the buildsystem, it doesn't need to be patched externally in build.sh. Upstream-Status: Inappropriate [Dasharo downstream] Signed-off-by: Filip Lewiński <[email protected]>
1 parent b268ae7 commit 909453c

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

build.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ function build_msi {
145145
function build_protectli_vault {
146146
DEFCONFIG="configs/config.protectli_${BOARD}"
147147
FW_VERSION=$(cat ${DEFCONFIG} | grep CONFIG_LOCALVERSION | cut -d '=' -f 2 | tr -d '"')
148-
LOGO="3rdparty/dasharo-blobs/protectli/bootsplash.bmp"
149148

150149
build_prep
151150

@@ -155,14 +154,6 @@ function build_protectli_vault {
155154

156155
cp build/coreboot.rom protectli_${BOARD}_${FW_VERSION}.rom
157156

158-
sdk_run /bin/bash -c "./build/cbfstool \
159-
protectli_${BOARD}_${FW_VERSION}.rom add \
160-
-r BOOTSPLASH \
161-
-f \"$LOGO\" \
162-
-n logo.bmp \
163-
-t raw \
164-
-c lzma"
165-
166157
if [ $? -eq 0 ]; then
167158
echo "Result binary placed in $PWD/protectli_${BOARD}_${FW_VERSION}.rom"
168159
sha256sum protectli_${BOARD}_${FW_VERSION}.rom > protectli_${BOARD}_${FW_VERSION}.rom.sha256
@@ -175,7 +166,6 @@ function build_protectli_vault {
175166
function build_v1x10 {
176167
DEFCONFIG="configs/config.protectli_vault_jsl_$1"
177168
FW_VERSION=$(cat ${DEFCONFIG} | grep CONFIG_LOCALVERSION | cut -d '=' -f 2 | tr -d '"')
178-
LOGO="3rdparty/dasharo-blobs/protectli/bootsplash.bmp"
179169

180170
build_prep
181171

@@ -185,14 +175,6 @@ function build_v1x10 {
185175

186176
cp build/coreboot.rom protectli_$1_${FW_VERSION}.rom
187177

188-
sdk_run /bin/bash -c "./build/cbfstool \
189-
./protectli_${1}_${FW_VERSION}.rom add \
190-
-r BOOTSPLASH \
191-
-f \"$LOGO\" \
192-
-n logo.bmp \
193-
-t raw \
194-
-c lzma"
195-
196178
if [ $? -eq 0 ]; then
197179
echo "Result binary placed in $PWD/protectli_$1_${FW_VERSION}.rom"
198180
sha256sum protectli_$1_${FW_VERSION}.rom > protectli_$1_${FW_VERSION}.rom.sha256

0 commit comments

Comments
 (0)