Lines Matching refs:SRC_DIR
26 export SRC_DIR=$1
48 [ -d "$SRC_DIR" ] || usage "No such src dir: $SRC_DIR"
54 find $SRC_DIR -maxdepth $DEPTH -mindepth $DEPTH -type d|grep -q "" \
56 find $SRC_DIR -maxdepth $DEPTH -mindepth $DEPTH -type d \
62 find $SRC_DIR -type f \
69 ls $SRC_DIR/* &>/dev/null || return 0
71 echo "Copying $SRC_DIR into $TARGET (root permission required)"
75 cp -rp $SRC_DIR/* $TEMP
91 echo "Making $TARGET from $SRC_DIR with size(${SIZE_KB}KB)"
98 mke2fs -t $FS_TYPE $TARGET -d $SRC_DIR \
112 mcopy -bspmn -D s -i $TARGET $SRC_DIR/* ::/
131 tar cf $TEMP $SRC_DIR &>/dev/null
134 echo "Making $TARGET from $SRC_DIR (auto sized)"
169 -c $UBIFS_MAXLEBCNT -d $SRC_DIR -F -v -o $UBIFS_IMAGE || return 1
195 mksquashfs $SRC_DIR $TARGET -noappend -comp lz4
199 mkfs.jffs2 -r $SRC_DIR -o $TARGET 0x10000 --pad=0x400000 -s 0x1000 -n