Date:2012-03-07 14:53:45 (8 years 3 months ago)
Author:Xiangfu Liu
Commit:4e7ae65a3e7d9103d73cfacd1e42408eca972dd5
Message:compile-openwrt-xburst.sh code style cleanup

Files: nanonote-files/data/qi_lb60/scripts/compile-openwrt-xburst.sh (3 diffs)

Change Details

nanonote-files/data/qi_lb60/scripts/compile-openwrt-xburst.sh
11#!/bin/bash
22
3# This script file is using in build host
3# This script file is using in build host, Xiangfu <xiangfu@openmobilefree.net>
44# $1: full_system minimal xbboot
55
66OPENWRT_DIR_NAME="openwrt-xburst."$1
...... 
5959rm -f dl && ln -s ~/dl
6060mkdir -p files/etc && echo ${DATE} > files/etc/VERSION
6161mkdir -p files/etc/uci-defaults && \
62    echo -e "\0043\0041/bin/sh \ndate --set `date +"%Y%m%d%H%M"`\nhwclock --systohc" > files/etc/uci-defaults/99-set-time
62    echo -e "\0043\0041/bin/sh \ndate --set `date +"%Y%m%d%H%M"`\n \
63hwclock --systohc" > files/etc/uci-defaults/99-set-time
6364
6465
6566echo "patch openwrt..."
...... 
8788    echo "ERROR: Build failed! please refer to the BUILD_LOG file"
8889    tail -n 100 ${IMAGES_DIR}/BUILD_LOG > ${IMAGES_DIR}/BUILD_LOG.last100
8990    MSG="The build was FAILED"
90    URL="http://fidelio.qi-hardware.com/~xiangfu/building/Nanonote/Ben/\
91    URL="http://fidelio.qi-hardware.com/~xiangfu/building/Nanonote/Ben\
9192/${OPENWRT_DIR_NAME}-${DATE_TIME}"
9293else
9394    (cd ${IMAGES_DIR} && \

Archive Download the corresponding diff file



interactive