Skip to contentSkip to conversation

npm/npmsw fetchers: Support for "offline" builds?

DISCUSSION Christian Eggers 5 participants 9 messages Nov 20, 2023

lore
Share & tools
lore
#0 lore raw

I would like to run my CI build on a machine without internet access. For this, I need to download all sources in advance:

bitbake <my images> --runall fetch
bitbake -c populate_sdk <my rootfs> --runall=fetch

When having NPM based application in my SDK (e.g. quicktype [1], recipe is attached), the "fetch" tasks perform a full build of nodejs before starting the actual download of the quicktype sources. But building nodejs (and its dependencies) during the "fetch" stage, compromises my wish to perform the actual build in an offline environment.

Is it possible to download the necessary sources for quicktype without prior building of nodejs? Perhaps by either by ...

- using curl/wget instead of npm for fetching the sources?
- by taking npm from the host distribution (instead of building it)?

regards,
Christian

[1] https://quicktype.io/
_______________________________________________________
Christian
Eggers
Software Engineer
​
ARRI
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG Arriweg 17,
83071
Stephanskirchen
www.arri.com

+49 8036 3009-3118
[email protected]

​
Get all the latest information from www.arri.com, Facebook, Twitter, Instagram, LinkedIn and YouTube and X.

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477 Geschäftsführer: Dr. Matthias Erb (Chairman); Lars Weyer; Stephan Schenk; Walter Trauninger

​

SUMMARY = "Generate models and serializers from JSON, schema, and GraphQL for working with data quickly & safely in any programming language." HOMEPAGE = "https://quicktype.io/"
LICENSE = "Apache-2.0 & BSD-2-Clause & BSD-3-Clause & PD & MIT & ISC"

LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \
                    file://node_modules/@mark.probst/typescript-json-schema/LICENSE;md5=0b67423da558fa736d9ea82e9f7f8a74 \
                    file://node_modules/acorn/LICENSE;md5=f6e380cb54b7b0b1b2f8428b190f4f73 \
                    file://node_modules/ansi-regex/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/ansi-styles/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/array-back/LICENSE;md5=2613420a3157e6d11b6dbf4304a77ba9 \
                    file://node_modules/balanced-match/LICENSE.md;md5=7fa99ddc3424107350ca6e9a24552085 \
                    file://node_modules/brace-expansion/LICENSE;md5=a5df515ef062cc3affd8c0ae59c059ec \
                    file://node_modules/brfs/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/browser-or-node/LICENSE;md5=29050f388986652edb5d178a4e5605fe \
                    file://node_modules/buffer-from/LICENSE;md5=46513463e8f7d9eb671a243f0083b2c6 \
                    file://node_modules/camelcase/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/chalk/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/cliui/LICENSE.txt;md5=83623193d3051ca8068a89a455c699ca \
                    file://node_modules/code-point-at/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/collection-utils/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e \
                    file://node_modules/color-convert/LICENSE;md5=9bdadfc9fbb3ab8d5a6d591bdbd52811 \
                    file://node_modules/color-name/LICENSE;md5=d301869b39e08b33665b7c4f16b8e41d \
                    file://node_modules/command-line-args/LICENSE;md5=c1ddfa64fc29dd875f8ea043ca8f93e9 \
                    file://node_modules/command-line-usage/LICENSE;md5=c1d0f392d6113887beeee9e0de58693f \
                    file://node_modules/concat-map/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/concat-stream/LICENSE;md5=3ad90c134f824ddfcea611ee1fa567a8 \
                    file://node_modules/convert-source-map/LICENSE;md5=bf595075ff556bc46c43e08f142fa4f5 \
                    file://node_modules/core-util-is/LICENSE;md5=6126e36127d20ec0e2f637204a5c68ff \
                    file://node_modules/cross-spawn/LICENSE;md5=6046ffd2c9edcd9052bb4dd794d12f95 \
                    file://node_modules/decamelize/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/deep-extend/LICENSE;md5=827bb5781213ff1e9d2fe309bbfc0115 \
                    file://node_modules/deep-is/LICENSE;md5=fb19b42ee6322a4b61b6277fb9e13d89 \
                    file://node_modules/duplexer2/LICENSE.md;md5=2ac3dfdce5a77f9cff9b5f70d216d17d \
                    file://node_modules/encoding/LICENSE;md5=a9992d70215d97e8b82d289cec0c1ffa \
                    file://node_modules/end-of-stream/LICENSE;md5=9befe7026bf915886cd566a98117c80e \
                    file://node_modules/escape-string-regexp/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/escodegen/LICENSE.BSD;md5=e74cede38e957fe3e525b0e53a510bcf \
                    file://node_modules/esprima/LICENSE.BSD;md5=e3c825c932a984958bafbac21e21f984 \
                    file://node_modules/estraverse/LICENSE.BSD;md5=e74cede38e957fe3e525b0e53a510bcf \
                    file://node_modules/esutils/LICENSE.BSD;md5=e74cede38e957fe3e525b0e53a510bcf \
                    file://node_modules/execa/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/falafel/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/falafel/node_modules/isarray/LICENSE;md5=a5df515ef062cc3affd8c0ae59c059ec \
                    file://node_modules/fast-levenshtein/LICENSE.md;md5=a3e99e82761a3c89e44fe0bc43f82b94 \
                    file://node_modules/find-replace/LICENSE;md5=2613420a3157e6d11b6dbf4304a77ba9 \
                    file://node_modules/find-replace/node_modules/array-back/LICENSE;md5=fc20ee5849f94fb5da737859f9226d5a \
                    file://node_modules/find-up/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/foreach/LICENSE;md5=b2225091caf5effa363ef7016fa2b0ba \
                    file://node_modules/fs.realpath/LICENSE;md5=062470525c8e380f8567f665ef554d11 \
                    file://node_modules/function-bind/LICENSE;md5=e7417c1a8ad83f88bcac21ad440d48b2 \
                    file://node_modules/get-caller-file/LICENSE.md;md5=d21aa422a43e9693d50143d612b58967 \
                    file://node_modules/get-stream/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/glob/LICENSE;md5=c727d36f28f2762b1011dd483aa1a191 \
                    file://node_modules/graphql/LICENSE;md5=833914992eac6aa446395558eaa7bfb7 \
                    file://node_modules/has/LICENSE-MIT;md5=d000afc3c9ff3501a5610197db76a246 \
                    file://node_modules/has-flag/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/iconv-lite/LICENSE;md5=f942263d98f0d75e0e0101884e86261d \
                    file://node_modules/inflight/LICENSE;md5=90a3ca01a5efed8b813a81c6c8fa2e63 \
                    file://node_modules/inherits/LICENSE;md5=5b2ef2247af6d355ae9d9f988092d470 \
                    file://node_modules/invert-kv/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/is-core-module/LICENSE;md5=02b0fb5ff4014a08fd4193bc3e2349e2 \
                    file://node_modules/is-fullwidth-code-point/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/is-stream/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/is-url/LICENSE-MIT;md5=02923a2128d47ed2acf6bdef5ea58e37 \
                    file://node_modules/isexe/LICENSE;md5=82703a69f6d7411dde679954c2fd9dca \
                    file://node_modules/isomorphic-fetch/LICENSE;md5=fca6efcc9db8601df3166e16e15207c3 \
                    file://node_modules/isomorphic-fetch/node_modules/node-fetch/LICENSE.md;md5=89fabe2fb10f72e48c2b3be506237d1e \
                    file://node_modules/iterall/LICENSE;md5=0e88639dbc5b6587f3f3817161fcbf88 \
                    file://node_modules/js-base64/LICENSE.md;md5=7fb7031fc9f5f39701c0f3bab23af010 \
                    file://node_modules/json-stable-stringify/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/lcid/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/levn/LICENSE;md5=7733af876e78a187f3a51e7c276ae883 \
                    file://node_modules/locate-path/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/lodash/LICENSE;md5=8e2fca844c70b3833d7228885447c026 \
                    file://node_modules/lodash.padend/LICENSE;md5=a3b2b7770df62392c164de4001b59f8f \
                    file://node_modules/map-age-cleaner/license;md5=a775f12cfff35aa8881152fa96fb8d0a \
                    file://node_modules/mem/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/merge-source-map/LICENSE;md5=0ceb9034c469f8ce8f74ad9b7e61177c \
                    file://node_modules/merge-source-map/node_modules/source-map/LICENSE;md5=b1ca6dbc0075d56cbd9931a75566cd44 \
                    file://node_modules/mimic-fn/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/minimatch/LICENSE;md5=82703a69f6d7411dde679954c2fd9dca \
                    file://node_modules/minimist/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/moment/LICENSE;md5=397bb5fedab22612d8d69f1458a9321e \
                    file://node_modules/nice-try/LICENSE;md5=ae2c9097ed1d346901fdc318eff30d78 \
                    file://node_modules/node-fetch/LICENSE.md;md5=89fabe2fb10f72e48c2b3be506237d1e \
                    file://node_modules/npm-run-path/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/number-is-nan/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/object-inspect/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/object-keys/LICENSE;md5=0026e638d7d5c5f2768864ce0074f8ad \
                    file://node_modules/once/LICENSE;md5=82703a69f6d7411dde679954c2fd9dca \
                    file://node_modules/optionator/LICENSE;md5=7733af876e78a187f3a51e7c276ae883 \
                    file://node_modules/os-locale/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/p-defer/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/p-finally/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/p-is-promise/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/p-limit/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/p-locate/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/p-try/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/pako/LICENSE;md5=a4f08d6b2d1bf3f3a1bc296a6109a25b \
                    file://node_modules/path-exists/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/path-is-absolute/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/path-key/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/path-parse/LICENSE;md5=4b940f9668dfcb796d2cb98ad94692df \
                    file://node_modules/pluralize/LICENSE;md5=7eeeb5a4f2ac933c251575809e29300c \
                    file://node_modules/prelude-ls/LICENSE;md5=7733af876e78a187f3a51e7c276ae883 \
                    file://node_modules/process-nextick-args/license.md;md5=216769dac98a78ec088ee7cc6fad1dfa \
                    file://node_modules/pump/LICENSE;md5=9befe7026bf915886cd566a98117c80e \
                    file://node_modules/quote-stream/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/readable-stream/LICENSE;md5=a67a7926e54316d90c14f74f71080977 \
                    file://node_modules/readable-stream/node_modules/process-nextick-args/license.md;md5=216769dac98a78ec088ee7cc6fad1dfa \
                    file://node_modules/readable-stream/node_modules/string_decoder/LICENSE;md5=14af51f8c0a6c6e400b53e18c6e5f85c \
                    file://node_modules/reduce-flatten/LICENSE;md5=89b0669afc8c7ddb483a7cab7860548e \
                    file://node_modules/require-directory/LICENSE;md5=903997d26b12b72b43aa60018387bb90 \
                    file://node_modules/require-main-filename/LICENSE.txt;md5=8fd106383180f7bbb8f534414fdf7d35 \
                    file://node_modules/resolve/LICENSE;md5=baa47288b5bd3e657a01886ce3dd0cb6 \
                    file://node_modules/safe-buffer/LICENSE;md5=badd5e91c737e7ffdf10b40c1f907761 \
                    file://node_modules/safer-buffer/LICENSE;md5=3baebc2a17b8f5bff04882cd0dc0f76e \
                    file://node_modules/semver/LICENSE;md5=82703a69f6d7411dde679954c2fd9dca \
                    file://node_modules/set-blocking/LICENSE.txt;md5=8fd106383180f7bbb8f534414fdf7d35 \
                    file://node_modules/shallow-copy/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/shebang-command/license;md5=1801ea63a6ba2dfc429eb5f36d09e06f \
                    file://node_modules/shebang-regex/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/signal-exit/LICENSE.txt;md5=e29e20260a1c78dba16a233048565cde \
                    file://node_modules/source-map/LICENSE;md5=b1ca6dbc0075d56cbd9931a75566cd44 \
                    file://node_modules/static-eval/LICENSE;md5=17b15c42072231f9ebd9f287fc7793fc \
                    file://node_modules/static-eval/node_modules/escodegen/LICENSE.BSD;md5=cfaad9edcc0e58ef57eb2b4df5a00121 \
                    file://node_modules/static-eval/node_modules/esprima/LICENSE.BSD;md5=e3c825c932a984958bafbac21e21f984 \
                    file://node_modules/static-module/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/static-module/node_modules/readable-stream/LICENSE;md5=a67a7926e54316d90c14f74f71080977 \
                    file://node_modules/stream-chain/LICENSE;md5=48c5102ef717a1da65cc85f55c42f70a \
                    file://node_modules/stream-json/LICENSE;md5=5afefd2452b073c881a558f89735fb58 \
                    file://node_modules/string-to-stream/LICENSE;md5=fb42e5aa12bb9e365d38b4b5691d6984 \
                    file://node_modules/string-width/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/string_decoder/LICENSE;md5=14af51f8c0a6c6e400b53e18c6e5f85c \
                    file://node_modules/strip-ansi/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/strip-eof/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/supports-color/license;md5=915042b5df33c31a6db2b37eadaa00e3 \
                    file://node_modules/table-layout/LICENSE;md5=15a318bc4fd8f01eb4196c7418b4cb1c \
                    file://node_modules/test-value/LICENSE;md5=fc20ee5849f94fb5da737859f9226d5a \
                    file://node_modules/test-value/node_modules/array-back/LICENSE;md5=fc20ee5849f94fb5da737859f9226d5a \
                    file://node_modules/through2/LICENSE.md;md5=86fc40a92fe89e4ec72daa6fab2f9c21 \
                    file://node_modules/through2/node_modules/readable-stream/LICENSE;md5=a67a7926e54316d90c14f74f71080977 \
                    file://node_modules/tiny-inflate/LICENSE;md5=9e3a041ed5f3f1d795271af7b4f52159 \
                    file://node_modules/type-check/LICENSE;md5=7733af876e78a187f3a51e7c276ae883 \
                    file://node_modules/typedarray/LICENSE;md5=6085b70b74c7dcf7df4e955725e3153d \
                    file://node_modules/typescript/CopyrightNotice.txt;md5=435edc9bf4ec470ea6a28f258ecd7f52 \
                    file://node_modules/typescript/LICENSE.txt;md5=55a8748c7d5c7253f3e4bb7402ff04db \
                    file://node_modules/typical/LICENSE;md5=616a79a0ccc4cd477c5a06494d7c9206 \
                    file://node_modules/unicode-trie/node_modules/pako/LICENSE;md5=6b8c8aad0a85200097ec8f989636baf0 \
                    file://node_modules/urijs/LICENSE.txt;md5=208faacdc29d1dbd0fdbe20fbfcf7949 \
                    file://node_modules/util-deprecate/LICENSE;md5=b7c99ef4b0f3ad9911a52219947f8cf0 \
                    file://node_modules/uuid/LICENSE.md;md5=c9420736e23afb538ba5fbe44197f0b4 \
                    file://node_modules/vlq/LICENSE;md5=b2254373d77f8d68d1312f9eb402210f \
                    file://node_modules/webidl-conversions/LICENSE.md;md5=44d86433f305935cb0c3d3cd320e7a34 \
                    file://node_modules/whatwg-fetch/LICENSE;md5=aeee7dd4dc9409a4621a2d02147284f1 \
                    file://node_modules/whatwg-url/LICENSE.txt;md5=5ab9113efe10eeab888f7502d1c2e894 \
                    file://node_modules/which/LICENSE;md5=82703a69f6d7411dde679954c2fd9dca \
                    file://node_modules/which-module/LICENSE;md5=42624e59bd3dabedcca59e1b54e3af50 \
                    file://node_modules/word-wrap/LICENSE;md5=c8f80ed52c9074414e8a69541cdc1587 \
                    file://node_modules/wordwrap/LICENSE;md5=aea1cde69645f4b99be4ff7ca9abcce1 \
                    file://node_modules/wordwrapjs/LICENSE;md5=2613420a3157e6d11b6dbf4304a77ba9 \
                    file://node_modules/wrap-ansi/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/wrap-ansi/node_modules/ansi-regex/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/wrap-ansi/node_modules/string-width/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/wrap-ansi/node_modules/strip-ansi/license;md5=a12ebca0510a773644101a99a867d210 \
                    file://node_modules/wrappy/LICENSE;md5=82703a69f6d7411dde679954c2fd9dca \
                    file://node_modules/xtend/LICENSE;md5=66787c5cd698a0b30b358c7e30f500ca \
                    file://node_modules/y18n/LICENSE;md5=55e5f88040679148136545002139a8b1 \
                    file://node_modules/yaml/LICENSE;md5=f43d95a153ee2ee3d2169246bae2f14b \
                    file://node_modules/yargs/LICENSE;md5=becfe5b407a6b8b768960384631232c9 \
                    file://node_modules/yargs-parser/LICENSE.txt;md5=8fd106383180f7bbb8f534414fdf7d35 \
                    file://package.json;md5=d94f2e9082454bafd44ebbb41140f077 \
                    file://node_modules/@mark.probst/typescript-json-schema/package.json;md5=7be744186e8d9bc589a3537fee65503c \
                    file://node_modules/@mark.probst/unicode-properties/package.json;md5=6c121f2adbd42dd05cc33a52c6ef80b9 \
                    file://node_modules/acorn/package.json;md5=f4df9c4532d1d8b98d2403f383028cf2 \
                    file://node_modules/ansi-regex/package.json;md5=d7acde142774ab8845b52b59dbab92d4 \
                    file://node_modules/ansi-styles/package.json;md5=50f97f15be9377b1110c7a68f76fff0f \
                    file://node_modules/array-back/package.json;md5=6f53c28b58a70bda91da3673d813cd6b \
                    file://node_modules/balanced-match/package.json;md5=fa13802cf9109f23db7cc107f33cbf0a \
                    file://node_modules/brace-expansion/package.json;md5=effd91994b1b7ddb8a33060ad4541e6a \
                    file://node_modules/brfs/package.json;md5=2514d1b66ee2d280edf673452145df0c \
                    file://node_modules/browser-or-node/package.json;md5=49da96fa370f2705d14fff46e2ed5645 \
                    file://node_modules/buffer-equal/package.json;md5=8c5867543ce829daea20563905f68505 \
                    file://node_modules/buffer-from/package.json;md5=5d307ad7d2ccde25a82e944fb224ebe2 \
                    file://node_modules/camelcase/package.json;md5=31d66d63d07c9d3ab05757ac887e555b \
                    file://node_modules/chalk/package.json;md5=a21f60da989d4bf1cd5396df6c638a98 \
                    file://node_modules/cliui/package.json;md5=833c50be4572cd5d75b98b4c2a538b36 \
                    file://node_modules/code-point-at/package.json;md5=4e85e8a583ebac72e2065d9e576c92cf \
                    file://node_modules/collection-utils/package.json;md5=66fb3396940dfb332353fa68ff730c5a \
                    file://node_modules/color-convert/package.json;md5=51a202f6ab9b016f0f7219701f1f5e70 \
                    file://node_modules/color-name/package.json;md5=7599aecb8597ca603c711d49a83dab59 \
                    file://node_modules/command-line-args/package.json;md5=c842fdc9bf2cf72936204989a2ab91f4 \
                    file://node_modules/command-line-usage/package.json;md5=222a5fbac7668bf243e1b273e097f484 \
                    file://node_modules/concat-map/package.json;md5=85d8a674998927862b17adef4aa6a7b1 \
                    file://node_modules/concat-stream/package.json;md5=61caf8dd4ec0cd0fe58d27f28dc499d1 \
                    file://node_modules/convert-source-map/package.json;md5=f0df68581711c15f53d31c92d10b845a \
                    file://node_modules/core-util-is/package.json;md5=ce4cfe45404dea29ac581e68ba998ecc \
                    file://node_modules/cross-spawn/package.json;md5=916737048c596ce06c92128f5c188742 \
                    file://node_modules/decamelize/package.json;md5=494b4faeb16e12979e988b49de7684d6 \
                    file://node_modules/deep-extend/package.json;md5=843d8bcf451f015c3a6b3930e0b6eaee \
                    file://node_modules/deep-is/package.json;md5=94a3d6fcba92a0be65e34b4ee45a69e8 \
                    file://node_modules/duplexer2/package.json;md5=4eb79ce818182efe036989dc61691910 \
                    file://node_modules/encoding/package.json;md5=86287e8ff03616352dde34f4d1f87a7e \
                    file://node_modules/end-of-stream/package.json;md5=36be3e35e3740830415138528c4237d4 \
                    file://node_modules/escape-string-regexp/package.json;md5=6050cf06c06dcb38dce670ff96b21aa9 \
                    file://node_modules/escodegen/package.json;md5=79feba5f4f85109cbf84598fe572016f \
                    file://node_modules/esprima/package.json;md5=749f1091cf5bd58fa9e8d34ea19574bb \
                    file://node_modules/estraverse/package.json;md5=7046f02ae6e8ae55b27f236ad1a9649f \
                    file://node_modules/esutils/package.json;md5=fd59d94811d2143cd317e51fc1b8e3e3 \
                    file://node_modules/execa/package.json;md5=b14eefcf052ebdb86371fac485cd8e5d \
                    file://node_modules/falafel/node_modules/isarray/package.json;md5=7efcba14ed8a9ab09e4c277b21936b7a \
                    file://node_modules/falafel/package.json;md5=6b78551db4f83986810cac337cfeaaa2 \
                    file://node_modules/fast-levenshtein/package.json;md5=d35b9aae1427262e3eecd92beadd93a7 \
                    file://node_modules/find-replace/node_modules/array-back/package.json;md5=25116030244f33c235cbde398814f513 \
                    file://node_modules/find-replace/package.json;md5=e54785e21fefc8eef05cb87c2e590517 \
                    file://node_modules/find-up/package.json;md5=ef55d36c375ead3172f98f4f4655419e \
                    file://node_modules/foreach/package.json;md5=a01d1df68e94076fe2a3c72b92a7b661 \
                    file://node_modules/fs.realpath/package.json;md5=3aa3d67ce378e330e293496dd3b9a506 \
                    file://node_modules/function-bind/package.json;md5=f453e26c8d3482b4c3736f53303b4ec5 \
                    file://node_modules/get-caller-file/package.json;md5=28d7830f0080c10a7a680f82a0faac37 \
                    file://node_modules/get-stream/package.json;md5=a9999627668552d0afc9661299ee601c \
                    file://node_modules/glob/package.json;md5=4e6fa4c445ac2568ca23fc13b2a39e4c \
                    file://node_modules/graphql/package.json;md5=537e5ef7ece06209ef14bb18bf857c34 \
                    file://node_modules/has/package.json;md5=2fee243336ba5aeebed1e0145472cd49 \
                    file://node_modules/has-flag/package.json;md5=73cc8d1e96c19ce85a7abb8f9468a86c \
                    file://node_modules/iconv-lite/package.json;md5=549e620fd864ffd8abf14bea34a2d7ce \
                    file://node_modules/inflight/package.json;md5=85ba25624378c23e1ee9b33d3d103bf0 \
                    file://node_modules/inherits/package.json;md5=f73908dab55d4259f3ed052ce9fb2fbb \
                    file://node_modules/invert-kv/package.json;md5=3ff5c671b10a31cc20eb10f43c88a7a0 \
                    file://node_modules/is-core-module/package.json;md5=52b3be31bbd64740ff6dbd1c87d4a495 \
                    file://node_modules/is-fullwidth-code-point/package.json;md5=e199d7053a4c1508b8654c3965a58b20 \
                    file://node_modules/is-stream/package.json;md5=85ba3dbdbccd3e5f8505dd02a538db06 \
                    file://node_modules/is-url/package.json;md5=321c67d4ee61c2c86607dcabf25ff309 \
                    file://node_modules/isarray/package.json;md5=a490f11007b2cc9d19c4a250592c2e71 \
                    file://node_modules/isexe/package.json;md5=b7340828ee0e123814f9b855953de714 \
                    file://node_modules/isomorphic-fetch/node_modules/node-fetch/package.json;md5=553f35e957f48f5a8478f8265fa57799 \
                    file://node_modules/isomorphic-fetch/package.json;md5=c324efaef9a045f4199adff2bbc23f47 \
                    file://node_modules/iterall/package.json;md5=34bdbca237fb401245af6a61dd742882 \
                    file://node_modules/js-base64/package.json;md5=c2b4c6fa095c1e1d1c1c21a480dfb042 \
                    file://node_modules/json-stable-stringify/package.json;md5=1dbe798eb3166c30676d76d9d0ecc249 \
                    file://node_modules/jsonify/package.json;md5=4d6afd81aded57a3818e2bc4327c8868 \
                    file://node_modules/lcid/package.json;md5=3111e27b5939c2989ce545b0ac8edaaa \
                    file://node_modules/levn/package.json;md5=2d755c2552dec6775de6ba470c1130eb \
                    file://node_modules/locate-path/package.json;md5=a3beabab01f511b388b76801632e0ef6 \
                    file://node_modules/lodash/package.json;md5=188f386c15507c982c3e0d5a2db5b60d \
                    file://node_modules/lodash.padend/package.json;md5=a00b7a298d91f05f574b467ac30eb59b \
                    file://node_modules/magic-string/package.json;md5=1ddfdca13c0c0554b99bfa2a9293a388 \
                    file://node_modules/map-age-cleaner/package.json;md5=e23807677e64af31d5414e511af75d0f \
                    file://node_modules/mem/package.json;md5=4c58b48790fea1a0df6d449f0508e773 \
                    file://node_modules/merge-source-map/node_modules/source-map/package.json;md5=7d1d048f81843bb704a2c69b3bcf3018 \
                    file://node_modules/merge-source-map/package.json;md5=77f3644f2028f973fe4cd007908a6802 \
                    file://node_modules/mimic-fn/package.json;md5=b1982703f9d28bda97282ecd1399df51 \
                    file://node_modules/minimatch/package.json;md5=b763d93b18d070a6449399d2e92d8c32 \
                    file://node_modules/minimist/package.json;md5=84505571ecc56b8071068f44de7c79b2 \
                    file://node_modules/moment/package.json;md5=5d9728f5a9fc2ae272061e8b08757505 \
                    file://node_modules/nice-try/package.json;md5=231f69dd25df732ba25c841f15ef1cd1 \
                    file://node_modules/node-fetch/package.json;md5=ef6a1723498708af975e3f9299978efb \
                    file://node_modules/npm-run-path/package.json;md5=accdf7ebabfc9ba8d04808f263d0b89e \
                    file://node_modules/number-is-nan/package.json;md5=2b5b5a279c98be57ebafdaa605a14584 \
                    file://node_modules/object-inspect/package.json;md5=bc0703b08d10514e50475aae25d95504 \
                    file://node_modules/object-keys/package.json;md5=f008c51545b8133eebae07e2046d241f \
                    file://node_modules/once/package.json;md5=afb6ea3bdcad6397e11a71615bd06e3b \
                    file://node_modules/optionator/package.json;md5=1ca878efe9f14a5a74b677f3909776a4 \
                    file://node_modules/os-locale/package.json;md5=49d94aee3c66c22ae6a634f6776b7f56 \
                    file://node_modules/p-defer/package.json;md5=18fcafe6b02428f735f35e36eff7f1a8 \
                    file://node_modules/p-finally/package.json;md5=48bdb4e7489f258943b736ea0487bd13 \
                    file://node_modules/p-is-promise/package.json;md5=672442e5832808171a56253b31a464d7 \
                    file://node_modules/p-limit/package.json;md5=05ea6bd0b1f47d88b1328a020729de28 \
                    file://node_modules/p-locate/package.json;md5=602118ccca6207d1f7f1ca4639be5ab2 \
                    file://node_modules/p-try/package.json;md5=c3ec2260c0b640c43f15e99e4fa7b593 \
                    file://node_modules/pako/package.json;md5=313da501a381d9a74ba74a95100a44a4 \
                    file://node_modules/path-exists/package.json;md5=914ca2e089e5356c9b42652cc96ba260 \
                    file://node_modules/path-is-absolute/package.json;md5=ef6e018bdf67b82ab1285bc799b5367b \
                    file://node_modules/path-key/package.json;md5=a9bda66c8caf7e0ac15a63d36c72f535 \
                    file://node_modules/path-parse/package.json;md5=e225588668693d527d2a82f0db68088c \
                    file://node_modules/pluralize/package.json;md5=7cbf12d598424f8a945935e7a2dbd526 \
                    file://node_modules/prelude-ls/package.json;md5=3cc64486b87ad251ccce2d0b817ad7c4 \
                    file://node_modules/process-nextick-args/package.json;md5=6bd1fff965ff97b4aff54e6b4e382ed0 \
                    file://node_modules/pump/package.json;md5=aaae9cf98124b7abea552bfa6b4ec7d5 \
                    file://node_modules/quote-stream/package.json;md5=d2ee293ac9e7f5a5fa518d982b596db7 \
                    file://node_modules/readable-stream/node_modules/process-nextick-args/package.json;md5=333915c9adf7622e21223958d9b4650e \
                    file://node_modules/readable-stream/node_modules/string_decoder/package.json;md5=0ad782f961f15a738a10c1321a1460b7 \
                    file://node_modules/readable-stream/package.json;md5=60359e3b617c1b6f33f12c47367ff218 \
                    file://node_modules/reduce-flatten/package.json;md5=ca638518528d3dbde3012de4df5d126e \
                    file://node_modules/require-directory/package.json;md5=77d2cd39b67ccdf73bfc037d229cf0f8 \
                    file://node_modules/require-main-filename/package.json;md5=2ee14064e9bc0f188f29365afff7ab2c \
                    file://node_modules/resolve/package.json;md5=4b824b9e44bae4d06d457f8eed27ff40 \
                    file://node_modules/safe-buffer/package.json;md5=bd7ef6f38f0ba20882d2601bd3ecaf11 \
                    file://node_modules/safer-buffer/package.json;md5=274d956f400350c9f6cf96d22cdda227 \
                    file://node_modules/semver/package.json;md5=735f6ede2a644d292066a9813d8b9da6 \
                    file://node_modules/set-blocking/package.json;md5=e37224b4c865b4464d6d41b1f8a870a4 \
                    file://node_modules/shallow-copy/package.json;md5=13891e74b4e677cf77e62be84e0fb6d1 \
                    file://node_modules/shebang-command/package.json;md5=e3e9b8da6c97c9b272d0dfbaefaca5ca \
                    file://node_modules/shebang-regex/package.json;md5=d0ffe7f7078a4ff229a06822fb3ced86 \
                    file://node_modules/signal-exit/package.json;md5=c3707ed007d40f7e32a28f4a523816e9 \
                    file://node_modules/source-map/package.json;md5=5f7feb368962c3130c5accf22ffd047c \
                    file://node_modules/static-eval/node_modules/escodegen/package.json;md5=274f504792dbac57ff14ff2ff722faba \
                    file://node_modules/static-eval/node_modules/esprima/package.json;md5=0394ebc64b1f0c98e6b1e3fd65c2ee37 \
                    file://node_modules/static-eval/package.json;md5=4313c2b27e252a1090fe14bdd142b586 \
                    file://node_modules/static-module/node_modules/readable-stream/package.json;md5=55d646ab9e50735393b18c874d0bd5ab \
                    file://node_modules/static-module/package.json;md5=5e71f4b369f7244f0933ccf16b12bb43 \
                    file://node_modules/stream-chain/package.json;md5=2e1051fbb7ae286316d999ed2b1915a0 \
                    file://node_modules/stream-json/package.json;md5=9db55f4b2c41072b371d2cc661cc8633 \
                    file://node_modules/string-to-stream/package.json;md5=ff199131a563a46438c02254196cba52 \
                    file://node_modules/string-width/package.json;md5=9e0cb0da60820ee09789b5537fee5d81 \
                    file://node_modules/string_decoder/package.json;md5=4a56e8c1789fe3bc13c55f8fec7e3ce2 \
                    file://node_modules/strip-ansi/package.json;md5=75c599f3b1853e4b8f25db1fb10881e1 \
                    file://node_modules/strip-eof/package.json;md5=04e04cb47dd8a9978d7e12d08da68c39 \
                    file://node_modules/supports-color/package.json;md5=79d88f702d689c72ebe1798d2853a96e \
                    file://node_modules/table-layout/package.json;md5=29b9b809b2552100c137bd676fa92e20 \
                    file://node_modules/test-value/node_modules/array-back/package.json;md5=25116030244f33c235cbde398814f513 \
                    file://node_modules/test-value/package.json;md5=0c3eba95196e77f6defd0a53fe11f659 \
                    file://node_modules/through2/node_modules/readable-stream/package.json;md5=55d646ab9e50735393b18c874d0bd5ab \
                    file://node_modules/through2/package.json;md5=c584f7fcdc313c175710c330eff82712 \
                    file://node_modules/tiny-inflate/package.json;md5=1a87762e48195e5c3c81e833e0460521 \
                    file://node_modules/tr46/package.json;md5=36ce158498fb4f35c9a42edb60665bbe \
                    file://node_modules/type-check/package.json;md5=73bed18b048b3ae9e3d3496e4fd4f2af \
                    file://node_modules/typedarray/package.json;md5=252085c44894a63cd58d8c343f2ba589 \
                    file://node_modules/typescript/package.json;md5=acc3e2797dc83a6529482fedf5d44997 \
                    file://node_modules/typical/package.json;md5=0779a06d69646806db0f0a45cfe47926 \
                    file://node_modules/unicode-trie/node_modules/pako/package.json;md5=7445f115aef220a5177b5e02c5306436 \
                    file://node_modules/unicode-trie/package.json;md5=7591763acb3fccd1d37c7c1f189a6840 \
                    file://node_modules/urijs/package.json;md5=e4dab61fe66de26e3b37d65e8c6552bf \
                    file://node_modules/util-deprecate/package.json;md5=73e6c3ff1709538c921d13a75cae485d \
                    file://node_modules/uuid/package.json;md5=a114f1fa334f6add6b4e4b8c0ca6057b \
                    file://node_modules/vlq/package.json;md5=add7fdd7ba8a8833d2d7ebadcf2077d4 \
                    file://node_modules/webidl-conversions/package.json;md5=d7bd86551914eb9227e095c120c44a20 \
                    file://node_modules/whatwg-fetch/package.json;md5=6600255bf5274b189ec6cb33a513ac03 \
                    file://node_modules/whatwg-url/package.json;md5=6e30b7bcedf322ac0d987b6a02d1918a \
                    file://node_modules/which/package.json;md5=9db3fcd8026f288ba3aaad83200f5a35 \
                    file://node_modules/which-module/package.json;md5=b4ab6a39c5e86263ade16635797218d2 \
                    file://node_modules/word-wrap/package.json;md5=66ca9ca5c5cc8228664502f5eaaca60c \
                    file://node_modules/wordwrap/package.json;md5=de042387ba8d3842c4c36e626516e03c \
                    file://node_modules/wordwrapjs/package.json;md5=ed43e20ce679b92821bf347fe9cc8b02 \
                    file://node_modules/wrap-ansi/node_modules/ansi-regex/package.json;md5=fbd3a8909a47de214c7288046091267c \
                    file://node_modules/wrap-ansi/node_modules/is-fullwidth-code-point/package.json;md5=6bd5a684a5081f2d099cb800cf53ebd6 \
                    file://node_modules/wrap-ansi/node_modules/string-width/package.json;md5=97dfb4a5985832f6a8c070ca4481b96c \
                    file://node_modules/wrap-ansi/node_modules/strip-ansi/package.json;md5=0b615dc471f5f434dd297c8655ed0c7f \
                    file://node_modules/wrap-ansi/package.json;md5=1ea40ca7800b0656e6fdf08ec2787947 \
                    file://node_modules/wrappy/package.json;md5=788804d507f3ed479ea7614fa7d3f1a5 \
                    file://node_modules/xtend/package.json;md5=9a88dd08c469a5a8b2ea15f999bf5db8 \
                    file://node_modules/y18n/package.json;md5=8257402a42ebdf07c8246fbd3bc7a312 \
                    file://node_modules/yaml/package.json;md5=b777e909af1dd36b761a5e88df2ce9f2 \
                    file://node_modules/yargs/package.json;md5=2788b0454e2252335ee88add2972183f \
                    file://node_modules/yargs-parser/package.json;md5=3ebb04559ef0340e0bc70d65e89fee28"
