Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(24.04): add wget slices #364

Merged
merged 5 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions slices/wget.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package: wget

essential:
- wget_copyright

slices:
bins:
essential:
- libc6_libs
- libidn2-0_libs
- libpcre2-8-0_libs
- libpsl5t64_libs
- libssl3t64_libs
- libuuid1_libs
- zlib1g_libs
contents:
/usr/bin/wget:
copyright:
contents:
/usr/share/doc/wget/copyright:
12 changes: 12 additions & 0 deletions tests/spread/integration/wget/task.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
summary: Integration tests for wget

execute: |
# Chisel a minimum number of slices to give us a runnable system that we can
# test in.
rootfs="$(install-slices ca-certificates_data wget_bins)"
cp /etc/resolv.conf "${rootfs}/etc/"

# Download Chisel release and compare to a known hash.
chroot "${rootfs}/" wget https://github.com/canonical/chisel/releases/download/v1.0.0/chisel_v1.0.0_linux_amd64.tar.gz
chroot "${rootfs}/" wget https://github.com/canonical/chisel/releases/download/v1.0.0/chisel_v1.0.0_linux_amd64.tar.gz.sha384
cd "${rootfs}" && sha384sum -c chisel_v1.0.0_linux_amd64.tar.gz.sha384
Loading