Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mlm-games authored Oct 5, 2024
1 parent a7254e6 commit 0022424
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ inputs:
LDCHECKPATH:
description: 'Path of blobs to check'
required: true
default: 'system/bin/qseecomd'
default: 'recovery/root/system/bin/qseecomd'

runs:
using: "composite"
steps:
- name: Run LDCheck
run: |
# Copy tools to the appropriate location
cp ${{ github.action_path }}/tools/ldcheck ${{ inputs.OUTPUT_DIR }}/recovery/root/
cp ${{ github.action_path }}/tools/libneeds ${{ inputs.OUTPUT_DIR }}/recovery/root/
cp ${{ github.action_path }}/tools/ldcheck ${{ inputs.OUTPUT_DIR }}
cp ${{ github.action_path }}/tools/libneeds ${{ inputs.OUTPUT_DIR }}
# Change to the recovery root directory
cd ${{ inputs.OUTPUT_DIR }}/recovery/root
cd ${{ inputs.OUTPUT_DIR }}
# Run ldcheck and libneeds
python3 ldcheck -p system/lib64:vendor/lib64:system/lib:vendor/lib:sbin/lib:sbin/lib64 -d ${{ inputs.LDCHECKPATH }}
python3 ldcheck -p recovery/root/system/lib64:recovery/root/vendor/lib64:recovery/root/system/lib:recovery/root/vendor/lib:recovery/root/sbin/lib:recovery/root/sbin/lib64 -d ${{ inputs.LDCHECKPATH }}
echo "******************************************** Now using libneeds ****************************************"
chmod +x libneeds
./libneeds -p system/lib64:vendor/lib64:system/lib:vendor/lib:sbin -d ${{ inputs.LDCHECKPATH }}
Expand Down

0 comments on commit 0022424

Please sign in to comment.