mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 17:15:01 +02:00
update nanonote daily build folder name and url
This commit is contained in:
parent
4829183d2b
commit
c36a307041
@ -11,14 +11,15 @@ MAKE_VARS=" V=99 IGNORE_ERRORS=m "
|
|||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
DATE=$(date "+%Y-%m-%d")
|
DATE=$(date "+%Y-%m-%d")
|
||||||
TIME=$(date "+%H-%M-%S")
|
DATE_TIME=`date +"%Y%m%d-%H%M"`
|
||||||
DATE_TIME=`date +"%m%d%Y-%H%M"`
|
|
||||||
|
|
||||||
GET_FEEDS_VERSION_SH="/home/xiangfu/bin/get-feeds-revision.sh"
|
GET_FEEDS_VERSION_SH="/home/xiangfu/bin/get-feeds-revision.sh"
|
||||||
PATCH_OPENWRT_SH="/home/xiangfu/bin/patch-openwrt.sh"
|
PATCH_OPENWRT_SH="/home/xiangfu/bin/patch-openwrt.sh"
|
||||||
|
|
||||||
IMAGES_DIR="/home/xiangfu/compile-log/${OPENWRT_DIR_NAME}-${DATE_TIME}/"
|
IMAGES_DIR="/home/xiangfu/building/Nanonote/Ben/${OPENWRT_DIR_NAME}-${DATE_TIME}/"
|
||||||
|
DEST_DIR="/home/xiangfu/build-nanonote"
|
||||||
mkdir -p ${IMAGES_DIR}
|
mkdir -p ${IMAGES_DIR}
|
||||||
|
mkdir -p ${DEST_DIR}
|
||||||
|
|
||||||
BUILD_LOG="${IMAGES_DIR}/BUILD_LOG"
|
BUILD_LOG="${IMAGES_DIR}/BUILD_LOG"
|
||||||
VERSIONS_FILE="${IMAGES_DIR}/VERSIONS"
|
VERSIONS_FILE="${IMAGES_DIR}/VERSIONS"
|
||||||
@ -97,4 +98,6 @@ cp -a files/* ${IMAGES_DIR}/files/
|
|||||||
bzip2 -z openwrt-xburst-qi_lb60-root.ubi; \
|
bzip2 -z openwrt-xburst-qi_lb60-root.ubi; \
|
||||||
)
|
)
|
||||||
|
|
||||||
echo "DONE :)"
|
mv ${IMAGES_DIR} ${DEST_DIR}
|
||||||
|
|
||||||
|
echo "DONE!"
|
||||||
|
@ -29,7 +29,7 @@ while getopts d:t:v:l:hbkr OPTIONS
|
|||||||
do
|
do
|
||||||
case $OPTIONS in
|
case $OPTIONS in
|
||||||
d)
|
d)
|
||||||
BASE_URL_HTTP="http://fidelio.qi-hardware.com/~xiangfu/compile-log/"
|
BASE_URL_HTTP="http://fidelio.qi-hardware.com/~xiangfu/build-nanonote/"
|
||||||
VERSION=$OPTARG # override version by first argument
|
VERSION=$OPTARG # override version by first argument
|
||||||
WORKING_DIR=${VERSION}
|
WORKING_DIR=${VERSION}
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user