Remove useless products

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-08-29 15:49:59 +02:00
parent a412f91488
commit 323b628d95
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -50,20 +50,6 @@
_config=$(basename $(find $_workdir -name '*.json' ! -name 'manifest.json' -type f))
ls $out/layers/ | jq -Rsc '{ layers: split("\n")[:-1] }' > $out/index.json
cat >> $out/index.html <<EOF
<html>
<body>
<a href="manifest.json">manifest.json</a><br>
<a href="$_config">config.json</a><br>
EOF
jq -r '.layers | join("\n")' < $out/index.json | xargs -I {} awk 'BEGIN { print "<a href=\"layers/{}\">{}</a><br>" }' >> $out/index.html
cat >> $out/index.html <<EOF
</body>
</html>
EOF
cp $_workdir/manifest.json $out/manifest.json
cp $_workdir/$_config $out/$_config
@ -75,9 +61,6 @@
file manifest $out/manifest.json
file config $out/$_config
file html $out/layers/index.html
file json $out/layers/index.json
file executable $out/stream
EOF
'' ;