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

This commit is contained in:
Stefan Saraev 2014-11-09 20:53:36 +02:00
parent e8d1499f8a
commit 6b679312f7

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" \