SRC_URI = " \
    npm://registry.npmjs.org/;package=quicktype;version=${PV} \
    npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json \
    "

S = "${WORKDIR}/npm"

inherit npm

LICENSE:${PN} = "Apache-2.0" LICENSE:${PN}-markprobst-typescript-json-schema = "BSD-3-Clause" LICENSE:${PN}-markprobst-unicode-properties = "MIT" LICENSE:${PN}-acorn = "MIT"
LICENSE:${PN}-ansi-regex = "MIT" LICENSE:${PN}-ansi-styles = "MIT" LICENSE:${PN}-array-back = "MIT" LICENSE:${PN}-balanced-match = "MIT" LICENSE:${PN}-brace-expansion = "MIT" LICENSE:${PN}-brfs = "MIT" LICENSE:${PN}-browser-or-node = "MIT" LICENSE:${PN}-buffer-equal = "MIT" LICENSE:${PN}-buffer-from = "MIT" LICENSE:${PN}-camelcase = "MIT"
LICENSE:${PN}-chalk = "MIT"
LICENSE:${PN}-cliui = "ISC" LICENSE:${PN}-code-point-at = "MIT" LICENSE:${PN}-collection-utils = "Apache-2.0" LICENSE:${PN}-color-convert = "MIT" LICENSE:${PN}-color-name = "MIT" LICENSE:${PN}-command-line-args = "MIT" LICENSE:${PN}-command-line-usage = "MIT" LICENSE:${PN}-concat-map = "MIT" LICENSE:${PN}-concat-stream = "MIT" LICENSE:${PN}-convert-source-map = "MIT" LICENSE:${PN}-core-util-is = "MIT" LICENSE:${PN}-cross-spawn = "MIT" LICENSE:${PN}-decamelize = "MIT" LICENSE:${PN}-deep-extend = "MIT" LICENSE:${PN}-deep-is = "MIT"
LICENSE:${PN}-duplexer2 = "BSD-3-Clause" LICENSE:${PN}-encoding = "MIT" LICENSE:${PN}-end-of-stream = "MIT" LICENSE:${PN}-escape-string-regexp = "MIT" LICENSE:${PN}-escodegen = "BSD-2-Clause" LICENSE:${PN}-esprima = "BSD-2-Clause" LICENSE:${PN}-estraverse = "BSD-2-Clause" LICENSE:${PN}-esutils = "BSD-2-Clause" LICENSE:${PN}-execa = "MIT" LICENSE:${PN}-falafel-isarray = "MIT" LICENSE:${PN}-falafel = "MIT" LICENSE:${PN}-fast-levenshtein = "MIT" LICENSE:${PN}-find-replace-array-back = "MIT" LICENSE:${PN}-find-replace = "MIT" LICENSE:${PN}-find-up = "MIT"
LICENSE:${PN}-foreach = "MIT"
LICENSE:${PN}-fsrealpath = "ISC & MIT" LICENSE:${PN}-function-bind = "MIT" LICENSE:${PN}-get-caller-file = "ISC" LICENSE:${PN}-get-stream = "MIT"
LICENSE:${PN}-glob = "ISC"
LICENSE:${PN}-graphql = "MIT"
LICENSE:${PN}-has = "MIT"
LICENSE:${PN}-has-flag = "MIT" LICENSE:${PN}-iconv-lite = "MIT" LICENSE:${PN}-inflight = "ISC"
LICENSE:${PN}-inherits = "ISC"
LICENSE:${PN}-invert-kv = "MIT" LICENSE:${PN}-is-core-module = "MIT" LICENSE:${PN}-is-fullwidth-code-point = "MIT" LICENSE:${PN}-is-stream = "MIT"
LICENSE:${PN}-is-url = "MIT"
LICENSE:${PN}-isarray = "MIT"
LICENSE:${PN}-isexe = "ISC" LICENSE:${PN}-isomorphic-fetch-node-fetch = "MIT" LICENSE:${PN}-isomorphic-fetch = "MIT" LICENSE:${PN}-iterall = "MIT"
LICENSE:${PN}-js-base64 = "BSD-3-Clause" LICENSE:${PN}-json-stable-stringify = "MIT" LICENSE:${PN}-jsonify = "PD"
LICENSE:${PN}-lcid = "MIT"
LICENSE:${PN}-levn = "MIT"
LICENSE:${PN}-locate-path = "MIT"
LICENSE:${PN}-lodash = "MIT" LICENSE:${PN}-lodashpadend = "MIT" LICENSE:${PN}-magic-string = "MIT" LICENSE:${PN}-map-age-cleaner = "MIT" LICENSE:${PN}-mem = "MIT" LICENSE:${PN}-merge-source-map-source-map = "BSD-3-Clause" LICENSE:${PN}-merge-source-map = "MIT" LICENSE:${PN}-mimic-fn = "MIT"
LICENSE:${PN}-minimatch = "ISC"
LICENSE:${PN}-minimist = "MIT"
LICENSE:${PN}-moment = "MIT"
LICENSE:${PN}-nice-try = "MIT" LICENSE:${PN}-node-fetch = "MIT" LICENSE:${PN}-npm-run-path = "MIT" LICENSE:${PN}-number-is-nan = "MIT" LICENSE:${PN}-object-inspect = "MIT" LICENSE:${PN}-object-keys = "MIT"
LICENSE:${PN}-once = "ISC"
LICENSE:${PN}-optionator = "MIT" LICENSE:${PN}-os-locale = "MIT"
LICENSE:${PN}-p-defer = "MIT"
LICENSE:${PN}-p-finally = "MIT" LICENSE:${PN}-p-is-promise = "MIT" LICENSE:${PN}-p-limit = "MIT"
LICENSE:${PN}-p-locate = "MIT"
LICENSE:${PN}-p-try = "MIT"
LICENSE:${PN}-pako = "MIT"
LICENSE:${PN}-path-exists = "MIT" LICENSE:${PN}-path-is-absolute = "MIT" LICENSE:${PN}-path-key = "MIT" LICENSE:${PN}-path-parse = "MIT" LICENSE:${PN}-pluralize = "MIT" LICENSE:${PN}-prelude-ls = "MIT" LICENSE:${PN}-process-nextick-args = "MIT" LICENSE:${PN}-pump = "MIT"
LICENSE:${PN}-quote-stream = "MIT" LICENSE:${PN}-readable-stream-process-nextick-args = "MIT" LICENSE:${PN}-readable-stream-stringdecoder = "MIT" LICENSE:${PN}-readable-stream = "MIT" LICENSE:${PN}-reduce-flatten = "MIT" LICENSE:${PN}-require-directory = "MIT" LICENSE:${PN}-require-main-filename = "ISC" LICENSE:${PN}-resolve = "MIT" LICENSE:${PN}-safe-buffer = "MIT" LICENSE:${PN}-safer-buffer = "MIT" LICENSE:${PN}-semver = "ISC" LICENSE:${PN}-set-blocking = "ISC" LICENSE:${PN}-shallow-copy = "MIT" LICENSE:${PN}-shebang-command = "MIT" LICENSE:${PN}-shebang-regex = "MIT" LICENSE:${PN}-signal-exit = "ISC" LICENSE:${PN}-source-map = "BSD-3-Clause" LICENSE:${PN}-static-eval-escodegen = "BSD-2-Clause" LICENSE:${PN}-static-eval-esprima = "BSD-2-Clause" LICENSE:${PN}-static-eval = "MIT" LICENSE:${PN}-static-module-readable-stream = "MIT" LICENSE:${PN}-static-module = "MIT" LICENSE:${PN}-stream-chain = "BSD-3-Clause" LICENSE:${PN}-stream-json = "BSD-3-Clause" LICENSE:${PN}-string-to-stream = "MIT" LICENSE:${PN}-string-width = "MIT" LICENSE:${PN}-stringdecoder = "MIT" LICENSE:${PN}-strip-ansi = "MIT" LICENSE:${PN}-strip-eof = "MIT" LICENSE:${PN}-supports-color = "MIT" LICENSE:${PN}-table-layout = "MIT" LICENSE:${PN}-test-value-array-back = "MIT" LICENSE:${PN}-test-value = "MIT" LICENSE:${PN}-through2-readable-stream = "MIT" LICENSE:${PN}-through2 = "MIT" LICENSE:${PN}-tiny-inflate = "MIT"
LICENSE:${PN}-tr46 = "MIT"
LICENSE:${PN}-type-check = "MIT" LICENSE:${PN}-typedarray = "MIT" LICENSE:${PN}-typescript = "Apache-2.0" LICENSE:${PN}-typical = "MIT" LICENSE:${PN}-unicode-trie-pako = "MIT" LICENSE:${PN}-unicode-trie = "MIT"
LICENSE:${PN}-urijs = "MIT" LICENSE:${PN}-util-deprecate = "MIT" LICENSE:${PN}-uuid = "MIT"
LICENSE:${PN}-vlq = "MIT" LICENSE:${PN}-webidl-conversions = "BSD-2-Clause" LICENSE:${PN}-whatwg-fetch = "MIT" LICENSE:${PN}-whatwg-url = "MIT"
LICENSE:${PN}-which = "ISC"
LICENSE:${PN}-which-module = "ISC" LICENSE:${PN}-word-wrap = "MIT"
LICENSE:${PN}-wordwrap = "MIT" LICENSE:${PN}-wordwrapjs = "MIT" LICENSE:${PN}-wrap-ansi-ansi-regex = "MIT" LICENSE:${PN}-wrap-ansi-is-fullwidth-code-point = "MIT" LICENSE:${PN}-wrap-ansi-string-width = "MIT" LICENSE:${PN}-wrap-ansi-strip-ansi = "MIT" LICENSE:${PN}-wrap-ansi = "MIT"
LICENSE:${PN}-wrappy = "ISC"
LICENSE:${PN}-xtend = "MIT"
LICENSE:${PN}-y18n = "ISC"
LICENSE:${PN}-yaml = "ISC"
LICENSE:${PN}-yargs = "MIT"
LICENSE:${PN}-yargs-parser = "ISC"

