Skip to content

Commit

Permalink
更新编译脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Jan 1, 2025
1 parent 4cb8c98 commit d0177e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ jobs:
SOURCE=/tmp/linux-firmware
git clone --depth=1 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git ${SOURCE}
while read L; do
[ -z "${L}" ] && continue
if [ -e "${SOURCE}/${L}" ]; then
mkdir -p "$(dirname output/firmware/${L})"
cp "${SOURCE}/${L}" "output/firmware/${L}"
cp -f "${SOURCE}/${L}" "output/firmware/${L}"
else
[ ! -e "output/firmware/${L}" ] && echo "Missing ${L}"
fi
done < <(find output/modules/${KVER}-qnap -name \*.ko -exec sh -c '/sbin/modinfo {} | grep ^firmware' \; | awk '{print $2}')
done <<<$(find output/modules/${KVER}-qnap -name \*.ko -exec sh -c 'modinfo {} | grep ^firmware' \; | awk '{print $2}')
- name: Tar to Artifacts
run: |
Expand Down

0 comments on commit d0177e8

Please sign in to comment.