rootfsinstall.sh: minor fixes for image mode

This commit is contained in:
Silvan Calarco 2017-10-12 18:44:59 +02:00
parent 5339856ef0
commit 73a57d592f

View File

@ -224,13 +224,20 @@ esac
exit 1
}
echo "Rootfs archive : $ROOTFSARCHIVE"
if [ ! "${IMAGEMODE}" ]; then
echo "Rootfs archive : $ROOTFSARCHIVE"
else
echo "Image archive : $ROOTFSARCHIVE"
fi
echo "Target SD card : ${DRIVE}"
[ "$TARGETDEVICE" ] && echo "Target platform: $TARGETDEVICE"
[ "$BOOTFSTYPE" ] && echo "Boot fs : $BOOTFSTYPE($BOOTFSSIZE)"
[ "$BOOTFSTYPE" ] && echo "System fs : $SYSTEMFSTYPE"
[ "$USEKERNEL" ] && echo "Kernel : $USEKERNEL -> $KERNELDEST"
[ "$USEKERNEL2" ] && echo "Second kernel : $USEKERNEL2 -> $KERNELDEST2"
if [ ! "${IMAGEMODE}" ]; then
[ "$BOOTFSTYPE" ] && echo "Boot fs : $BOOTFSTYPE($BOOTFSSIZE)"
[ "$BOOTFSTYPE" ] && echo "System fs : $SYSTEMFSTYPE"
[ "$USEKERNEL" ] && echo "Kernel : $USEKERNEL -> $KERNELDEST"
[ "$USEKERNEL2" ] && echo "Second kernel : $USEKERNEL2 -> $KERNELDEST2"
fi
echo
[ "$ASSUMEYES" ] || {