diff options
author | Leah Rowe <leah@libreboot.org> | 2022-12-05 00:10:07 +0000 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2022-12-05 00:10:07 +0000 |
commit | 137b5434d75352d2a0ddd56d5cc25ba59d9b0c5a (patch) | |
tree | 66fc798c5d8dd62be2c2e0f7ab04f7df5364ae75 /resources/scripts/build/release | |
parent | 7679c8e0f0c4e7b93941d2309a742dc3fa2f3276 (diff) |
remove logic for avoiding nonredistributable blobs
the --nuke option in ifdtool will be used instead, to nuke
the ME regions in specific rom sets (and cbfstool will be
used to delete mrc.bin files from rom sets)
the new method being implemented is heavier on disk io, but
simplifies lbmk, and disk io could still be optimised in
the following ways:
* when copying roms from boards with ME in them, use
ifdtool --nuke to get filename.rom.new, and *move* (not copy)
filename.rom.new to the new destination (for use with tar)
* possibly modify ifdtool to make efficient use of mmap for
disk i/o; it currently loads entire roms into an allocated
buffer in memory
Diffstat (limited to 'resources/scripts/build/release')
-rwxr-xr-x | resources/scripts/build/release/deblob | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/resources/scripts/build/release/deblob b/resources/scripts/build/release/deblob deleted file mode 100755 index dcac1020..00000000 --- a/resources/scripts/build/release/deblob +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env bash - -# SPDX-FileCopyrightText: 2022 Caleb La Grange <thonkpeasant@protonmail.com> -# SPDX-License-Identifier: GPL-3.0-only - -board="${1}" -board_config_dir="resources/coreboot/${board}/config" -set -- "${board_config_dir}/*" -. ${1} 2>/dev/null - -if [ "${CONFIG_HAVE_MRC}" = "y" ] || [ "${CONFIG_HAVE_ME_BIN}" = "y" ]; then - rm ${board_config_dir}/*_deblobbed - for config in ${board_config_dir}/* ; do - grep -v 'CONFIG_HAVE_ME_BIN\|CONFIG_ME_BIN_PATH\|CONFIG_HAVE_MRC\|CONFIG_MRC_FILE' ${config} > "${config}_deblobbed" - done - ./blobutil download ${board} redistributable - -else - # Quickly exits for boards requiring no blobs - exit 2 -fi |