瀏覽代碼

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 11 年之前
父節點
當前提交
51f707cf9d
共有 3 個文件被更改,包括 12 次插入0 次删除
  1. 4 0
      contrib/mkimage-busybox.sh
  2. 4 0
      contrib/mkimage-debootstrap.sh
  3. 4 0
      contrib/mkimage-rinse.sh

+ 4 - 0
contrib/mkimage-busybox.sh

@@ -2,6 +2,10 @@
 # Generate a very minimal filesystem based on busybox-static,
 # Generate a very minimal filesystem based on busybox-static,
 # and load it into the local docker under the name "busybox".
 # 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=$(which busybox)
 [ "$BUSYBOX" ] || {
 [ "$BUSYBOX" ] || {
     echo "Sorry, I could not locate busybox."
     echo "Sorry, I could not locate busybox."

+ 4 - 0
contrib/mkimage-debootstrap.sh

@@ -1,6 +1,10 @@
 #!/usr/bin/env bash
 #!/usr/bin/env bash
 set -e
 set -e
 
 
+echo >&2
+echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/debootstrap'
+echo >&2
+
 variant='minbase'
 variant='minbase'
 include='iproute,iputils-ping'
 include='iproute,iputils-ping'
 arch='amd64' # intentionally undocumented for now
 arch='amd64' # intentionally undocumented for now

+ 4 - 0
contrib/mkimage-rinse.sh

@@ -8,6 +8,10 @@
 
 
 set -e
 set -e
 
 
+echo >&2
+echo >&2 'warning: this script is deprecated - see mkimage.sh and mkimage/rinse'
+echo >&2
+
 repo="$1"
 repo="$1"
 distro="$2"
 distro="$2"
 mirror="$3"
 mirror="$3"