From 4e5c87e1999e1f9b52f42c6cb6040c065ecd0101 Mon Sep 17 00:00:00 2001 From: Matthew Hilton <2693534+matt2005@users.noreply.github.com> Date: Sun, 5 Jan 2025 00:01:52 +0000 Subject: [PATCH] CI Updates (#697) * updated GHActions to latest versions * fix root margin * reordering and fix duplication * release fixing --- .github/workflows/crankshaft.yml | 8 +- .github/workflows/pifile.yml | 272 ++++++++++++++++--------------- .github/workflows/stale.yml | 2 +- export-image/prerun.sh | 3 +- updater/base_buster_arm7.Pifile | 48 +++++- updater/base_buster_armhf.Pifile | 43 ++++- 6 files changed, 226 insertions(+), 150 deletions(-) diff --git a/.github/workflows/crankshaft.yml b/.github/workflows/crankshaft.yml index 3aef6dee..cc44de7e 100644 --- a/.github/workflows/crankshaft.yml +++ b/.github/workflows/crankshaft.yml @@ -36,13 +36,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v4 with: submodules: true - name: Set up QEMU id: qemu - uses: docker/setup-qemu-action@v1.2.0 + uses: docker/setup-qemu-action@v3 with: image: tonistiigi/binfmt:latest platforms: all @@ -137,7 +137,7 @@ jobs: - name: Upload build artifacts id: upload_deploy - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: deploy path: | @@ -167,7 +167,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Download artifact - uses: actions/download-artifact@v4.1.8 + uses: actions/download-artifact@v4 with: name: deploy - diff --git a/.github/workflows/pifile.yml b/.github/workflows/pifile.yml index d1abf168..7cae7e72 100644 --- a/.github/workflows/pifile.yml +++ b/.github/workflows/pifile.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Get the version id: get_version @@ -23,22 +23,24 @@ jobs: if [ -z "$version" ] then version=$(date '+%Y%m%d') - echo ::set-output name=version::"${version}" + echo "version=${version}" >> $GITHUB_OUTPUT else - echo ::set-output name=version::"${version}" + echo "version=${version}" >> $GITHUB_OUTPUT fi builddate=$(date '+%Y-%m-%d') buildbranch='crankshaft-ng' buildhash=$(git rev-parse --short "$GITHUB_SHA") buildname="${builddate}-${buildbranch}-${buildhash}" - echo ::set-output name=version::${version} - echo ::set-output name=buildhash::${buildhash} - echo ::set-output name=buildbranch::${buildbranch} - echo ::set-output name=builddate::${builddate} - echo ::set-output name=buildname::${buildname} + echo "version=${version}" >> $GITHUB_OUTPUT + echo "buildhash=${buildhash}" >> $GITHUB_OUTPUT + echo "buildbranch=${buildbranch}" >> $GITHUB_OUTPUT + echo "builddate=${builddate}" >> $GITHUB_OUTPUT + echo "buildname=${buildname}" >> $GITHUB_OUTPUT env: version: ${{ github.event.inputs.version }} build: + outputs: + version: ${{ steps.get_version.outputs.version }} runs-on: ${{ matrix.host }} needs: [ version ] strategy: @@ -68,7 +70,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Get the version id: get_version @@ -77,7 +79,7 @@ jobs: then osname=${ostype}_${osname} fi - echo ::set-output name=version::"${version}-${osname}-${arch}" + echo "version=${version}-${osname}-${arch}" >> $GITHUB_OUTPUT env: version: ${{needs.version.outputs.version }} arch: ${{ matrix.config.arch }} @@ -85,18 +87,18 @@ jobs: osname: ${{ matrix.config.osname }} - name: Create Base Image - uses: Nature40/pimod@v0.5.0 + uses: Nature40/pimod@v0.6.1 #v0.5.0 with: pifile: ${{ matrix.config.basefile }}.Pifile - name: Rename Image - run: mv ${{ matrix.config.basefile }}.img crankshaft-${{needs.version.outputs.buildname }}.img + run: mv ${{ matrix.config.basefile }}.img ${{steps.get_version.outputs.version}}.img - name: Package zip id: packagezip run: | - IMG_FILENAME="crankshaft-${{needs.version.outputs.buildname }}.img" - ZIP_FILENAME="crankshaft-${{needs.version.outputs.buildname }}.zip" + IMG_FILENAME="${{steps.get_version.outputs.version}}.img" + ZIP_FILENAME="${{steps.get_version.outputs.version}}.zip" MD5HASH="${IMG_FILENAME}.md5" SHA1HASH="${IMG_FILENAME}.sha1" SHA256HASH="${IMG_FILENAME}.sha256" @@ -104,14 +106,14 @@ jobs: sha1sum "${IMG_FILENAME}" > "${SHA1HASH}" sha256sum "${IMG_FILENAME}" > "${SHA256HASH}" zip "${ZIP_FILENAME}" "${IMG_FILENAME}" "${MD5HASH}" "${SHA1HASH}" "${SHA256HASH}" - echo ::set-output name=ZIP_FILENAME::"${ZIP_FILENAME}" - echo ::set-output name=MD5HASH::"${MD5HASH}" - echo ::set-output name=SHA1HASH::"${SHA1HASH}" - echo ::set-output name=SHA256HASH::"${SHA256HASH}" + echo "ZIP_FILENAME=${ZIP_FILENAME}" >> $GITHUB_OUTPUT + echo "MD5HASH=${MD5HASH}" >> $GITHUB_OUTPUT + echo "SHA1HASH=${SHA1HASH}" >> $GITHUB_OUTPUT + echo "SHA256HASH=${SHA256HASH}" >> $GITHUB_OUTPUT - name: Upload build artifacts id: upload_deploy - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ steps.get_version.outputs.version }} path: | @@ -119,127 +121,129 @@ jobs: ${{ steps.packagezip.outputs.MD5HASH }} ${{ steps.packagezip.outputs.SHA1HASH }} ${{ steps.packagezip.outputs.SHA256HASH }} -# Create Release - release: - runs-on: ubuntu-latest - needs: [ version, build ] - name: 'Create release' - outputs: - release_upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps - steps: - name: Build Changelog id: github_release uses: mikepenz/release-changelog-builder-action@v5.0.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Create GitHub release - id: create_release - uses: actions/create-release@v1.0.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 with: - tag_name: ${{needs.version.outputs.version }} - release_name: ${{needs.version.outputs.buildname }} - #body: ${{steps.github_release.outputs.changelog}} - draft: true + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: ${{ steps.packagezip.outputs.ZIP_FILENAME }} + asset_name: ${{ steps.packagezip.outputs.ZIP_FILENAME }} + tag: ${{needs.version.outputs.version }} + latest: false prerelease: true + #draft: true + #body: ${{steps.github_release.outputs.changelog}} +# Create Release +# release: +# runs-on: ubuntu-latest +# needs: [ version, build ] +# name: 'Create release' +# outputs: +# release_upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps +# steps: +# - +# name: Build Changelog +# id: github_release +# uses: mikepenz/release-changelog-builder-action@v5.0.0 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# - +# name: Create GitHub release +# id: create_release +# uses: actions/create-release@v1.0.0 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# with: +# tag_name: ${{needs.version.outputs.version }} +# release_name: ${{needs.version.outputs.buildname }} +# #body: ${{steps.github_release.outputs.changelog}} +# draft: true +# prerelease: true # Upload release artifacts - upload: - needs: [ version, build, release ] - runs-on: ${{ matrix.host }} - strategy: - fail-fast: false - max-parallel: 3 - matrix: - host: [ - "ubuntu-latest", - #"macos-10.15", - ] - config: - - { - name: "Debian Buster armhf", - basefile: "base_buster_armhf", - arch: "armhf", - osname: "buster", - ostype: "Debian" - } - - { - name: "Debian Buster arm7", - basefile: "updater/base_buster_arm7", - arch: "arm7", - osname: "buster", - ostype: "Debian" - } - - name: 'Upload release: ${{ matrix.config.name }}' - steps: - - - name: Download build artifacts - uses: actions/download-artifact@v4.1.8 - with: - name: ${{ steps.get_version.outputs.version }} - - - - name: Get Artifact Filenames - id: getfilenames - run: | - IMG_FILENAME="crankshaft-${{needs.version.outputs.buildname }}.img" - ZIP_FILENAME="crankshaft-${{needs.version.outputs.buildname }}.zip" - MD5HASH="${IMG_FILENAME}.md5" - SHA1HASH="${IMG_FILENAME}.sha1" - SHA256HASH="${IMG_FILENAME}.sha256" - zip "${ZIP_FILENAME}" "${IMG_FILENAME}" "${MD5HASH}" "${SHA1HASH}" "${SHA256HASH}" - echo ::set-output name=ZIP_FILENAME::"${ZIP_FILENAME}" - echo ::set-output name=MD5HASH::"${MD5HASH}" - echo ::set-output name=SHA1HASH::"${SHA1HASH}" - echo ::set-output name=SHA256HASH::"${SHA256HASH}" - - - name: Upload zip to release - id: upload_zip - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_VERSION: ${{ needs.version.outputs.buildname }} - with: - upload_url: ${{needs.release.outputs.release_upload_url}} - asset_path: ${{ steps.getfilenames.outputs.ZIP_FILENAME }} - asset_name: ${{ steps.getfilenames.outputs.ZIP_FILENAME }} - asset_content_type: application/zip - - - name: Upload md5 to release - id: upload_md5 - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_VERSION: ${{ needs.version.outputs.buildname }} - with: - upload_url: ${{needs.release.outputs.release_upload_url}} - asset_path: ${{ steps.getfilenames.outputs.MD5HASH }} - asset_name: ${{ steps.getfilenames.outputs.MD5HASH }} - asset_content_type: text/plain - - - name: Upload sha1 to release - id: upload_sha1 - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_VERSION: ${{ needs.version.outputs.buildname }} - with: - upload_url: ${{needs.release.outputs.release_upload_url}} - asset_path: ${{ steps.getfilenames.outputs.SHA1HASH }} - asset_name: ${{ steps.getfilenames.outputs.SHA1HASH }} - asset_content_type: text/plain - - - name: Upload sha256 to release - id: upload_sha256 - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RELEASE_VERSION: ${{ needs.version.outputs.buildname }} - with: - upload_url: ${{needs.release.outputs.release_upload_url}} - asset_path: ${{ steps.getfilenames.outputs.SHA256HASH }} - asset_name: ${{ steps.getfilenames.outputs.SHA256HASH }} - asset_content_type: text/plain +# upload: +# needs: [ version, build, release ] +# runs-on: ${{ matrix.host }} +# strategy: +# fail-fast: false +# max-parallel: 3 +# matrix: +# host: [ +# "ubuntu-latest", +# #"macos-10.15", +# ] +# config: +# - { +# name: "Debian Buster armhf", +# basefile: "updater/base_buster_armhf", +# arch: "armhf", +# osname: "buster", +# ostype: "Debian" +# } +# - { +# name: "Debian Buster arm7", +# basefile: "updater/base_buster_arm7", +# arch: "arm7", +# osname: "buster", +# ostype: "Debian" +# } +# steps: +# - +# name: Get the version +# id: get_version +# run: | +# if [ -n "$ostype" ] +# then +# osname=${ostype}_${osname} +# fi +# echo "version=${version}-${osname}-${arch}" >> $GITHUB_OUTPUT +# env: +# version: ${{needs.version.outputs.version }} +# arch: ${{ matrix.config.arch }} +# ostype: ${{ matrix.config.ostype }} +# osname: ${{ matrix.config.osname }} +# - +# name: Download artifact +# uses: actions/download-artifact@v4 +# with: +# name: ${{ steps.get_version.outputs.version }} +# - name: Upload binaries to release +# uses: svenstaro/upload-release-action@v2 +# with: +# repo_token: ${{ secrets.GITHUB_TOKEN }} +# file: ${{ steps.get_version.outputs.version }}/${{ steps.get_version.outputs.version }}.zip +# asset_name: ${{ steps.get_version.outputs.version }}.zip +# tag: ${{ steps.get_version.outputs.version }} +# release_name: ${{needs.version.outputs.buildname }} +# draft: true +# - name: Upload MD5 to release +# uses: svenstaro/upload-release-action@v2 +# with: +# repo_token: ${{ secrets.GITHUB_TOKEN }} +# file: target/release/${{ steps.get_version.outputs.version }}.img.md5 +# asset_name: ${{ steps.get_version.outputs.version }}.img.md5 +# tag: ${{ github.ref }} +# release_name: ${{needs.version.outputs.buildname }} +# draft: true +# - name: Upload SHA1 to release +# uses: svenstaro/upload-release-action@v2 +# with: +# repo_token: ${{ secrets.GITHUB_TOKEN }} +# file: target/release/${{ steps.get_version.outputs.version }}.img.sha1 +# asset_name: ${{ steps.get_version.outputs.version }}.img.sha1 +# tag: ${{ github.ref }} +# release_name: ${{needs.version.outputs.buildname }} +# draft: true +# - name: Upload SHA256 to release +# uses: svenstaro/upload-release-action@v2 +# with: +# repo_token: ${{ secrets.GITHUB_TOKEN }} +# file: target/release/${{ steps.get_version.outputs.version }}.img.sha256 +# asset_name: ${{ steps.get_version.outputs.version }}.img.sha256 +# tag: ${{ github.ref }} +# release_name: ${{needs.version.outputs.buildname }} +# draft: true \ No newline at end of file diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 58353e05..cd3e1151 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -21,7 +21,7 @@ jobs: stale-issue-label: 'no-issue-activity' exempt-issue-labels: 'awaiting-approval,work-in-progress,dontclose,documentation,security,pinned,future-enhancement,enhancement' close-issue-message: 'This issue was closed because it has been stalled for 60 days with no activity.' - days-before-issue-close: 0 + days-before-issue-close: 30 days-before-issue-stale: 120 exempt-all-pr-assignees: true stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 30 days.' diff --git a/export-image/prerun.sh b/export-image/prerun.sh index a5a389f4..e73e9707 100755 --- a/export-image/prerun.sh +++ b/export-image/prerun.sh @@ -18,7 +18,8 @@ ALIGN="$((4 * 1024 * 1024))" # some overhead (since actual space usage is usually rounded up to the # filesystem block size) and gives some free space on the resulting # image. -ROOT_MARGIN="$(echo "($ROOT_SIZE * 0.2 + 200 * 1024 * 1024) / 1" | bc)" +#ROOT_MARGIN="$(echo "($ROOT_SIZE * 0.2 + 200 * 1024 * 1024) / 1" | bc)" +ROOT_MARGIN="$(echo "(($ROOT_SIZE * 0.2) + (512 * 1024 * 1024)) / 1" | bc)" # add 512MB to the rootfs size BOOT_PART_START=$((ALIGN)) BOOT_PART_SIZE=$(((BOOT_SIZE + ALIGN - 1) / ALIGN * ALIGN)) diff --git a/updater/base_buster_arm7.Pifile b/updater/base_buster_arm7.Pifile index be28a9a9..9805436d 100644 --- a/updater/base_buster_arm7.Pifile +++ b/updater/base_buster_arm7.Pifile @@ -1,5 +1,5 @@ #FROM https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip -FROM https://github.com/opencardev/crankshaft/releases/download/csng-alpha7.4/2021-09-22-crankshaft-ng-ea9e288.zip +FROM https://github.com/opencardev/crankshaft/releases/download/v.2022.09.12.1/2022-09-11-crankshaft-ng-66525ef.zip PUMP 1000M # Update OS and sources @@ -11,13 +11,43 @@ apt-get install -y sl apt-get autoremove -y " +# update openauto and aasdk RUN bash -c " -cd /root -rm -rf /usr/local/qt5 -wget https://github.com/opencardev/prebuilts/raw/master/qt5/Qt_5151_armv7l_OpenGLES2.tar.xz.part00 -wget https://github.com/opencardev/prebuilts/raw/master/qt5/Qt_5151_armv7l_OpenGLES2.tar.xz.part01 -wget https://github.com/opencardev/prebuilts/raw/master/qt5/Qt_5151_armv7l_OpenGLES2.tar.xz.part02 -wget https://github.com/opencardev/prebuilts/raw/master/qt5/Qt_5151_armv7l_OpenGLES2.tar.xz.part03 -cat Qt_5151_armv7l_OpenGLES2.tar.xz* > Qt5_OpenGLES2.tar.xz -tar -xf Qt5_OpenGLES2.tar.xz -C / +rm -f /usr/local/bin/autoapp +wget -O /usr/local/bin/autoapp https://github.com/opencardev/prebuilts/raw/master/openauto/autoapp +chmod 777 /usr/local/bin/autoapp +rm -f /usr/local/bin/autoapp.md5 +wget -O /usr/local/bin/autoapp.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/autoapp.md5 +chmod 644 /usr/local/bin/autoapp.md5 +rm -f /usr/local/bin/autoapp_helper +wget -O /usr/local/bin/autoapp_helper https://github.com/opencardev/prebuilts/raw/master/openauto/autoapp_helper +chmod 777 /usr/local/bin/autoapp_helper +rm -f /usr/local/bin/autoapp_helper.md5 +wget -O /usr/local/bin/autoapp_helper.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/autoapp_helper.md5 +chmod 644 /usr/local/bin/autoapp_helper.md5 +rm -f /usr/local/bin/btservice +wget -O /usr/local/bin/btservice https://github.com/opencardev/prebuilts/raw/master/openauto/btservice +chmod 777 /usr/local/bin/btservice +rm -f /usr/local/bin/btservice.md5 +wget -O /usr/local/bin/btservice.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/btservice.md5 +chmod 644 /usr/local/bin/btservice.md5 +rm -f /usr/local/lib/libaasdk.so +wget -O /usr/local/lib/libaasdk.so https://github.com/opencardev/prebuilts/raw/master/openauto/libaasdk.so +chmod 666 /usr/local/lib/libaasdk.so +rm -f /usr/local/lib/libaasdk.so.md5 +wget -O /usr/local/lib/libaasdk.so.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/libaasdk.so.md5 +chmod 644 /usr/local/lib/libaasdk.so.md5 +rm -f /usr/local/lib/libaasdk_proto.so +wget -O /usr/local/lib/libaasdk_proto.so https://github.com/opencardev/prebuilts/raw/master/openauto/libaasdk_proto.so +chmod 666 /usr/local/lib/libaasdk_proto.so +rm -f /usr/local/lib/libaasdk_proto.so.md5 +wget -O /usr/local/lib/libaasdk_proto.so.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/libaasdk_proto.so.md5 +chmod 644 /usr/local/lib/libaasdk_proto.so.md5 +rm -f /usr/local/bin/crankshaft +wget -O /usr/local/bin/crankshaft https://github.com/opencardev/prebuilts/raw/master/csmt/crankshaft +chmod 777 /usr/local/bin/crankshaft +rm -f /usr/local/bin/crankshaft.md5 +wget -O /usr/local/bin/crankshaft.md5 https://github.com/opencardev/prebuilts/raw/master/csmt/crankshaft.md5 +chmod 644 /usr/local/bin/crankshaft.md5 + " diff --git a/updater/base_buster_armhf.Pifile b/updater/base_buster_armhf.Pifile index 8667c8b0..acf93310 100644 --- a/updater/base_buster_armhf.Pifile +++ b/updater/base_buster_armhf.Pifile @@ -1,5 +1,5 @@ #FROM https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip -FROM https://github.com/opencardev/crankshaft/releases/download/csng-alpha7.4/2021-09-22-crankshaft-ng-ea9e288.zip +FROM https://github.com/opencardev/crankshaft/releases/download/v.2022.09.12.1/2022-09-11-crankshaft-ng-66525ef-pi2.zip PUMP 1000M # Update OS and sources @@ -10,3 +10,44 @@ DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade apt-get install -y sl apt-get autoremove -y " + +# update openauto and aasdk +RUN bash -c " +rm -f /usr/local/bin/autoapp +wget -O /usr/local/bin/autoapp https://github.com/opencardev/prebuilts/raw/master/openauto/autoapp +chmod 777 /usr/local/bin/autoapp +rm -f /usr/local/bin/autoapp.md5 +wget -O /usr/local/bin/autoapp.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/autoapp.md5 +chmod 644 /usr/local/bin/autoapp.md5 +rm -f /usr/local/bin/autoapp_helper +wget -O /usr/local/bin/autoapp_helper https://github.com/opencardev/prebuilts/raw/master/openauto/autoapp_helper +chmod 777 /usr/local/bin/autoapp_helper +rm -f /usr/local/bin/autoapp_helper.md5 +wget -O /usr/local/bin/autoapp_helper.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/autoapp_helper.md5 +chmod 644 /usr/local/bin/autoapp_helper.md5 +rm -f /usr/local/bin/btservice +wget -O /usr/local/bin/btservice https://github.com/opencardev/prebuilts/raw/master/openauto/btservice +chmod 777 /usr/local/bin/btservice +rm -f /usr/local/bin/btservice.md5 +wget -O /usr/local/bin/btservice.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/btservice.md5 +chmod 644 /usr/local/bin/btservice.md5 +rm -f /usr/local/lib/libaasdk.so +wget -O /usr/local/lib/libaasdk.so https://github.com/opencardev/prebuilts/raw/master/openauto/libaasdk.so +chmod 666 /usr/local/lib/libaasdk.so +rm -f /usr/local/lib/libaasdk.so.md5 +wget -O /usr/local/lib/libaasdk.so.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/libaasdk.so.md5 +chmod 644 /usr/local/lib/libaasdk.so.md5 +rm -f /usr/local/lib/libaasdk_proto.so +wget -O /usr/local/lib/libaasdk_proto.so https://github.com/opencardev/prebuilts/raw/master/openauto/libaasdk_proto.so +chmod 666 /usr/local/lib/libaasdk_proto.so +rm -f /usr/local/lib/libaasdk_proto.so.md5 +wget -O /usr/local/lib/libaasdk_proto.so.md5 https://github.com/opencardev/prebuilts/raw/master/openauto/libaasdk_proto.so.md5 +chmod 644 /usr/local/lib/libaasdk_proto.so.md5 +rm -f /usr/local/bin/crankshaft +wget -O /usr/local/bin/crankshaft https://github.com/opencardev/prebuilts/raw/master/csmt/crankshaft +chmod 777 /usr/local/bin/crankshaft +rm -f /usr/local/bin/crankshaft.md5 +wget -O /usr/local/bin/crankshaft.md5 https://github.com/opencardev/prebuilts/raw/master/csmt/crankshaft.md5 +chmod 644 /usr/local/bin/crankshaft.md5 + +" \ No newline at end of file