test: add script to convert sys/ into sys-script.py
authorDan Streetman <ddstreet@ieee.org>
Fri, 10 Feb 2017 20:27:18 +0000 (15:27 -0500)
committerDan Streetman <ddstreet@ieee.org>
Fri, 10 Feb 2017 20:27:18 +0000 (15:27 -0500)
commitd001ac2c01c9748182f686e1acfbe128126fc663
tree790df618c6f027133d47a1e7cd9140baee64cc06
parent8367fea557cffaa6e870ccf1b94a063f560a922f
test: add script to convert sys/ into sys-script.py

Instead of keeping all sys/ nodes in a tarball, use a script
"sys-script.py" to create all the sys/ entries.

This adds a script to create that initial "sys-script.py" script, using
an existing sys/ directory, created from the sys.tar.xz contents.
The "sys-script.py" can then be edited or recreated later, when any sys/
files are added or modified; the change will be only a patch to the
"sys-script.py" script in git, instead of forcing git to store a new
binary tarball.
test/create-sys-script.py [new file with mode: 0755]