diff options
author | Leah Rowe <leah@libreboot.org> | 2023-10-07 11:10:24 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-10-07 11:10:39 +0100 |
commit | 92abbb25fe89475dee335091a770864c205af75e (patch) | |
tree | 65e6266b56baad3f8c5f9da2720004eb283931c7 /script/update | |
parent | 85bee1f8bd31806bf39ab68c6cc20e55a922b0fb (diff) |
update/release/roms: copy license files to archive
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update')
-rwxr-xr-x | script/update/release/roms | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/script/update/release/roms b/script/update/release/roms index 0e2ab720..cec93951 100755 --- a/script/update/release/roms +++ b/script/update/release/roms @@ -86,6 +86,18 @@ make_archive() x_ printf "%s\n" "${versiondate}" > "${romdir}/versiondate" x_ printf "%s\n" "${projectname}" > "${romdir}/projectname" + for x in u-boot seabios coreboot; do + [ -d "src/${x}/default" ] || \ + x_ ./update project trees -f ${x} default + done + [ -d src/grub ] || x_ ./update project trees -f grub + + # copy licenses to rom image archive, for completion + x_ cp "src/grub/COPYING" "${romdir}/COPYING.grub" + x_ cp "src/coreboot/default/COPYING" "${romdir}/COPYING.coreboot" + x_ cp "src/seabios/default/COPYING" "${romdir}/COPYING.coreboot" + x_ cp -R "src/u-boot/default/Licenses" "${romdir}/COPYING.u-boot" + archivename="${projectname}-${version}_${target##*/}" f="release/${version}/roms/${archivename}" ( |