Skip to content

Commit

Permalink
feat(24.04): add erlang slices (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
linostar authored Nov 21, 2024
1 parent a21bd0e commit 6ba20f9
Show file tree
Hide file tree
Showing 18 changed files with 440 additions and 0 deletions.
22 changes: 22 additions & 0 deletions slices/erlang-asn1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
package: erlang-asn1

essential:
- erlang-asn1_copyright

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/erlang/lib/asn1-*/priv/**:

modules:
essential:
- erlang-base_bins
- erlang-base_modules
contents:
/usr/lib/erlang/lib/asn1-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-asn1/copyright:
45 changes: 45 additions & 0 deletions slices/erlang-base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
package: erlang-base

essential:
- erlang-base_copyright

slices:
bins:
essential:
- bash_bins
- coreutils_bins
- erlang-base_modules
- libc6_libs
- libgcc-s1_libs
- libreadline8t64_libs
- libstdc++6_libs
- libsystemd0_libs
- libtinfo6_libs
- zlib1g_libs
contents:
/usr/bin/epmd:
/usr/bin/erl:
/usr/bin/erl_call:
/usr/bin/erlc:
/usr/bin/escript:
/usr/bin/run_erl:
/usr/bin/start_embedded:
/usr/bin/to_erl:
/usr/lib/erlang/bin/**:
/usr/lib/erlang/erts-*/bin/**:
/usr/lib/erlang/lib/erl_interface-*/bin/erl_call:

modules:
contents:
/usr/lib/erlang/lib/compiler-*/ebin/**:
/usr/lib/erlang/lib/erts-*/ebin/**:
/usr/lib/erlang/lib/kernel-*/ebin/**:
/usr/lib/erlang/lib/kernel-*/include/**:
/usr/lib/erlang/lib/sasl-*/ebin/**:
/usr/lib/erlang/lib/stdlib-*/ebin/**:
/usr/lib/erlang/lib/stdlib-*/include/**:
/usr/lib/erlang/releases/**:

copyright:
contents:
/usr/share/doc/erlang-base/copyright:
23 changes: 23 additions & 0 deletions slices/erlang-crypto.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package: erlang-crypto

essential:
- erlang-crypto_copyright

slices:
libs:
essential:
- libc6_libs
- libssl3t64_libs
contents:
/usr/lib/erlang/lib/crypto-*/priv/lib/**:

modules:
essential:
- erlang-base_bins
- erlang-base_modules
contents:
/usr/lib/erlang/lib/crypto-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-crypto/copyright:
19 changes: 19 additions & 0 deletions slices/erlang-eldap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package: erlang-eldap

essential:
- erlang-eldap_copyright

slices:
modules:
essential:
- erlang-asn1_libs
- erlang-asn1_modules
- erlang-base_bins
- erlang-base_modules
- erlang-ssl_modules
contents:
/usr/lib/erlang/lib/eldap-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-eldap/copyright:
19 changes: 19 additions & 0 deletions slices/erlang-ftp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package: erlang-ftp

essential:
- erlang-ftp_copyright

slices:
modules:
essential:
- erlang-base_bins
- erlang-base_modules
- erlang-runtime-tools_libs
- erlang-runtime-tools_modules
- erlang-ssl_modules
contents:
/usr/lib/erlang/lib/ftp-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-ftp/copyright:
27 changes: 27 additions & 0 deletions slices/erlang-inets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package: erlang-inets

essential:
- erlang-inets_copyright

slices:
scripts:
contents:
/usr/lib/erlang/lib/inets-*/priv/bin/runcgi.sh:

modules:
essential:
- erlang-base_bins
- erlang-base_modules
- erlang-ftp_modules
- erlang-mnesia_modules
- erlang-runtime-tools_libs
- erlang-runtime-tools_modules
- erlang-ssl_modules
- erlang-tftp_modules
contents:
/usr/lib/erlang/lib/inets-*/ebin/**:
/usr/lib/erlang/lib/inets-*/include/**:

copyright:
contents:
/usr/share/doc/erlang-inets/copyright:
16 changes: 16 additions & 0 deletions slices/erlang-mnesia.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package: erlang-mnesia

essential:
- erlang-mnesia_copyright

slices:
modules:
essential:
- erlang-base_bins
- erlang-base_modules
contents:
/usr/lib/erlang/lib/mnesia-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-mnesia/copyright:
25 changes: 25 additions & 0 deletions slices/erlang-os-mon.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
package: erlang-os-mon

essential:
- erlang-os-mon_copyright

slices:
bins:
essential:
- erlang-os-mon_modules
contents:
/usr/lib/erlang/lib/os_mon-*/priv/**:

modules:
essential:
- erlang-base_bins
- erlang-base_modules
- erlang-mnesia_modules
- erlang-snmp_bins
- libc6_libs
contents:
/usr/lib/erlang/lib/os_mon-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-os-mon/copyright:
16 changes: 16 additions & 0 deletions slices/erlang-parsetools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package: erlang-parsetools

essential:
- erlang-parsetools_copyright

slices:
modules:
essential:
- erlang-base_bins
- erlang-base_modules
contents:
/usr/lib/erlang/lib/parsetools-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-parsetools/copyright:
20 changes: 20 additions & 0 deletions slices/erlang-public-key.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package: erlang-public-key

essential:
- erlang-public-key_copyright

slices:
modules:
essential:
- erlang-asn1_libs
- erlang-asn1_modules
- erlang-base_bins
- erlang-base_modules
- erlang-crypto_libs
- erlang-crypto_modules
contents:
/usr/lib/erlang/lib/public_key-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-public-key/copyright:
23 changes: 23 additions & 0 deletions slices/erlang-runtime-tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package: erlang-runtime-tools

essential:
- erlang-runtime-tools_copyright

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/erlang/lib/runtime_tools-*/priv/**:

modules:
essential:
- erlang-base_bins
- erlang-base_modules
- erlang-mnesia_modules
contents:
/usr/lib/erlang/lib/runtime_tools-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-runtime-tools/copyright:
39 changes: 39 additions & 0 deletions slices/erlang-snmp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package: erlang-snmp

essential:
- erlang-snmp_copyright

slices:
bins:
essential:
- erlang-base_bins
- erlang-base_modules
- erlang-crypto_libs
- erlang-crypto_modules
- erlang-mnesia_modules
- erlang-runtime-tools_libs
- erlang-runtime-tools_modules
- erlang-snmp_config
- erlang-snmp_data
- erlang-snmp_modules
contents:
/usr/bin/snmpc:
/usr/lib/erlang/lib/snmp-*/bin/snmpc:

config:
contents:
/usr/lib/erlang/lib/snmp-*/priv/conf/**:

data:
contents:
/usr/lib/erlang/lib/snmp-*/mibs/**:
/usr/lib/erlang/lib/snmp-*/priv/mibs/**:

modules:
contents:
/usr/lib/erlang/lib/snmp-*/ebin/**:
/usr/lib/erlang/lib/snmp-*/include/**:

copyright:
contents:
/usr/share/doc/erlang-snmp/copyright:
21 changes: 21 additions & 0 deletions slices/erlang-ssl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package: erlang-ssl

essential:
- erlang-ssl_copyright

slices:
modules:
essential:
- erlang-base_bins
- erlang-base_modules
- erlang-crypto_libs
- erlang-crypto_modules
- erlang-public-key_modules
- erlang-runtime-tools_libs
- erlang-runtime-tools_modules
contents:
/usr/lib/erlang/lib/ssl-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-ssl/copyright:
17 changes: 17 additions & 0 deletions slices/erlang-syntax-tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package: erlang-syntax-tools

essential:
- erlang-syntax-tools_copyright

slices:
modules:
essential:
- erlang-base_bins
- erlang-base_modules
contents:
/usr/lib/erlang/lib/syntax_tools-*/ebin/**:
/usr/lib/erlang/lib/syntax_tools-*/include/**:

copyright:
contents:
/usr/share/doc/erlang-syntax-tools/copyright:
16 changes: 16 additions & 0 deletions slices/erlang-tftp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package: erlang-tftp

essential:
- erlang-tftp_copyright

slices:
modules:
essential:
- erlang-base_bins
- erlang-base_modules
contents:
/usr/lib/erlang/lib/tftp-*/ebin/**:

copyright:
contents:
/usr/share/doc/erlang-tftp/copyright:
23 changes: 23 additions & 0 deletions slices/erlang-tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package: erlang-tools

essential:
- erlang-tools_copyright

slices:
emacs-plugins:
contents:
/usr/lib/erlang/lib/tools-*/emacs/**:

modules:
essential:
- erlang-base_bins
- erlang-base_modules
- erlang-runtime-tools_libs
- erlang-runtime-tools_modules
contents:
/usr/lib/erlang/lib/tools-*/ebin/**:
/usr/lib/erlang/lib/tools-*/priv/**:

copyright:
contents:
/usr/share/doc/erlang-tools/copyright:
Loading

0 comments on commit 6ba20f9

Please sign in to comment.