forked from koenkooi/validation-scripts
-
Notifications
You must be signed in to change notification settings - Fork 24
/
update.sh
executable file
·57 lines (52 loc) · 1016 Bytes
/
update.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/bin/sh
DIR=`dirname "$0"`/..
[email protected]:beagleboard-validation
#ORIGIN=git://gitorious.org/beagleboard-validation
OMAPZOOM=git://git.omapzoom.org/repo
DENX=git://git.denx.de
KERNEL=git://git.kernel.org/pub/scm/linux/kernel/git
PSP=git://arago-project.org/git/people
function update {
git checkout $1
git pull --ff-only
git push origin $1
}
#
# x-load
#
echo Updating x-load...
cd $DIR/x-load
update omapzoom/master
update sakoman/master
update psp/master
git checkout master
git pull --ff-only
git show-ref
#
# u-boot
#
echo Updating u-boot...
cd $DIR/u-boot
update upstream/master
update upstream-ti/master
update sakoman/master
update omapzoom/master
update psp/master
git checkout master
git pull --ff-only
git show-ref
#
# Linux
#
echo Updating Linux...
cd $DIR/linux-2.6
update upstream/master
update linux-omap/master
update linux-omap-pm/master
update psp/master
update psp-video/master
update koen/master
update koen/beagleboardXM
git checkout master
git pull --ff-only
git show-ref