-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
A requirement for using the arduino-cli is that the compiler archive must contain only one root folder. At the moment the compiler is packaged as a tar file from inside the top level folder, rather than including that top level folder.
An example of how it should be:
$ tar -ztvf pic32-tools-143-3-Linux32-image.tar.gz
drwxr-xr-x matt/matt 0 2017-04-27 21:44 pic32-tools-143/
drwxr-xr-x matt/matt 0 2017-04-27 21:44 pic32-tools-143/lib/
drwxr-xr-x matt/matt 0 2017-04-27 21:44 pic32-tools-143/lib/gcc/
drwxr-xr-x matt/matt 0 2017-04-27 21:44 pic32-tools-143/lib/gcc/pic32mx/
drwxr-xr-x matt/matt 0 2017-04-27 21:44 pic32-tools-143/lib/gcc/pic32mx/4.8.3/
drwxr-xr-x matt/matt 0 2017-04-27 21:44 pic32-tools-143/lib/gcc/pic32mx/4.8.3/micromips/
-rw-r--r-- matt/matt 795 2017-03-13 17:01 pic32-tools-143/lib/gcc/pic32mx/4.8.3/micromips/crtn.o
... etc ...
Converting one of the existing builds is easy enough:
$ mkdir pic32-tools-143
$ tar -C pic32-tools-143 -zxf pic32-tools-143-3-Linux32-image.tar.gz
$ tar -zcf pic32-tools-143-3-Linux32-image.tar.gz pic32-tools-143
And of course the file size and SHA-256 checksum will change so the JSON file will need to be updated with those new details.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels