Mageia Bugzilla – Attachment 10481 Details for
Bug 23853
Update android-tools to 9.0.0_r21
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
A script to package the sources for Pie
package-source.sh (text/plain), 933 bytes, created by
Kristoffer Grundström
on 2018-11-17 01:15:19 CET
(
hide
)
Description:
A script to package the sources for Pie
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2018-11-17 01:15:19 CET
Size:
933 bytes
patch
obsolete
>#!/bin/sh >VERSION="$1" >[ -z "$VERSION" ] && VERSION=`cat *.spec |grep '^Version: ' |awk '{ print $2; }'` >git clone --single-branch --depth 1 -b android-$VERSION https://android.googlesource.com/platform/system/core.git >git clone --single-branch --depth 1 -b android-$VERSION https://android.googlesource.com/platform/system/extras.git >git clone --single-branch --depth 1 -b android-$VERSION https://android.googlesource.com/platform/external/e2fsprogs.git >git clone https://github.com/ggrandou/abootimg.git >cd core >git archive -o ../core-${VERSION}.tar --prefix platform/system/core/ android-$VERSION >cd ../extras >git archive -o ../extras-${VERSION}.tar --prefix platform/system/extras/ android-$VERSION >cd ../e2fsprogs >git archive -o ../e2fsprogs-${VERSION}.tar --prefix platform/external/e2fsprogs/ android-$VERSION >cd ../abootimg >git archive -o ../abootimg-$(date +%Y%m%d).tar --prefix abootimg/ origin/master >cd .. >xz -9ef *.tar
#!/bin/sh VERSION="$1" [ -z "$VERSION" ] && VERSION=`cat *.spec |grep '^Version: ' |awk '{ print $2; }'` git clone --single-branch --depth 1 -b android-$VERSION https://android.googlesource.com/platform/system/core.git git clone --single-branch --depth 1 -b android-$VERSION https://android.googlesource.com/platform/system/extras.git git clone --single-branch --depth 1 -b android-$VERSION https://android.googlesource.com/platform/external/e2fsprogs.git git clone https://github.com/ggrandou/abootimg.git cd core git archive -o ../core-${VERSION}.tar --prefix platform/system/core/ android-$VERSION cd ../extras git archive -o ../extras-${VERSION}.tar --prefix platform/system/extras/ android-$VERSION cd ../e2fsprogs git archive -o ../e2fsprogs-${VERSION}.tar --prefix platform/external/e2fsprogs/ android-$VERSION cd ../abootimg git archive -o ../abootimg-$(date +%Y%m%d).tar --prefix abootimg/ origin/master cd .. xz -9ef *.tar
View Attachment As Raw
Actions:
View
Attachments on
bug 23853
:
10474
|
10475
|
10476
|
10477
|
10478
|
10479
|
10480
|
10481
|
10482
|
11104
|
11105
|
11106
|
11107
|
11108
|
11109
|
11110
|
11111
|
11112
|
11113
|
11114