summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/build/release/src23
-rwxr-xr-xscript/update/blobs/download3
2 files changed, 4 insertions, 22 deletions
diff --git a/script/build/release/src b/script/build/release/src
index 596454e0..448e7b7b 100755
--- a/script/build/release/src
+++ b/script/build/release/src
@@ -29,8 +29,7 @@ trees_fetch_list="coreboot u-boot seabios"
simple_fetch_list="flashrom grub memtest86plus me_cleaner uefitool"
simple_fetch_list="${simple_fetch_list} bios_extract biosutilities"
-# do not add blobs directory here. it's handled below
-dirlist="resources util script include"
+dirlist="resources util script include config"
filelist="lbmk modify build README.md COPYING update version handle"
filelist="${filelist} versiondate projectname checkgit"
@@ -115,8 +114,6 @@ copy_files()
err "copy_files: !cp -R ${dir}/ ${srcdir}/"
done
- copy_blobs
-
for i in ${filelist}; do
if [ ! -f "${i}" ]; then
rm -Rf "${srcdir}" || \
@@ -128,24 +125,6 @@ copy_files()
done
}
-copy_blobs()
-{
- mkdir -p "${srcdir}"/blobs || \
- err "copy_blobs: !mkdir -p ${srcdir}/blobs"
- # do not copy intel ME etc, but do copy ifd/gbe files
- for i in t440p xx20 xx30 hp8200sff hp_ivybridge hp_sandybridge \
- hp8300usdt t1650 e6430 ich9m; do
- for j in ifd gbe 4_ifd_nogbe 4_ifd 8_ifd 12_ifd 16_ifd; do
- [ -f "blobs/${i}/${j}.bin" ] || continue
- [ -e "${srcdir}/blobs/${i}" ] || \
- mkdir -p "${srcdir}/blobs/${i}" || \
- err "copy_blobs: ! -d ${srcdir}/blobs/${i}"
- cp "blobs/${i}/${j}.bin" "${srcdir}/blobs/${i}" || \
- err "copy_blobs: ! -f ${srcdir}/blobs/${i}"
- done
- done
-}
-
purge_files()
{
(
diff --git a/script/update/blobs/download b/script/update/blobs/download
index 012cf0b1..05730c4b 100755
--- a/script/update/blobs/download
+++ b/script/update/blobs/download
@@ -423,6 +423,9 @@ extract_sch5545ec()
printf "sch5545 firmware already downloaded\n" 1>&2
return 0
fi
+ [ -d "${_sch5545ec_destination%/*}" ] || \
+ mkdir -p "${_sch5545ec_destination%/*}" || \
+ err "extract_sch: can't mkdir ${_sch5545ec_destination%/*}"
[ ! -d "${appdir}" ] || rm -Rf "${appdir}" || \
err "extract_sch5545ec: can't remove ${appdir}"