From 51f707cf9dfb2dbe31cfd0cd92b922ca5d98e842 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 21 May 2014 09:58:11 -0600 Subject: [PATCH] Add deprecation warnings to the mkimage scripts that are have consolidated mkimage implementations Docker-DCO-1.1-Signed-off-by: Andrew Page (github: tianon) --- contrib/mkimage-busybox.sh | 4 ++++ contrib/mkimage-debootstrap.sh | 4 ++++ contrib/mkimage-rinse.sh | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/contrib/mkimage-busybox.sh b/contrib/mkimage-busybox.sh index c1bb88c350..cbaa567834 100755 --- a/contrib/mkimage-busybox.sh +++ b/contrib/mkimage-busybox.sh @@ -2,6 +2,10 @@ # Generate a very minimal filesystem based on busybox-static, # and load it into the local docker under the name "busybox". +echo >&2 +echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/busybox-static' +echo >&2 + BUSYBOX=$(which busybox) [ "$BUSYBOX" ] || { echo "Sorry, I could not locate busybox." diff --git a/contrib/mkimage-debootstrap.sh b/contrib/mkimage-debootstrap.sh index 613066e16b..808f393549 100755 --- a/contrib/mkimage-debootstrap.sh +++ b/contrib/mkimage-debootstrap.sh @@ -1,6 +1,10 @@ #!/usr/bin/env bash set -e +echo >&2 +echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/debootstrap' +echo >&2 + variant='minbase' include='iproute,iputils-ping' arch='amd64' # intentionally undocumented for now diff --git a/contrib/mkimage-rinse.sh b/contrib/mkimage-rinse.sh index dfe9999d92..0692ae1794 100755 --- a/contrib/mkimage-rinse.sh +++ b/contrib/mkimage-rinse.sh @@ -8,6 +8,10 @@ set -e +echo >&2 +echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/rinse' +echo >&2 + repo="$1" distro="$2" mirror="$3"