From a7162d309e31a627b9ef0e55ba2d62673a0196ac Mon Sep 17 00:00:00 2001 From: Enderson Maia Date: Wed, 17 Apr 2024 13:26:47 +0100 Subject: [PATCH] feat(24.04) add slice for crun and uidmap --- slices/crun.yaml | 13 +++++++++++++ slices/libaudit-common.yaml | 6 ++++++ slices/libaudit1.yaml | 10 ++++++++++ slices/libcap-ng0.yaml | 9 +++++++++ slices/libcap2.yaml | 9 +++++++++ slices/libgcrypt20.yaml | 10 ++++++++++ slices/libgpg-error0.yaml | 10 ++++++++++ slices/liblz4-1.yaml | 8 ++++++++ slices/libseccomp2.yaml | 8 ++++++++ slices/libsubid4.yaml | 10 ++++++++++ slices/libsystemd0.yaml | 13 +++++++++++++ slices/libyajl2.yaml | 8 ++++++++ slices/uidmap.yaml | 12 ++++++++++++ 13 files changed, 126 insertions(+) create mode 100644 slices/crun.yaml create mode 100644 slices/libaudit-common.yaml create mode 100644 slices/libaudit1.yaml create mode 100644 slices/libcap-ng0.yaml create mode 100644 slices/libcap2.yaml create mode 100644 slices/libgcrypt20.yaml create mode 100644 slices/libgpg-error0.yaml create mode 100644 slices/liblz4-1.yaml create mode 100644 slices/libseccomp2.yaml create mode 100644 slices/libsubid4.yaml create mode 100644 slices/libsystemd0.yaml create mode 100644 slices/libyajl2.yaml create mode 100644 slices/uidmap.yaml diff --git a/slices/crun.yaml b/slices/crun.yaml new file mode 100644 index 000000000..d74c0a769 --- /dev/null +++ b/slices/crun.yaml @@ -0,0 +1,13 @@ +package: crun + +slices: + bins: + essential: + - libc6_libs + - libcap2_libs + - libseccomp2_libs + - libsystemd0_libs + - libyajl2_libs + contents: + /usr/bin/crun: + /usr/lib/*-linux-*/libcrun.a: diff --git a/slices/libaudit-common.yaml b/slices/libaudit-common.yaml new file mode 100644 index 000000000..5a068dd16 --- /dev/null +++ b/slices/libaudit-common.yaml @@ -0,0 +1,6 @@ +package: libaudit-common + +slices: + config: + contents: + /etc/libaudit.conf: diff --git a/slices/libaudit1.yaml b/slices/libaudit1.yaml new file mode 100644 index 000000000..351a42921 --- /dev/null +++ b/slices/libaudit1.yaml @@ -0,0 +1,10 @@ +package: libaudit1 + +slices: + libs: + essential: + - libc6_libs + - libaudit-common_config + - libcap-ng0_libs + contents: + /usr/lib/*-linux-*/libaudit.so.1*: diff --git a/slices/libcap-ng0.yaml b/slices/libcap-ng0.yaml new file mode 100644 index 000000000..9f54b6dd9 --- /dev/null +++ b/slices/libcap-ng0.yaml @@ -0,0 +1,9 @@ +package: libcap-ng0 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libcap-ng.so.0*: + /usr/lib/*-linux-*/libdrop_ambient.so.0*: diff --git a/slices/libcap2.yaml b/slices/libcap2.yaml new file mode 100644 index 000000000..94eafc102 --- /dev/null +++ b/slices/libcap2.yaml @@ -0,0 +1,9 @@ +package: libcap2 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libcap.so.2*: + /usr/lib/*-linux-*/libpsx.so.2*: diff --git a/slices/libgcrypt20.yaml b/slices/libgcrypt20.yaml new file mode 100644 index 000000000..ae01d2beb --- /dev/null +++ b/slices/libgcrypt20.yaml @@ -0,0 +1,10 @@ +# LGPL Crypto library - runtime library +package: libgcrypt20 + +slices: + libs: + essential: + - libc6_libs + - libgpg-error0_libs + contents: + /usr/lib/*-linux-*/libgcrypt.so.20*: \ No newline at end of file diff --git a/slices/libgpg-error0.yaml b/slices/libgpg-error0.yaml new file mode 100644 index 000000000..bdcf033c2 --- /dev/null +++ b/slices/libgpg-error0.yaml @@ -0,0 +1,10 @@ +# Library that defines common error values, messages, and common +# runtime functionality for all GnuPG components. +package: libgpg-error0 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libgpg-error.so.0*: \ No newline at end of file diff --git a/slices/liblz4-1.yaml b/slices/liblz4-1.yaml new file mode 100644 index 000000000..e3f568849 --- /dev/null +++ b/slices/liblz4-1.yaml @@ -0,0 +1,8 @@ +package: liblz4-1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/liblz4.so.1*: diff --git a/slices/libseccomp2.yaml b/slices/libseccomp2.yaml new file mode 100644 index 000000000..5e5ea15ba --- /dev/null +++ b/slices/libseccomp2.yaml @@ -0,0 +1,8 @@ +package: libseccomp2 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libseccomp.so.2*: diff --git a/slices/libsubid4.yaml b/slices/libsubid4.yaml new file mode 100644 index 000000000..236092e54 --- /dev/null +++ b/slices/libsubid4.yaml @@ -0,0 +1,10 @@ +package: libsubid4 + +slices: + libs: + essential: + - libc6_libs + - libaudit1_libs + - libselinux1_libs + contents: + /usr/lib/*-linux-*/libsubid.so.4*: \ No newline at end of file diff --git a/slices/libsystemd0.yaml b/slices/libsystemd0.yaml new file mode 100644 index 000000000..66031f5cf --- /dev/null +++ b/slices/libsystemd0.yaml @@ -0,0 +1,13 @@ +package: libsystemd0 + +slices: + libs: + essential: + - libc6_libs + - libcap2_libs + - libgcrypt20_libs + - liblz4-1_libs + - liblzma5_libs + - libzstd1_libs + contents: + /usr/lib/*-linux-*/libsystemd.so.0*: diff --git a/slices/libyajl2.yaml b/slices/libyajl2.yaml new file mode 100644 index 000000000..78e847c98 --- /dev/null +++ b/slices/libyajl2.yaml @@ -0,0 +1,8 @@ +package: libyajl2 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libyajl.so.2*: diff --git a/slices/uidmap.yaml b/slices/uidmap.yaml new file mode 100644 index 000000000..a34e8559d --- /dev/null +++ b/slices/uidmap.yaml @@ -0,0 +1,12 @@ +package: uidmap + +slices: + bins: + essential: + - libc6_libs + - libselinux1_libs + - libaudit1_libs + - libsubid4_libs + contents: + /usr/bin/newgidmap: + /usr/bin/newuidmap: