|
@@ -134,13 +134,17 @@ jobs:
|
|
|
if [ -f out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img ]; then
|
|
if [ -f out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img ]; then
|
|
|
echo "CHECK_IMG_IS_OK=true" >> $GITHUB_ENV
|
|
echo "CHECK_IMG_IS_OK=true" >> $GITHUB_ENV
|
|
|
echo "MD5_IMG=$(md5sum out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img | cut -d ' ' -f 1)" >> $GITHUB_ENV
|
|
echo "MD5_IMG=$(md5sum out/target/product/${{ github.event.inputs.DEVICE_NAME }}/OrangeFox*.img | cut -d ' ' -f 1)" >> $GITHUB_ENV
|
|
|
- cd OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}
|
|
|
|
|
- mv OrangeFox*.img recovery.img
|
|
|
|
|
else
|
|
else
|
|
|
echo "Recovery out directory is empty."
|
|
echo "Recovery out directory is empty."
|
|
|
fi
|
|
fi
|
|
|
continue-on-error: true
|
|
continue-on-error: true
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+ - name: Rename the Recovery
|
|
|
|
|
+ run: |
|
|
|
|
|
+ cd OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/
|
|
|
|
|
+ mv OrangeFox*.img recovery.img
|
|
|
|
|
+ continue-on-error: true
|
|
|
|
|
+
|
|
|
- name: Include Recovery Installer
|
|
- name: Include Recovery Installer
|
|
|
run: |
|
|
run: |
|
|
|
if [ ${{ github.event.inputs.RECOVERY_INSTALLER }} = true ]; then
|
|
if [ ${{ github.event.inputs.RECOVERY_INSTALLER }} = true ]; then
|
|
@@ -193,7 +197,7 @@ jobs:
|
|
|
cd tools
|
|
cd tools
|
|
|
mv -n libneeds ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery/root/
|
|
mv -n libneeds ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery/root/
|
|
|
mv -n ldcheck ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery/root/
|
|
mv -n ldcheck ${GITHUB_WORKSPACE}/OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery/root/
|
|
|
- cd ../workspace/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery/root
|
|
|
|
|
|
|
+ cd ../OrangeFox/fox_${{ github.event.inputs.MANIFEST_BRANCH }}/out/target/product/${{ github.event.inputs.DEVICE_NAME }}/recovery/root/
|
|
|
python3 ldcheck -p system/lib64:vendor/lib64:system/lib:vendor/lib -d ${{ github.event.inputs.LDCHECK }}
|
|
python3 ldcheck -p system/lib64:vendor/lib64:system/lib:vendor/lib -d ${{ github.event.inputs.LDCHECK }}
|
|
|
echo "Done checking missing dependencies. Review, and reconfigure your tree."
|
|
echo "Done checking missing dependencies. Review, and reconfigure your tree."
|
|
|
continue-on-error: true
|
|
continue-on-error: true
|