RDEPENDS:${PN}:append:class-nativesdk = " nodejs"

BBCLASSEXTEND = "native nativesdk"

#1 lore raw
Quoted 6 lines · Christian Eggers

When having NPM based application in my SDK (e.g. quicktype [1], recipe is attached), the "fetch" tasks perform a full build of nodejs before starting the actual download of the quicktype sources. But building nodejs (and its dependencies) during the "fetch" stage, compromises my wish to perform the actual build in an offline environment.

I'm not sure I understand what is being compromised here. If you want an offline build, throw away the sstate cache that was created in the fetching step, and nodejs will be again rebuilt together with everything else.

Alex

#2 lore raw

Hi Alex,

On Monday, 20 November 2023, 12:05:28 CET, Alexander Kanavin wrote:

_______________________________________________________
Christian
Eggers
Software Engineer
​
ARRI
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG Arriweg 17,
83071
Stephanskirchen
www.arri.com

+49 8036 3009-3118
[email protected]

​
Get all the latest information from www.arri.com, Facebook, Twitter, Instagram, LinkedIn and YouTube and X.

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477 Geschäftsführer: Dr. Matthias Erb (Chairman); Lars Weyer; Stephan Schenk; Walter Trauninger

​

Quoted 9 lines · Christian Eggers
Quoted 7 lines

