mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-05 03:35:47 +00:00
- Enable console for arm64 for all tests - linuxkit.packages.binfmt is x86_64 only for now - linuxkit.packages.format_mount.by_name seems to hang with no output. needs investigating... - linuxkit.packages.getty-containerd is x86_64 specific - linuxkit.packages.mkimage is x86_64 specific - linuxkit.packages.wireguard: Use the non-alpine variant as it is available as a multiarch for arm64. Use a specific version/tag (1.13.7) as currently 'latest' seem to have issues. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
25 lines
440 B
Bash
25 lines
440 B
Bash
#!/bin/sh
|
|
# SUMMARY: Check that the binfmt package works
|
|
# LABELS: amd64
|
|
# REPEAT:
|
|
|
|
set -e
|
|
|
|
# Source libraries. Uncomment if needed/defined
|
|
#. "${RT_LIB}"
|
|
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
|
NAME=binfmt
|
|
|
|
clean_up() {
|
|
rm -rf ${NAME}-*
|
|
}
|
|
trap clean_up EXIT
|
|
|
|
# Test code goes here
|
|
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
|
RESULT="$(linuxkit run ${NAME})"
|
|
echo "${RESULT}"
|
|
echo "${RESULT}" | grep -q "suite PASSED"
|
|
|
|
exit 0
|