mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
update/release/roms: copy license files to archive
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -86,6 +86,18 @@ make_archive()
|
|||||||
x_ printf "%s\n" "${versiondate}" > "${romdir}/versiondate"
|
x_ printf "%s\n" "${versiondate}" > "${romdir}/versiondate"
|
||||||
x_ printf "%s\n" "${projectname}" > "${romdir}/projectname"
|
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##*/}"
|
archivename="${projectname}-${version}_${target##*/}"
|
||||||
f="release/${version}/roms/${archivename}"
|
f="release/${version}/roms/${archivename}"
|
||||||
(
|
(
|
||||||
|
|||||||
Reference in New Issue
Block a user