-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(24.04): Add nodejs slice (#121)
- Loading branch information
Linostar
authored
Feb 7, 2024
1 parent
a8808a7
commit afadfc2
Showing
12 changed files
with
151 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package: libatomic1 | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libatomic.so.1*: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package: libbrotli1 | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libbrotlicommon.so.1*: | ||
/usr/lib/*-linux-*/libbrotlidec.so.1*: | ||
/usr/lib/*-linux-*/libbrotlienc.so.1*: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package: libc-ares2 | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libcares.so.2*: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package: libnghttp2-14 | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libnghttp2.so.14*: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package: libnode108 | ||
|
||
slices: | ||
libs: | ||
essential: | ||
# The chisel tool does not support per-architecture packages | ||
# libatomic1 is only required on mips* and riscv64 | ||
# - libatomic1_libs | ||
- libbrotli1_libs | ||
- libc-ares2_libs | ||
- libc6_libs | ||
- libgcc-s1_libs | ||
- libicu72_libs | ||
- libnghttp2-14_libs | ||
- libssl3_libs | ||
- libstdc++6_libs | ||
- libuv1_libs | ||
- node-acorn_libs | ||
- node-cjs-module-lexer_libs | ||
- node-undici_libs | ||
- zlib1g_libs | ||
contents: | ||
/usr/lib/*-linux-*/libnode.so.108: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package: libuv1 | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libuv.so.1*: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package: node-acorn | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- node-xtend_libs | ||
contents: | ||
# basically avoiding all the .map files (line tables) and unittest drivers | ||
/usr/share/nodejs/acorn-bigint/index.js: | ||
/usr/share/nodejs/acorn-bigint/package.json: | ||
/usr/share/nodejs/acorn-class-fields/index.js: | ||
/usr/share/nodejs/acorn-class-fields/package.json: | ||
/usr/share/nodejs/acorn-dynamic-import/**: | ||
/usr/share/nodejs/acorn-export-ns-from/index.js: | ||
/usr/share/nodejs/acorn-export-ns-from/package.json: | ||
/usr/share/nodejs/acorn-globals/**: | ||
/usr/share/nodejs/acorn-import-assertions/**: | ||
/usr/share/nodejs/acorn-import-meta/index.js: | ||
/usr/share/nodejs/acorn-import-meta/package.json: | ||
/usr/share/nodejs/acorn-jsx/**: | ||
/usr/share/nodejs/acorn-loose/**: | ||
/usr/share/nodejs/acorn-node/**: | ||
/usr/share/nodejs/acorn-numeric-separator/**.js: | ||
/usr/share/nodejs/acorn-numeric-separator/dist/*.mjs: | ||
/usr/share/nodejs/acorn-numeric-separator/package.json: | ||
/usr/share/nodejs/acorn-private-class-elements/**: | ||
/usr/share/nodejs/acorn-private-methods/**.js: | ||
/usr/share/nodejs/acorn-private-methods/dist/*.mjs: | ||
/usr/share/nodejs/acorn-private-methods/package.json: | ||
/usr/share/nodejs/acorn-static-class-features/index.js: | ||
/usr/share/nodejs/acorn-static-class-features/package.json: | ||
/usr/share/nodejs/acorn-walk/dist/*.js: | ||
/usr/share/nodejs/acorn-walk/dist/*.mjs: | ||
/usr/share/nodejs/acorn-walk/package.json: | ||
/usr/share/nodejs/acorn/dist/acorn.js: | ||
/usr/share/nodejs/acorn/dist/acorn.mjs: | ||
/usr/share/nodejs/acorn/package.json: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package: node-busboy | ||
|
||
slices: | ||
libs: | ||
contents: | ||
/usr/share/nodejs/busboy/lib/**: | ||
/usr/share/nodejs/busboy/package.json: | ||
/usr/share/nodejs/streamsearch/**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package: node-cjs-module-lexer | ||
|
||
slices: | ||
libs: | ||
contents: | ||
/usr/share/nodejs/cjs-module-lexer/*.js: | ||
/usr/share/nodejs/cjs-module-lexer/*.json: | ||
/usr/share/nodejs/cjs-module-lexer/dist/**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package: node-undici | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- node-busboy_libs | ||
contents: | ||
/usr/share/nodejs/binary-search/*.js: | ||
/usr/share/nodejs/undici/index-fetch.js: | ||
/usr/share/nodejs/undici/index.js: | ||
/usr/share/nodejs/undici/lib/**.js: | ||
/usr/share/nodejs/undici/package.json: | ||
/usr/share/nodejs/undici/undici-fetch.js: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package: node-xtend | ||
|
||
slices: | ||
libs: | ||
contents: | ||
/usr/share/nodejs/xtend/**: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package: nodejs | ||
|
||
slices: | ||
bins: | ||
essential: | ||
- libc6_libs | ||
# libatomic1_libs is a depndency of libnode108_libs that's required only on | ||
# mips* and riscv64, so uncomment its line from libnode108.yaml if you are | ||
# targetting any of those architectures | ||
- libnode108_libs | ||
contents: | ||
/usr/bin/js: {symlink: /usr/bin/nodejs} | ||
/usr/bin/node: | ||
/usr/bin/nodejs: |