diff options
-rwxr-xr-x | generate-blob-lists.sh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/generate-blob-lists.sh b/generate-blob-lists.sh index e147605..2911e29 100755 --- a/generate-blob-lists.sh +++ b/generate-blob-lists.sh @@ -42,14 +42,14 @@ then fi shift -DEVICES=$(for i in device/*/*/proprietary-blobs.txt ; do basename $(dirname $i) ; done) - -export LC_ALL=C - repo sync -j32 -n repo sync -j32 -n repo sync -j2 -l +DEVICES=$(for i in device/*/*/proprietary-blobs.txt ; do basename $(dirname $i) ; done) + +export LC_ALL=C + ARCHIVEDIR=archive-$(date +%s) if test -d archive-ref then @@ -68,7 +68,6 @@ else sort -f > $ARCHIVEDIR/$DEVICENAME-with.txt done rm -rf vendor - rm -rf hardware/qcom/camera rm -rf hardware/qcom/gps for DEVICENAME in $DEVICES do @@ -113,7 +112,7 @@ do ( cd device/$MANUFACTURERNAME/$DEVICENAME git add . - git commit -m "$(echo -e 'auto-generated blob list\n\nBug: 4295425')" + git commit -m "$(echo -e 'auto-generated blob list for '$DEVICENAME'\n\nBug: 4295425')" if test "$1" != "" -a "$2" != "" then echo uploading to server $1 branch $2 |