From 6883363ae26df20857d5e0d950fa0e82eb9840b3 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Mon, 13 Sep 2010 13:03:07 -0800 Subject: [PATCH] update build script file. checkout to tracking_backfire branch Signed-off-by: Xiangfu Liu --- scripts/build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build b/scripts/build index efce0e1a9..a514212b8 100755 --- a/scripts/build +++ b/scripts/build @@ -58,6 +58,9 @@ mv .config config mkdir xburst echo "updating git repo..." +git diff > bak/modify_${DATE_TIME}.patch +git checkout -f +git checkout tracking_backfire git pull > /dev/null if [ "$?" != "0" ]; then echo "ERROR: updating openwrt-xburst failed" @@ -83,7 +86,7 @@ VERSIONS_FILE="xburst/VERSIONS" echo "# base :: 'openwrt' [scm-protocol] [revision] [source] [branch]" > ${VERSIONS_FILE} tmp=($(git show-ref | head -n 1)) rev=${tmp[0]} -echo "openwrt git ${rev} git://projects.qi-hardware.com/openwrt-xburst.git xburst" >> ${VERSIONS_FILE} +echo "openwrt git ${rev} git://projects.qi-hardware.com/openwrt-xburst.git tracking_backfire" >> ${VERSIONS_FILE} echo "# feeds :: [feedname] [scm-protocol] [revision]" >> ${VERSIONS_FILE} IFS=$'\n' for feed in $feeds; do