#!/bin/sh
###################################################
# Customized the user disk for different customers
###################################################
if [ -f "vendors/${PLATFORM}/${MAJOR}.${MINOR}.${OEM}.${TESTING}/customize_usrdisk.sh" ]; then
 	. "vendors/${PLATFORM}/${MAJOR}.${MINOR}.${OEM}.${TESTING}/customize_usrdisk.sh"
fi

##################################################
# Build the user disk image
##################################################
echo "mkusrdisk: `pwd`"
if [ -d "usrdiskdir" ]; then
	host/mtd-utils/mkfs.jffs2 -b -e 0x20000 -d ./usrdiskdir -o /tftpboot/$USRDISK
fi

