diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-06-28 23:58:42 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-06-28 23:58:42 +0100 |
commit | 61702365ab53be41fb7e2d7bdad774776e484119 (patch) | |
tree | 958a097cf538ff4fea1697c58bdbdcc54efff193 /resources/scripts/helpers/build | |
parent | 0bf121dc31a7a045fa15319ed0e3f8410481f947 (diff) | |
download | librebootfr-61702365ab53be41fb7e2d7bdad774776e484119.tar.gz librebootfr-61702365ab53be41fb7e2d7bdad774776e484119.zip |
build/release/roms: copy version information directly
Diffstat (limited to 'resources/scripts/helpers/build')
-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 b22aeefe..f5064fb1 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 |