diff options
author | Android Merger <noreply-android-build-merger@google.com> | 2018-11-30 19:45:48 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-11-30 19:45:48 +0000 |
commit | 6bfe088d54db37e3edfd5faad779be85d56def37 (patch) | |
tree | 530797e4823d92c6bd3b947309d8cb2eadbf56ac | |
parent | 68a1c1b00e3e58a10040b74dbfd6853b54ab18c2 (diff) | |
parent | 3531c3349d2d8488fbc10b79c3cc0b6ffcf06f1a (diff) | |
download | device_common-6bfe088d54db37e3edfd5faad779be85d56def37.tar.gz device_common-6bfe088d54db37e3edfd5faad779be85d56def37.tar.bz2 device_common-6bfe088d54db37e3edfd5faad779be85d56def37.zip |
Merge "Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release am: 7e8994acce" into pie-gsi
-rw-r--r-- | generate-factory-images-common.sh | 8 | ||||
-rwxr-xr-x | generate-packages.sh | 12 |
2 files changed, 15 insertions, 5 deletions
diff --git a/generate-factory-images-common.sh b/generate-factory-images-common.sh index a2d81ca..fdcb442 100644 --- a/generate-factory-images-common.sh +++ b/generate-factory-images-common.sh @@ -101,8 +101,8 @@ cat > tmp/$PRODUCT-$VERSION/flash-all.sh << EOF # See the License for the specific language governing permissions and # limitations under the License. -if ! grep -q dtbo.sig \$(which fastboot); then - echo "fastboot too old" +if ! grep -q partition-exists \$(which fastboot); then + echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html" exit 1 fi EOF @@ -258,8 +258,8 @@ cat > tmp/$PRODUCT-$VERSION/flash-base.sh << EOF # See the License for the specific language governing permissions and # limitations under the License. -if ! grep -q dtbo.sig \$(which fastboot); then - echo "fastboot too old" +if ! grep -q partition-exists \$(which fastboot); then + echo "fastboot too old; please download the latest version at https://developer.android.com/studio/releases/platform-tools.html" exit 1 fi EOF diff --git a/generate-packages.sh b/generate-packages.sh index 5b18aa6..2f3e9c3 100755 --- a/generate-packages.sh +++ b/generate-packages.sh @@ -42,7 +42,7 @@ do FILEDIR_ROOT=tmp/vendor/$MANUFACTURER/$ROOTDEVICE case ${ROOTDEVICE} in - dragon|marlin|sailfish|taimen|walleye) + dragon|marlin|sailfish|taimen|walleye|crosshatch|blueline) FILEDIR_ROOT=tmp/vendor/${MANUFACTURER}_devices/$ROOTDEVICE ;; hikey960) FILEDIR=tmp/vendor/linaro/$DEVICE/$COMPANY/proprietary @@ -166,6 +166,16 @@ do # Move device-vendor-walleye.mk under muskie directory so that it can be # inherited by device/google/muskie/aosp_walleye.mk mv ${FILEDIR_ROOT}/proprietary/device-vendor-walleye.mk ${FILEDIR_ROOT_SHARE} + elif [[ ${ROOTDEVICE} == blueline ]] + then + FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/crosshatch/proprietary + mkdir -p ${FILEDIR_ROOT_SHARE} + + # blueline shares BoardConfigVendor.mk with its neph' crosshatch + mv ${FILEDIR_ROOT}/proprietary/BoardConfigVendor.mk ${FILEDIR_ROOT_SHARE} + # Move device-vendor-blueline.mk under crosshatch directory so that it can + # be inherited by device/google/crosshatch/aosp_blueline.mk + mv ${FILEDIR_ROOT}/proprietary/device-vendor.mk ${FILEDIR_ROOT_SHARE} fi echo \ \ Generating self-extracting script |