mkimage: say something before doing 'sudo scripts/mkimage'

This commit is contained in:
Stefan Saraev 2014-11-09 20:53:36 +02:00 committed by Stephan Raue
parent 3cbed0708e
commit 1fecfa9bcb

View File

@ -290,6 +290,8 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION"
if [ "$2" == "efi" ] ; then
UEFI=yes
fi
echo "mkimage: boo. now root access (sudo) is required..."
echo "mkimage: see scripts/image and scripts/mkimage if you dont trust us :)"
# variables used in image script must be passed
sudo env \
PATH="$PATH" \