diff --git a/release/scripts/make-oci-image.sh b/release/scripts/make-oci-image.sh index a139a38d1930..6180ed9d53b4 100644 --- a/release/scripts/make-oci-image.sh +++ b/release/scripts/make-oci-image.sh @@ -1,63 +1,63 @@ #! /bin/sh # Build an Open Container Initiative (OCI) container image curdir=$1; shift rev=$1; shift branch=$1; shift arch=$1; shift image=$1; shift major=${rev%.*} minor=${rev#*.} abi=FreeBSD:${major}:${arch} echo "Building OCI freebsd${major}-${image} image for ${abi}" . ${curdir}/tools/oci-image-${image}.conf init_workdir() { local abi=$1; shift local workdir=$(mktemp -d -t oci-images) mkdir ${workdir}/repos cat > ${workdir}/repos/base.conf <