diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-06-28 18:58:42 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-06-28 18:58:42 (EDT) |
commit | 61702365ab53be41fb7e2d7bdad774776e484119 (patch) | |
tree | 958a097cf538ff4fea1697c58bdbdcc54efff193 /resources | |
parent | 0bf121dc31a7a045fa15319ed0e3f8410481f947 (diff) | |
download | libreboot-61702365ab53be41fb7e2d7bdad774776e484119.zip libreboot-61702365ab53be41fb7e2d7bdad774776e484119.tar.gz libreboot-61702365ab53be41fb7e2d7bdad774776e484119.tar.bz2 |
build/release/roms: copy version information directly
Diffstat (limited to 'resources')
-rwxr-xr-x | resources/scripts/helpers/build/release/roms | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/resources/scripts/helpers/build/release/roms b/resources/scripts/helpers/build/release/roms index b22aeef..f5064fb 100755 --- a/resources/scripts/helpers/build/release/roms +++ b/resources/scripts/helpers/build/release/roms @@ -55,22 +55,19 @@ for payload in *; do printf '...%s' "${payload}/${board}" - # Put the version string in the archive. - printf '%s\n' "${version}" >"${board}/version" - # Delete the old archive rm -f "../../${romdir}/${payload}/${distname}_${board}.tar.xz" cp -R "${board}/" "${archivename}/" + # Put the version string in the archive. + printf '%s\n' "${version}" >"${archivename}/version" + # Create the compressed archive. tar -c "${archivename}/" | xz -9e >"../../${romdir}/${payload}/${archivename}.tar.xz" rm -Rf "${archivename}/" - # No longer needed. - rm -f "${board}/version" - printf ' OK\n' done |