Skip to content

Commit

Permalink
feat(24.04): add slice for gosu (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
norrisjeremy authored Dec 16, 2024
1 parent 3231765 commit af12f84
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
13 changes: 13 additions & 0 deletions slices/gosu.yaml
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:
11 changes: 11 additions & 0 deletions tests/spread/integration/gosu/task.yaml
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

0 comments on commit af12f84

Please sign in to comment.