Browse code

Add deprecation warnings to the mkimage scripts that are have consolidated mkimage implementations

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)

Tianon Gravi authored on 2014/05/22 00:58:11
Showing 3 changed files
... ...
@@ -2,6 +2,10 @@
2 2
 # Generate a very minimal filesystem based on busybox-static,
3 3
 # and load it into the local docker under the name "busybox".
4 4
 
5
+echo >&2
6
+echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/busybox-static'
7
+echo >&2
8
+
5 9
 BUSYBOX=$(which busybox)
6 10
 [ "$BUSYBOX" ] || {
7 11
     echo "Sorry, I could not locate busybox."
... ...
@@ -1,6 +1,10 @@
1 1
 #!/usr/bin/env bash
2 2
 set -e
3 3
 
4
+echo >&2
5
+echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/debootstrap'
6
+echo >&2
7
+
4 8
 variant='minbase'
5 9
 include='iproute,iputils-ping'
6 10
 arch='amd64' # intentionally undocumented for now
... ...
@@ -8,6 +8,10 @@
8 8
 
9 9
 set -e
10 10
 
11
+echo >&2
12
+echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/rinse'
13
+echo >&2
14
+
11 15
 repo="$1"
12 16
 distro="$2"
13 17
 mirror="$3"