Skip to content

Commit b4572d3

Browse files
committed
Address review comments - remove extra argument and use curl instead of wget
1 parent 5125fb1 commit b4572d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

buildroot-external/package/hassio/create-data-partition.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ container=$(docker run --privileged -e DOCKER_TLS_CERTDIR="" \
2929
-v "${build_dir}":/build \
3030
-d "docker:${docker_version}-dind" --feature containerd-snapshotter --data-root /mnt/data/docker)
3131

32-
docker exec "${container}" sh /build/dind-import-containers.sh "${channel}"
32+
docker exec "${container}" sh /build/dind-import-containers.sh
3333

3434
sudo bash -ex <<EOF
3535
# Indicator for docker-prepare.service to use the containerd snapshotter
3636
touch "${data_dir}/.docker-use-containerd-snapshotter"
3737
3838
# Setup AppArmor
3939
mkdir -p "${data_dir}/supervisor/apparmor"
40-
wget -O "${data_dir}/supervisor/apparmor/hassio-supervisor" "${APPARMOR_URL}"
40+
curl -fsL -o "${data_dir}/supervisor/apparmor/hassio-supervisor" "${APPARMOR_URL}"
4141
4242
# Persist build-time updater channel
4343
jq -n --arg channel "${channel}" '{"channel": \$channel}' > "${data_dir}/supervisor/updater.json"

0 commit comments

Comments
 (0)