-
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 slice for gosu (#430)
- Loading branch information
1 parent
3231765
commit af12f84
Showing
2 changed files
with
24 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,13 @@ | ||
package: gosu | ||
|
||
essential: | ||
- gosu_copyright | ||
|
||
slices: | ||
bins: | ||
contents: | ||
/usr/sbin/gosu: | ||
|
||
copyright: | ||
contents: | ||
/usr/share/doc/gosu/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,11 @@ | ||
summary: Integration tests for gosu | ||
|
||
execute: | | ||
# Chisel a minimum number of slices to give us a runnable system that we can | ||
# test in. | ||
rootfs="$(install-slices gosu_bins)" | ||
mkdir -p "${rootfs}"/proc/self | ||
ln -sf /usr/sbin/gosu "${rootfs}"/proc/self/exe | ||
chroot "${rootfs}/" gosu -h |