Initialize repositories with scripts

This commit is contained in:
Holger Hans Peter Freyther 2012-06-27 01:10:50 +08:00
parent a7befd603b
commit 40355ff62e
4 changed files with 17 additions and 4 deletions

View File

@ -6,4 +6,6 @@ BBFILES ?= ""
BBLAYERS = " \
##COREBASE##/meta \
##COREBASE##/meta-yocto \
"
##COREBASE##/meta-telephony \
##COREBASE##/meta-sysmocom-bsp \
"

View File

@ -48,7 +48,7 @@
#MACHINE ?= "routerstationpro"
#
# This sets the default machine to be qemux86 if no other machine is selected:
MACHINE ??= "qemux86"
MACHINE ??= "sysmobts-v2"
#
# Where to place downloads
@ -117,8 +117,8 @@ DISTRO ?= "poky"
# - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager)
# - 'package_rpm' for rpm style packages
# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
# We default to rpm:
PACKAGE_CLASSES ?= "package_rpm"
# We default to ipk:
PACKAGE_CLASSES ?= "package_ipk"
#
# SDK/ADT target architecture
@ -226,3 +226,4 @@ PATCHRESOLVE = "noop"
# track the version of this file when it was generated. This can safely be ignored if
# this doesn't mean anything to you.
CONF_VERSION = "1"
FEED_URIS="all##https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/bts/ipk/all armv5te##https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/bts/ipk/armv5te sysmobts-v2##https://autoupdate:eechiesuboot@downloads.sysmocom.de/generic/bts/ipk/sysmobts_v2"

5
sysmocom-update.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
git subtree pull --prefix=meta-telephony git://gitorious.org/sysmocom-openembedded/meta-telephony.git
git subtree pull --prefix=meta-sysmocom-bsp ssh://git@git.sysmocom.de/poky/meta-sysmocom-bsp

5
sysmocom-upload.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
rsync --delete -avz tmp/deploy/ipk/ generic@sysmocom-downloads:bts/ipk
rsync --delete -avz tmp/deploy/images/ generic@sysmocom-downloads:bts/images
rsync --delete -avz tmp/deploy/tools/ generic@sysmocom-downloads:bts/tools