build/release/src: Include U-Boot sources in source archive

Add U-Boot to the source release script's modules list so that it is
included in source release tarballs. Don't include the unused upstream
source and .git directories.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
fsdg20230625
Alper Nebi Yasak 2022-12-06 20:11:33 +03:00
parent 70435784ec
commit f079b83dd9
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,7 @@ mkdir -p "${srcdir}/"
printf "%s" "${version}" > "${srcdir}"/version printf "%s" "${version}" > "${srcdir}"/version
modlist="coreboot flashrom grub memtest86plus seabios ich9utils me_cleaner" modlist="coreboot flashrom grub memtest86plus seabios ich9utils me_cleaner u-boot"
dirlist="resources" # do not add blobs directory here. it is handled below dirlist="resources" # do not add blobs directory here. it is handled below
filelist="blobutil modify download build README.md COPYING Makefile update version versiondate projectname .gitcheck" filelist="blobutil modify download build README.md COPYING Makefile update version versiondate projectname .gitcheck"
@ -107,6 +107,7 @@ done
rm -Rf coreboot/coreboot/ rm -Rf coreboot/coreboot/
rm -Rf .git* */.git* coreboot/*/.git* coreboot/*/3rdparty/*/.git* rm -Rf .git* */.git* coreboot/*/.git* coreboot/*/3rdparty/*/.git*
rm -Rf coreboot/*/util/nvidia/cbootimage/.git* rm -Rf coreboot/*/util/nvidia/cbootimage/.git*
rm -Rf u-boot/u-boot/ u-boot/*/.git*
) )
( (