Skip to content

Commit

Permalink
feat(24.04): add 'copyright' slice to all SDFs (#228)
Browse files Browse the repository at this point in the history
* fix(noble): libc-ares2 is now libcares2
  • Loading branch information
cjdcordeiro authored May 3, 2024
1 parent 34bad35 commit 5797b6d
Show file tree
Hide file tree
Showing 87 changed files with 617 additions and 9 deletions.
7 changes: 7 additions & 0 deletions slices/aspnetcore-runtime-8.0.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
package: aspnetcore-runtime-8.0

essential:
- aspnetcore-runtime-8.0_copyright

slices:
libs:
essential:
- dotnet-runtime-8.0_libs
contents:
/usr/lib/dotnet/shared/Microsoft.AspNetCore.App/8.0*/**:

copyright:
contents:
/usr/share/doc/aspnetcore-runtime-8.0/copyright:
7 changes: 7 additions & 0 deletions slices/base-files.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: base-files

essential:
- base-files_copyright

slices:
base:
essential:
Expand Down Expand Up @@ -62,3 +65,7 @@ slices:
/etc/lsb-release:
/etc/os-release:
/usr/lib/os-release:

copyright:
contents:
/usr/share/doc/base-files/copyright:
7 changes: 7 additions & 0 deletions slices/base-passwd.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: base-passwd

essential:
- base-passwd_copyright

slices:
data:
contents:
Expand All @@ -12,3 +15,7 @@ slices:
content.write("/etc/group", gr)
pw = content.read("/usr/share/base-passwd/passwd.master")
content.write("/etc/passwd", pw)
copyright:
contents:
/usr/share/doc/base-passwd/copyright:
7 changes: 7 additions & 0 deletions slices/bash.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: bash

essential:
- bash_copyright

slices:
config:
contents:
Expand All @@ -19,3 +22,7 @@ slices:
/usr/bin/bashbug:
/usr/bin/clear_console:
/usr/bin/rbash:

copyright:
contents:
/usr/share/doc/bash/copyright:
7 changes: 7 additions & 0 deletions slices/ca-certificates.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: ca-certificates

essential:
- ca-certificates_copyright

slices:
data:
contents:
Expand All @@ -12,3 +15,7 @@ slices:
content.read(certs_dir + path) for path in content.list(certs_dir)
]
content.write("/etc/ssl/certs/ca-certificates.crt", "".join(certs))
copyright:
contents:
/usr/share/doc/ca-certificates/copyright:
7 changes: 7 additions & 0 deletions slices/coreutils.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: coreutils

essential:
- coreutils_copyright

slices:
libs:
essential:
Expand Down Expand Up @@ -125,3 +128,7 @@ slices:
/usr/bin/whoami:
/usr/bin/yes:
/usr/sbin/chroot:

copyright:
contents:
/usr/share/doc/coreutils/copyright:
7 changes: 7 additions & 0 deletions slices/curl.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: curl

essential:
- curl_copyright

slices:
bins:
essential:
Expand All @@ -8,3 +11,7 @@ slices:
- zlib1g_libs
contents:
/usr/bin/curl:

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

essential:
- dash_copyright

slices:
bins:
essential:
- libc6_libs
contents:
/usr/bin/dash:
/usr/bin/sh:

copyright:
contents:
/usr/share/doc/dash/copyright:
7 changes: 7 additions & 0 deletions slices/dotnet-host-8.0.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: dotnet-host-8.0

essential:
- dotnet-host-8.0_copyright

slices:
bins:
essential:
Expand All @@ -9,3 +12,7 @@ slices:
contents:
/usr/bin/dotnet:
/usr/lib/dotnet/dotnet:

copyright:
contents:
/usr/share/doc/dotnet-host-8.0/copyright:
7 changes: 7 additions & 0 deletions slices/dotnet-hostfxr-8.0.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: dotnet-hostfxr-8.0

essential:
- dotnet-hostfxr-8.0_copyright

slices:
libs:
essential:
Expand All @@ -9,3 +12,7 @@ slices:
- libstdc++6_libs
contents:
/usr/lib/dotnet/host/fxr/8.0*/libhostfxr.so:

copyright:
contents:
/usr/share/doc/dotnet-hostfxr-8.0/copyright:
7 changes: 7 additions & 0 deletions slices/dotnet-runtime-8.0.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: dotnet-runtime-8.0

essential:
- dotnet-runtime-8.0_copyright

slices:
libs:
essential:
Expand All @@ -13,3 +16,7 @@ slices:
- zlib1g_libs
contents:
/usr/lib/dotnet/shared/Microsoft.NETCore.App/8.0*/**:

copyright:
contents:
/usr/share/doc/dotnet-runtime-8.0/copyright:
7 changes: 7 additions & 0 deletions slices/findutils.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: findutils

essential:
- findutils_copyright

slices:
bins:
essential:
Expand All @@ -8,3 +11,7 @@ slices:
contents:
/usr/bin/find:
/usr/bin/xargs:

copyright:
contents:
/usr/share/doc/findutils/copyright:
7 changes: 7 additions & 0 deletions slices/gawk.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: gawk

essential:
- gawk_copyright

slices:
bins:
essential:
Expand All @@ -25,3 +28,7 @@ slices:
- libsigsegv2_libs
contents:
/usr/lib/*-linux-*/gawk/*.so:

copyright:
contents:
/usr/share/doc/gawk/copyright:
7 changes: 7 additions & 0 deletions slices/grep.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: grep

essential:
- grep_copyright

slices:
bins:
essential:
Expand All @@ -19,3 +22,7 @@ slices:
/usr/bin/egrep:
/usr/bin/fgrep:
/usr/bin/rgrep:

copyright:
contents:
/usr/share/doc/grep/copyright:
7 changes: 7 additions & 0 deletions slices/hello.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
package: hello

essential:
- hello_copyright

slices:
bins:
essential:
- libc6_libs
contents:
/usr/bin/hello:

copyright:
contents:
/usr/share/doc/hello/copyright:
7 changes: 7 additions & 0 deletions slices/libacl1.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
package: libacl1

essential:
- libacl1_copyright

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libacl.so.1*:

copyright:
contents:
/usr/share/doc/libacl1/copyright:
7 changes: 7 additions & 0 deletions slices/libattr1.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: libattr1

essential:
- libattr1_copyright

slices:
config:
contents:
Expand All @@ -11,3 +14,7 @@ slices:
- libc6_libs
contents:
/usr/lib/*-linux-*/libattr.so.1*:

copyright:
contents:
/usr/share/doc/libattr1/copyright:
7 changes: 7 additions & 0 deletions slices/libbrotli1.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: libbrotli1

essential:
- libbrotli1_copyright

slices:
libs:
essential:
Expand All @@ -8,3 +11,7 @@ slices:
/usr/lib/*-linux-*/libbrotlicommon.so.1*:
/usr/lib/*-linux-*/libbrotlidec.so.1*:
/usr/lib/*-linux-*/libbrotlienc.so.1*:

copyright:
contents:
/usr/share/doc/libbrotli1/copyright:
7 changes: 7 additions & 0 deletions slices/libbz2-1.0.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
package: libbz2-1.0

essential:
- libbz2-1.0_copyright

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libbz2.so.1*:

copyright:
contents:
/usr/share/doc/libbz2-1.0/copyright:
8 changes: 0 additions & 8 deletions slices/libc-ares2.yaml

This file was deleted.

7 changes: 7 additions & 0 deletions slices/libc-bin.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: libc-bin

essential:
- libc-bin_copyright

slices:
nsswitch:
contents:
Expand All @@ -19,3 +22,7 @@ slices:
/usr/lib/locale/C.utf8/LC_PAPER:
/usr/lib/locale/C.utf8/LC_TELEPHONE:
/usr/lib/locale/C.utf8/LC_TIME:

copyright:
contents:
/usr/share/doc/libc-bin/copyright:
7 changes: 7 additions & 0 deletions slices/libc6.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
package: libc6

essential:
- libc6_copyright

slices:
config:
contents:
Expand Down Expand Up @@ -28,3 +31,7 @@ slices:
/usr/lib/*-linux-*/librt.so.*:
/usr/lib/*-linux-*/libthread_db.so.*:
/usr/lib/*-linux-*/libutil.so.*:

copyright:
contents:
/usr/share/doc/libc6/copyright:
15 changes: 15 additions & 0 deletions slices/libcares2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package: libcares2

essential:
- libcares2_copyright

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libcares.so.2*:

copyright:
contents:
/usr/share/doc/libcares2/copyright:
7 changes: 7 additions & 0 deletions slices/libcom-err2.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
package: libcom-err2

essential:
- libcom-err2_copyright

slices:
libs:
essential:
- libc6_libs
contents:
/usr/lib/*-linux-*/libcom_err.so.*:

copyright:
contents:
/usr/share/doc/libcom-err2/copyright:
Loading

0 comments on commit 5797b6d

Please sign in to comment.