diff options
author | Paul Spooren <mail@aparcar.org> | 2020-12-13 14:36:17 -1000 |
---|---|---|
committer | Paul Spooren <mail@aparcar.org> | 2020-12-17 11:16:36 -1000 |
commit | 42e478eb0dbfce71ba21d2a6ed7297ec6db8cc19 (patch) | |
tree | b9b5e959b5ae1d54eb11c576a60fd3cfa276aa49 /scripts | |
parent | b14eeccdfeeeaad30ab301401432e217c1b77180 (diff) | |
download | openwrt-42e478eb0dbfce71ba21d2a6ed7297ec6db8cc19.tar.gz openwrt-42e478eb0dbfce71ba21d2a6ed7297ec6db8cc19.tar.bz2 openwrt-42e478eb0dbfce71ba21d2a6ed7297ec6db8cc19.zip |
build/json: add filesystem information
Some images are created using different filesystems, most popular
squashfs and ext4. To allow downstream projects to distinguesh between
those, add the `filesystem` information to created json files.
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit bc0ffff36a0bd8043e958913f574cb8d2a79e93d)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/json_add_image_info.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/json_add_image_info.py b/scripts/json_add_image_info.py index d1599b514a..9a640ad468 100755 --- a/scripts/json_add_image_info.py +++ b/scripts/json_add_image_info.py @@ -37,6 +37,7 @@ image_info = { "images": [ { "type": getenv("IMAGE_TYPE"), + "filesystem": getenv("IMAGE_FILESYSTEM"), "name": getenv("IMAGE_NAME"), "sha256": image_hash, } |