-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpush.sh
111 lines (87 loc) · 2.4 KB
/
push.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#!/bin/bash
PATCHESDIR="$PWD"
ANDROIDDIR="$PWD/.."
AOSPBRANCH="refs/tags/android-13.0.0_r75"
LOSBRANCH="rinando HEAD:lineage-20.0"
echo "======= packages/modules/Permission =========="
cd "$ANDROIDDIR/packages/modules/Permission"
git push $LOSBRANCH --force
echo
echo "======= packages/modules/Bluetooth =========="
cd "$ANDROIDDIR/packages/modules/Bluetooth"
git push $LOSBRANCH --force
echo
echo "======= system/core =========="
cd "$ANDROIDDIR/system/core"
git push $LOSBRANCH --force
echo
echo "======= build/make =========="
cd "$ANDROIDDIR/build/make"
git push $LOSBRANCH --force
echo
echo "======= frameworks/av =========="
cd "$ANDROIDDIR/frameworks/av"
git push $LOSBRANCH --force
echo
echo "======= hardware/interfaces =========="
cd "$ANDROIDDIR/hardware/interfaces"
git push $LOSBRANCH --force
echo
echo "======= hardware/lineage/interfaces =========="
cd "$ANDROIDDIR/hardware/lineage/interfaces"
git push $LOSBRANCH --force
echo
echo "======= frameworks/base =========="
cd "$ANDROIDDIR/frameworks/base"
git push $LOSBRANCH --force
echo
echo "======= vendor/lineage =========="
cd "$ANDROIDDIR/vendor/lineage"
git push $LOSBRANCH --force
echo
echo "======= packages/modules/adb =========="
cd "$ANDROIDDIR/packages/modules/adb"
git push $LOSBRANCH --force
echo
echo "======= system/bpf =========="
cd "$ANDROIDDIR/system/bpf"
git push $LOSBRANCH --force
echo
echo "======= art =========="
cd "$ANDROIDDIR/art"
git push $LOSBRANCH --force
echo
echo "======= external/perfetto =========="
cd "$ANDROIDDIR/external/perfetto"
git checkout $AOSPBRANCH
git push $LOSBRANCH --force
echo
echo "======= packages/modules/NetworkStack =========="
cd "$ANDROIDDIR/packages/modules/NetworkStack"
git checkout $AOSPBRANCH
git push $LOSBRANCH --force
echo
echo "======= packages/modules/Connectivity =========="
cd "$ANDROIDDIR/packages/modules/Connectivity"
git push $LOSBRANCH --force
echo
echo "======= system/libhwbinder =========="
cd "$ANDROIDDIR/system/libhwbinder"
git push $LOSBRANCH --force
echo
echo "======= system/netd =========="
cd "$ANDROIDDIR/system/netd"
git push $LOSBRANCH --force
echo
echo "======= frameworks/native =========="
cd "$ANDROIDDIR/frameworks/native"
git push $LOSBRANCH --force
echo
echo "======= bionic =========="
cd "$ANDROIDDIR/bionic"
git push $LOSBRANCH --force
echo
echo "======= frameworks/libs/net =========="
cd "$ANDROIDDIR/frameworks/libs/net"
git push $LOSBRANCH --force
cd $PATCHESDIR