usertools: warn about future removal of setup script
authorThomas Monjalon <thomas@monjalon.net>
Thu, 6 Aug 2020 17:13:03 +0000 (19:13 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 7 Aug 2020 11:39:45 +0000 (13:39 +0200)
As agreed in the deprecation notice, the "generic" script
to setup the Linux environment will be removed in DPDK 20.11.
Some specific parts may be converted into dedicated scripts.

In the meantime, a warning will be printed to users of this script.

Suggested-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
usertools/dpdk-setup.sh

index e5bbe9f..411bf2e 100755 (executable)
@@ -592,6 +592,10 @@ while [ "$QUIT" == "0" ]; do
        echo "[$OPTION_NUM] Exit Script"
        OPTIONS[$OPTION_NUM]="quit"
        echo ""
+       echo '--------------------------------------------------'
+       echo 'WARNING: This tool will be removed from DPDK 20.11'
+       echo '--------------------------------------------------'
+       echo
        echo -n "Option: "
        read our_entry
        echo ""