summaryrefslogtreecommitdiffstats
path: root/test/create-sys-script.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: use proper unicode © instead of (C) where we canLennart Poettering2018-06-141-1/+1
| | | | | | Let's use a proper unicode copyright symbol where we can, it's prettier. This important patch is very important.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-14/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* Add SPDX license headers to python scriptsZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* sys-script: remove output directory if it existsZbigniew Jędrzejewski-Szmek2017-09-291-0/+3
| | | | | meson will occasionally call us even though the output directory exists. Let's just nuke and recreate in that case.
* create-sys-script: adapt to separate build dir, modernize, add more checksZbigniew Jędrzejewski-Szmek2017-09-291-23/+28
| | | | | | | | | The script wasn't apparently used since the switch to meson, because it required the sys subdirectory to be present in the same subdirectory where the output script is located. Let's use f-strings to make the whole thing more readable. Add some extra checks.
* more portable python shebangs (#5816)Jörg Thalheim2017-05-011-2/+2
| | | | | This is useful on systems like NixOS, where python3 is not in /usr/bin/python3 as well as for people using alternative ways to install python such as virtualenv/pyenv.
* test: add script to convert sys/ into sys-script.pyDan Streetman2017-02-101-0/+183
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.