aboutsummaryrefslogtreecommitdiff
path: root/tools/generate-self-extracting-archive.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert generate-self-extracting-archive.py to python 3Cole Faust2021-12-291-4/+4
| | | | | | Test: Add a VENDOR_BLOBS_LICENSE entry to an existing product, then `m with-license` Bug: 203436762 Change-Id: I4bbe77bda7789b6c44bea141518b1cd2e699d326
* Fix comment to reflect that the value passed to head is actually the sizeMitchell Wills2019-12-061-6/+6
| | | | | | | | There is no functional change Bug: 130257221 Test: generated an archive using the script and ran the result Change-Id: I946f2827a9519873be2173fc50d9bc1cc46a326f
* Use bash instead of sh in self extracting archiveMitchell Wills2019-12-061-1/+1
| | | | | | | | `echo -n` and `read` seems to not work the same on mac Bug: 130257221 Test: generated an archive using the script and ran the result on linux and mac Change-Id: I129090ccf50781b748bff9a5c7890824d2670ad4
* [generate-self-extracting-archive] Cleanup and improve error handlingMitchell Wills2019-11-111-1/+17
| | | | | | | | | Increase the max extract offset and add some input sanity checks Make the output file executable Test: Ran manually with various license inputs Bug: 125451157 Change-Id: Id76d55479366f1d9b8906e6d04c1a6db8d4d8285
* Add build script to create a self extracting archive with a click through ↵Mitchell Wills2019-07-291-0/+165
license Bug: 130257221 Test: generated an archive using the script and ran the result Change-Id: If1147cd41fa939b0d9958196e627042b5731dc14