tools/fs: add x option, messages and modify volume name on mkromfsimg.sh
1. Because the .gitignore should not be included at romfs.img, x option
is added.
2. Messages are added to know the start and end of making romfs.
3. The volume name is changed to "TinyAraROMVol" from "NuttXBootVol".
@@ -61,6 +61,8 @@ if [ ! -f tools/mkromfsimg.sh ]; then
fi
fi
+echo "Making romfs.img..."
+
# Environmental stuff
topdir=$PWD
@@ -83,6 +85,7 @@ genromfs -h 1>/dev/null 2>&1 || { \
# Now we are ready to make the ROMFS image
-genromfs -f ${romfsimg} -d ${contentsdir} -V "NuttXBootVol" || { echo "genromfs failed" ; exit 1 ; }
+genromfs -f ${romfsimg} -d ${contentsdir} -x .gitignore -V "TinyAraROMVol" || { echo "genromfs failed" ; exit 1 ; }
# And, finally, create the header file
+echo "${romfsimg} was made."
