File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,11 @@ if [ -n "${FIRMWARE_URL}" ]; then
2828 tar -xf " ${FIRMWARE_URL} " -C " ${FIRMWARE_OUTPUT_PATH} " --strip-components=1
2929 # For amdgpu zone kernel, we only want the amdgpu firmwares, so remove the rest to keep the addons small
3030 if [ " ${KERNEL_FLAVOR} " = " zone-amdgpu" ]; then
31- find " ${FIRMWARE_OUTPUT_PATH} " -maxdepth 1 ! -name ' amdgpu' ! -name ' .' -exec rm -rf {} +
31+ find " $FIRMWARE_OUTPUT_PATH " -maxdepth 1 ! -name ' amdgpu' ! -name " $FIRMWARE_OUTPUT_PATH " -exec rm -rf {} +
32+ # Compress firmwares
33+ xz " ${FIRMWARE_OUTPUT_PATH} /amdgpu/*"
3234 fi
35+ ls -lah " ${FIRMWARE_OUTPUT_PATH} /amdgpu"
3336fi
3437
3538mv " ${MODULES_INSTALL_PATH} /lib/modules/${KERNEL_MODULES_VER} " " ${MODULES_OUTPUT_PATH} "
You can’t perform that action at this time.
0 commit comments