| 1 |
pyocd for Debian |
| 2 |
---------------- |
| 3 |
|
| 4 |
The released source tarball is not suitable for Debian upload - it contains |
| 5 |
pre-compiled ARM binaries as well as firmware binaries for microcontrollers. |
| 6 |
However, these are not used by the python bindings, only for usage with gdb |
| 7 |
or the test suite. |
| 8 |
|
| 9 |
Repacking the original tarball |
| 10 |
------------------------------ |
| 11 |
|
| 12 |
The original tarball needs to be repacked to make the directory |
| 13 |
name all lowercase. |
| 14 |
|
| 15 |
For a released tarball, remove the binaries/ and elf_files/ directories |
| 16 |
and remove ./src/gdb_test_program/gdb_test.elf and repack with the +dfsg |
| 17 |
suffix. |
| 18 |
|
| 19 |
In the pyOCD git directory, run: |
| 20 |
|
| 21 |
$ rm dist/* |
| 22 |
$ rm -rf binaries/ |
| 23 |
$ rm -rf elf_files/ |
| 24 |
$ rm src/gdb_test_program/gdb_test.elf |
| 25 |
$ python setup.py sdist |
| 26 |
|
| 27 |
The ./debian/dfsh.sh script exists in the Debian packaging repo for this |
| 28 |
task. |
| 29 |
|
| 30 |
Rename to pyocd_<version>+dfsg.orig.tar.gz |
| 31 |
|
| 32 |
-- Neil Williams <[email protected]> Fri, 16 Nov 2018 09:55:58 +0000 |
| 33 |
|