kumquat-buildroot/fs
Yann E. MORIN 5abb88218e core: add per-package and per-filesystem show-info
Sometimes, it is need to quickly get the metadata of a subset of
packages, without resorting to a full-blown JSON query.

Introduce a new per-package (and per-filesystem) foo-show-info rule,
that otputs a per-entity valid JSON blob.

Note that calling it for multiple packages and.or filesystems at once
will not generate a valid JSON blob, as there would be no separator
between the JSON elements:

    $ make {foo,bar}-show-info
    { "foo": { foo stuff } }
    { "bar": { bar stuff } }

However, jq is able to absorb this, with its slurping ability, which
generates an array (ellipsed and manualy reformated for readability):

    $ make {foo,bar}-show-info |jq -s . -
    [
      { "foo": { foo stuff } },
      { "bar": { bar stuff } }
    ]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-04-15 23:47:22 +02:00
..
axfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
btrfs fs/btrfs: remove destination file before generation 2018-08-25 23:59:23 +02:00
cloop fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
cpio fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
cramfs fs/cramfs: add xip option 2018-04-09 11:29:46 +02:00
ext2 fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
f2fs fs/f2fs: simplify overprovision option handling 2018-11-08 21:17:49 +01:00
initramfs fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
iso9660 fs/*/*.mk: fix code style 2018-04-01 08:40:41 +02:00
jffs2 fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
romfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
squashfs fs/squashfs: add zstd support 2018-04-25 23:39:04 +02:00
tar fs/tar: add support for xattrs (thus capabilties) 2018-11-20 23:28:07 +01:00
ubi fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
ubifs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
yaffs2 fs/yaffs2: fix code style 2018-04-01 07:55:22 +02:00
common.mk core: add per-package and per-filesystem show-info 2019-04-15 23:47:22 +02:00
Config.in fs/f2fs: add support for creating a f2fs image 2018-11-03 15:14:47 +01:00