When having NPM based application in my SDK (e.g. quicktype [1], recipe is attached), the "fetch" tasks perform a full build of nodejs before starting the actual download of the quicktype sources. But building nodejs (and its dependencies) during the "fetch" stage, compromises my wish to perform the actual build in an offline environment.

Quoted 3 lines

I'm not sure I understand what is being compromised here. If you want an offline build, throw away the sstate cache that was created in the fetching step, and nodejs will be again rebuilt together with everything else.

my intend is to run as few build scripts as possible as long as the build machine has access to the internet. For security reasons I would like to divide the build into two stages, one stage for downloading (with internet access enabled) and one stage for compiling (without internet access).

While I highly trust the OpenEmbedded/Yocto projects, I fear that single upstream projects may become targets for supply chain attacks in the future. Running the package Makefiles/scripts etc. on a machine (e.g. docker) without network access reduces the possibility for manipulated packages to retrieve internal secrets and upload them to the internet.

Are there any other use cases why people want to perform an "offline" build?

regards,
Christian

#3 lore raw
Quoted 17 lines · Christian Eggers

my intend is to run as few build scripts as possible as long as the build machine has access to the internet. For security reasons I would like to divide
the build into two stages, one stage for downloading (with internet access enabled)
and one stage for compiling (without internet access).

