-
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(20.04) add slice for crun and uidmap (#223)
--------- Co-authored-by: Cristovao Cordeiro <[email protected]>
- Loading branch information
1 parent
c2822e8
commit a1f36bd
Showing
15 changed files
with
212 additions
and
1 deletion.
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,19 @@ | ||
package: crun | ||
|
||
essential: | ||
- crun_copyright | ||
|
||
slices: | ||
bins: | ||
essential: | ||
- libc6_libs | ||
- libcap2_libs | ||
- libseccomp2_libs | ||
- libsystemd0_libs | ||
- libyajl2_libs | ||
contents: | ||
/usr/bin/crun: | ||
/usr/lib/*-linux-*/libcrun.a: | ||
copyright: | ||
contents: | ||
/usr/share/doc/crun/copyright: |
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,12 @@ | ||
package: libaudit-common | ||
|
||
essential: | ||
- libaudit-common_copyright | ||
|
||
slices: | ||
config: | ||
contents: | ||
/etc/libaudit.conf: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libaudit-common/copyright: |
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,16 @@ | ||
package: libaudit1 | ||
|
||
essential: | ||
- libaudit1_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libaudit-common_config | ||
- libc6_libs | ||
- libcap-ng0_libs | ||
contents: | ||
/lib/*-linux-*/libaudit.so.1*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libaudit1/copyright: |
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: libcap-ng0 | ||
|
||
essential: | ||
- libcap-ng0_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/lib/*-linux-*/libcap-ng.so.0*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libcap-ng0/copyright: |
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: libcap2 | ||
|
||
essential: | ||
- libcap2_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/lib/*-linux-*/libcap.so.2*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libcap2/copyright: |
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,16 @@ | ||
# LGPL Crypto library - runtime library | ||
package: libgcrypt20 | ||
|
||
essential: | ||
- libgcrypt20_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libgpg-error0_libs | ||
contents: | ||
/usr/lib/*-linux-*/libgcrypt.so.20*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libgcrypt20/copyright: |
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,16 @@ | ||
# Library that defines common error values, messages, and common | ||
# runtime functionality for all GnuPG components. | ||
package: libgpg-error0 | ||
|
||
essential: | ||
- libgpg-error0_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/lib/*-linux-*/libgpg-error.so.0*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libgpg-error0/copyright: |
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: liblz4-1 | ||
|
||
essential: | ||
- liblz4-1_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/liblz4.so.1*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/liblz4-1/copyright: |
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
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: libseccomp2 | ||
|
||
essential: | ||
- libseccomp2_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libseccomp.so.2*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libseccomp2/copyright: |
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,17 @@ | ||
package: libsystemd0 | ||
|
||
essential: | ||
- libsystemd0_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
- libgcrypt20_libs | ||
- liblz4-1_libs | ||
- liblzma5_libs | ||
contents: | ||
/lib/*-linux-*/libsystemd.so.0*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libsystemd0/copyright: |
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: libyajl2 | ||
|
||
essential: | ||
- libyajl2_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libyajl.so.2*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libyajl2/copyright: |
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,15 @@ | ||
# Fast lossless compression algorithm | ||
package: libzstd1 | ||
|
||
essential: | ||
- libzstd1_copyright | ||
|
||
slices: | ||
libs: | ||
essential: | ||
- libc6_libs | ||
contents: | ||
/usr/lib/*-linux-*/libzstd.so.1*: | ||
copyright: | ||
contents: | ||
/usr/share/doc/libzstd1/copyright: |
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,17 @@ | ||
package: uidmap | ||
|
||
essential: | ||
- uidmap_copyright | ||
|
||
slices: | ||
bins: | ||
essential: | ||
- libaudit1_libs | ||
- libc6_libs | ||
- libselinux1_libs | ||
contents: | ||
/usr/bin/newgidmap: | ||
/usr/bin/newuidmap: | ||
copyright: | ||
contents: | ||
/usr/share/doc/uidmap/copyright: |
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 @@ | ||
summary: Integration tests for crun | ||
|
||
execute: | | ||
rootfs="$(install-slices crun_bins)" | ||
# crun needs proc mounted | ||
mkdir "${rootfs}"/proc | ||
mount --bind /proc "${rootfs}"/proc | ||
chroot "$rootfs" crun --help | ||
chroot "$rootfs" crun list | ||
chroot "$rootfs" crun spec | ||
test -f "$rootfs"/config.json |