While I highly trust the OpenEmbedded/Yocto projects, I fear that single upstream
projects may become targets for supply chain attacks in the future. Running the package Makefiles/scripts etc. on a machine (e.g. docker) without network
access reduces the possibility for manipulated packages to retrieve internal
secrets and upload them to the internet.

Quoted 3 lines

Are there any other use cases why people want to perform an "offline" build?

Depending on whether your yocto version is recent enough, all tasks other than fetch already run with network disabled. You can try it yourself: try using wget from do_configure, and it's going to fail.

I think you can also set FETCHCMD_npm if you trust host distro vendor processes (that you can't audit) more than you trust OE build process. Even then, you still need to trust a compiler to build a compiler.

Alex

#5 lore raw
In reply to Christian Eggers

Am Montag, dem 20.11.2023 um 13:19 +0100 schrieb Christian Eggers:

Quoted 44 lines

Hi Alex,

Quoted 1 line · Alexander Kanavin

On Mon, 20 Nov 2023 at 11:59, Christian Eggers <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

When having NPM based application in my SDK (e.g. quicktype [1],

recipe is

Quoted 1 line
Quoted 1 line

attached), the "fetch" tasks perform a full build of nodejs

before starting

Quoted 1 line
Quoted 1 line

the actual download of the quicktype sources. But building nodejs

(and its

Quoted 1 line
Quoted 1 line

dependencies) during the "fetch" stage, compromises my wish to

perform the

Quoted 4 lines
Quoted 2 lines

actual build in an offline environment.

I'm not sure I understand what is being compromised here. If you

want an

Quoted 1 line

offline build, throw away the sstate cache that was created in the

fetching

Quoted 1 line

step, and nodejs will be again rebuilt together with everything

else.

my intend is to run as few build scripts as possible as long as the build
machine has access to the internet. For security reasons I would like to divide
the build into two stages, one stage for downloading (with internet access enabled)
and one stage for compiling (without internet access).

While I highly trust the OpenEmbedded/Yocto projects, I fear that single upstream
projects may become targets for supply chain attacks in the future. Running
the package Makefiles/scripts etc. on a machine (e.g. docker) without network
access reduces the possibility for manipulated packages to retrieve internal
secrets and upload them to the internet.

Quoted 3 lines

Are there any other use cases why people want to perform an "offline" build?

At least offline builds are useful for release builds to make sure no recipe tries to bypass the normal fetch logic. We saw this several times in the past with silicon vendor stuff - recipes tried to fetch things during configuration or as part of compilation.

Another thing I can imagine are builds against an internal PREMIRROR for several reasons.

regards
Markus

Quoted 3 lines

regards,
Christian

Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
#6 lore raw
Quoted 49 lines · Markus Niebel

Am Montag, dem 20.11.2023 um 13:19 +0100 schrieb Christian Eggers:

Quoted 44 lines

Hi Alex,

Quoted 1 line · Alexander Kanavin

On Mon, 20 Nov 2023 at 11:59, Christian Eggers <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

When having NPM based application in my SDK (e.g. quicktype [1],

recipe is

Quoted 1 line
Quoted 1 line

attached), the "fetch" tasks perform a full build of nodejs

before starting

Quoted 1 line
Quoted 1 line

the actual download of the quicktype sources. But building nodejs

(and its

Quoted 1 line
Quoted 1 line

dependencies) during the "fetch" stage, compromises my wish to

perform the

Quoted 4 lines
Quoted 2 lines

actual build in an offline environment.

I'm not sure I understand what is being compromised here. If you

want an

Quoted 1 line

offline build, throw away the sstate cache that was created in the

fetching

Quoted 1 line

step, and nodejs will be again rebuilt together with everything

else.

my intend is to run as few build scripts as possible as long as the build
machine has access to the internet. For security reasons I would like to divide
the build into two stages, one stage for downloading (with internet access enabled)
and one stage for compiling (without internet access).

While I highly trust the OpenEmbedded/Yocto projects, I fear that single upstream
projects may become targets for supply chain attacks in the future. Running
the package Makefiles/scripts etc. on a machine (e.g. docker) without network
access reduces the possibility for manipulated packages to retrieve internal
secrets and upload them to the internet.

Quoted 3 lines

Are there any other use cases why people want to perform an "offline" build?

Quoted 8 lines

At least offline builds are useful for release builds to make sure no recipe tries to bypass the normal fetch logic. We saw this several times in the past with silicon vendor stuff - recipes tried to fetch things during configuration or as part of compilation.

Another thing I can imagine are builds against an internal PREMIRROR for several reasons.

Yes, but bitbake and oe do that automatically (even in "online" build) now with following changes:

bitbake can now restrict network access in various tasks based on
"network" flag as implemented in:

https://git.openembedded.org/bitbake/commit/?id=0746b6a2a32fec4c18bf1a52b1454ca4c04bf543

https://git.openembedded.org/bitbake/commit/?id=9d6341df611a1725090444f6f8eb0244aed08213
and oe now enables network mostly only in do_fetch and few special
tasks as implemented in:

https://git.openembedded.org/openembedded-core/commit/?id=7ce1e88a3ad85bbb925bb9f7167dc0a5fd1c27f4

so unless your evil vendor doesn't enable network flag on (m)any tasks, they shouldn't be able to bypass the normal fetch logic.

#7 lore raw
Quoted 69 lines · Martin Jansa
Quoted 49 lines · Markus Niebel

Am Montag, dem 20.11.2023 um 13:19 +0100 schrieb Christian Eggers:

Quoted 44 lines

Hi Alex,

Quoted 1 line · Alexander Kanavin

On Mon, 20 Nov 2023 at 11:59, Christian Eggers <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

When having NPM based application in my SDK (e.g. quicktype [1],

recipe is

Quoted 1 line
Quoted 1 line

attached), the "fetch" tasks perform a full build of nodejs

before starting

Quoted 1 line
Quoted 1 line

the actual download of the quicktype sources. But building nodejs

(and its

Quoted 1 line
Quoted 1 line

dependencies) during the "fetch" stage, compromises my wish to

perform the

Quoted 4 lines
Quoted 2 lines

actual build in an offline environment.

I'm not sure I understand what is being compromised here. If you

want an

Quoted 1 line

offline build, throw away the sstate cache that was created in the

fetching

Quoted 1 line

step, and nodejs will be again rebuilt together with everything

else.

my intend is to run as few build scripts as possible as long as the build
machine has access to the internet. For security reasons I would like to divide
the build into two stages, one stage for downloading (with internet access enabled)
and one stage for compiling (without internet access).

While I highly trust the OpenEmbedded/Yocto projects, I fear that single upstream
projects may become targets for supply chain attacks in the future. Running
the package Makefiles/scripts etc. on a machine (e.g. docker) without network
access reduces the possibility for manipulated packages to retrieve internal
secrets and upload them to the internet.

Quoted 3 lines

Are there any other use cases why people want to perform an "offline" build?

Quoted 8 lines

At least offline builds are useful for release builds to make sure no recipe tries to bypass the normal fetch logic. We saw this several times in the past with silicon vendor stuff - recipes tried to fetch things during configuration or as part of compilation.

Another thing I can imagine are builds against an internal PREMIRROR for several reasons.

Yes, but bitbake and oe do that automatically (even in "online" build) now with following changes:

bitbake can now restrict network access in various tasks based on
"network" flag as implemented in:

https://git.openembedded.org/bitbake/commit/?id=0746b6a2a32fec4c18bf1a52b1454ca4c04bf543

Quoted 8 lines

https://git.openembedded.org/bitbake/commit/?id=9d6341df611a1725090444f6f8eb0244aed08213
and oe now enables network mostly only in do_fetch and few special
tasks as implemented in:

https://git.openembedded.org/openembedded-core/commit/?id=7ce1e88a3ad85bbb925bb9f7167dc0a5fd1c27f4

so unless your evil vendor doesn't enable network flag on (m)any tasks, they shouldn't be able to bypass the normal fetch logic.

If I had known all this before, this would have saved me some time for the complex setup of my (docker) build pipeline ...

With my concrete intend to improve security on my build machine, being able to ensure/enforce this behavior would be great (bb.utils.disable_network only produces a debug message if unshare() returned an error).

_______________________________________________________
Christian
Eggers
Software Engineer
​
ARRI
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG Arriweg 17,
83071
Stephanskirchen
www.arri.com

+49 8036 3009-3118
[email protected]

​
Get all the latest information from www.arri.com, Facebook, Twitter, Instagram, LinkedIn and YouTube and X.

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477 Geschäftsführer: Dr. Matthias Erb (Chairman); Lars Weyer; Stephan Schenk; Walter Trauninger

​

#4 lore raw
In reply to Alexander Kanavin

On Monday, 20 November 2023, 13:47:56 CET, Alexander Kanavin wrote:

_______________________________________________________
Christian
Eggers
Software Engineer
​
ARRI
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG Arriweg 17,
83071
Stephanskirchen
www.arri.com

+49 8036 3009-3118
[email protected]

​
Get all the latest information from www.arri.com, Facebook, Twitter, Instagram, LinkedIn and YouTube and X.

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRA 57918 Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik GmbH
Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 54477 Geschäftsführer: Dr. Matthias Erb (Chairman); Lars Weyer; Stephan Schenk; Walter Trauninger

​

Quoted 19 lines · Christian Eggers
Quoted 18 lines

my intend is to run as few build scripts as possible as long as the build machine has access to the internet. For security reasons I would like to divide
the build into two stages, one stage for downloading (with internet access enabled)
and one stage for compiling (without internet access).

While I highly trust the OpenEmbedded/Yocto projects, I fear that single upstream
projects may become targets for supply chain attacks in the future. Running the package Makefiles/scripts etc. on a machine (e.g. docker) without network
access reduces the possibility for manipulated packages to retrieve internal
secrets and upload them to the internet.

Quoted 7 lines
Quoted 3 lines

Are there any other use cases why people want to perform an "offline" build?

Depending on whether your yocto version is recent enough, all tasks other than fetch already run with network disabled. You can try it yourself: try using wget from do_configure, and it's going to fail.

ok, I just found "utils: Add disable_network function" [1]. This is already in kirkstone (the version I currently use). I guess that this has been introduced for ensuring that recipe don't fetch data outside of SRC_URI. But it could also prevent malicious Makefiles from phoning home.

Quoted 4 lines

I think you can also set FETCHCMD_npm if you trust host distro vendor processes (that you can't audit) more than you trust OE build process. Even then, you still need to trust a compiler to build a compiler.

I have to rethink whether splitting my CI into "download" and "build" still makes sense (being able to ensure the disable_network functionality would help here). Deciding who should I trust more is indeed a complex question. But giving my shell to hundreds of upstream package maintainers without ensuring at least basic security sounds a little bit like the past century...

Quoted 3 lines

Alex

[1] https://patchwork.yoctoproject.org/project/bitbake/patch/[email protected]/

#8 lore raw
In reply to Christian Eggers
Quoted 154 lines · Christian Eggers
Quoted 7 lines · Martin Jansa
Quoted 3 lines · Markus Niebel

Am Montag, dem 20.11.2023 um 13:19 +0100 schrieb Christian Eggers:

Quoted 1 line
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Hi Alex,

Quoted 1 line · Alexander Kanavin

_______________________________________________________​ Christian
Eggers

Software Engineer
​

ARRI
Arnold & Richter Cine Technik GmbH & Co. Betriebs KG

Arriweg 17 ,
83071
Stephanskirchen

www.arri.com

+49 8036 3009-3118
[email protected]

​

SkyPanel X
Get all the latest information from
www.arri.com, Facebook, Twitter, Instagram, LinkedIn and YouTube and X.

Arnold & Richter Cine Technik GmbH & Co. Betriebs KG
Sitz: München ‑ Registergericht: Amtsgericht München ‑ Handelsregiste rnummer: HRA 57918
Persönlich haftender Gesellschafter: Arnold & Richter Cine Technik Gm bH
Sitz: München ‑ Registergericht: Amtsgericht München ‑ Handelsregiste rnummer: HRB 54477
Geschäftsführer: Dr. Matthias Erb (Chairman); Lars Weyer; Stephan Sch enk; Walter Trauninger

​

On Mon, 20 Nov 2023 at 11:59, Christian Eggers <[email protected]>

Quoted 84 lines
Quoted 64 lines
Quoted 51 lines
Quoted 3 lines · wrote:
Quoted 3 lines

When having NPM based application in my SDK (e.g. quicktype [1],

recipe is

Quoted 1 line
Quoted 1 line

attached), the "fetch" tasks perform a full build of nodejs

before starting

Quoted 2 lines
Quoted 2 lines

the actual download of the quicktype sources. But building nodejs

(and its

Quoted 2 lines
Quoted 2 lines

dependencies) during the "fetch" stage, compromises my wish to

perform the

Quoted 5 lines
Quoted 2 lines

actual build in an offline environment.

I'm not sure I understand what is being compromised here. If you

want an

Quoted 2 lines

offline build, throw away the sstate cache that was created in the

fetching

Quoted 2 lines

step, and nodejs will be again rebuilt together with everything

else.

my intend is to run as few build scripts as possible as long as the
build
machine has access to the internet. For security reasons I would like
to divide
the build into two stages, one stage for downloading (with internet
access enabled)
and one stage for compiling (without internet access).

While I highly trust the OpenEmbedded/Yocto projects, I fear that
single upstream
projects may become targets for supply chain attacks in the future.
Running
the package Makefiles/scripts etc. on a machine (e.g. docker) without
network
access reduces the possibility for manipulated packages to retrieve
internal
secrets and upload them to the internet.

Quoted 4 lines

Are there any other use cases why people want to perform an "offline"
build?

At least offline builds are useful for release builds to make sure no
recipe tries to bypass the normal fetch logic. We saw this several
times in the past with silicon vendor stuff - recipes tried to fetch
things during configuration or as part of compilation.

Quoted 4 lines

Another thing I can imagine are builds against an internal PREMIRROR
for several reasons.

Yes, but bitbake and oe do that automatically (even in "online" build) now
with following changes:

     bitbake can now restrict network access in various tasks based on
"network" flag as implemented in:

https://git.openembedded.org/bitbake/commit/?id=0746b6a2a32fec4c18bf1a52b1454ca4c04bf543

https://git.openembedded.org/bitbake/commit/?id=9d6341df611a1725090444f6f8eb0244aed08213
    and oe now enables network mostly only in do_fetch and few special
tasks as implemented in:

Quoted 5 lines

https://git.openembedded.org/openembedded-core/commit/?id=7ce1e88a3ad85bbb925bb9f7167dc0a5fd1c27f4

so unless your evil vendor doesn't enable network flag on (m)any tasks,
they shouldn't be able to bypass the normal fetch logic.

If I had known all this before, this would have saved me some time for the
complex setup of my (docker) build pipeline ...

Quoted 5 lines

With my concrete intend to improve security on my build machine, being able
to ensure/enforce this behavior would be great (bb.utils.disable_network only
produces a debug message if unshare() returned an error).

When we implemented it, some of the commonly used distros we build on don't support it so we couldn't hard require it. I'd imagine that will change over time as the support improves. This was a compromise to allow us to improve but not force everyone into upgrading their host systems.

Cheers,

Richard