Skip to content

Commit

Permalink
free more space
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Oct 3, 2023
1 parent e26bd10 commit 2e4602f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel-kit/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1001,9 +1001,12 @@ if [ "$CREATE_SOURCES_SFS" != "no" ]; then
ln -s ../../../usr/src/${KBUILD_DIR} ${KBUILD_DIR}/lib/modules/${kernel_version}${custom_suffix}/build
ln -s ../../../usr/src/${KBUILD_DIR} ${KBUILD_DIR}/lib/modules/${kernel_version}${custom_suffix}/source
fi
[ -n "$GITHUB_ACTIONS" ] && rm -rf ${KERNEL_SOURCES_DIR}
mksquashfs ${KBUILD_DIR} output/${KBUILD_DIR}.sfs $COMP
md5sum output/${KBUILD_DIR}.sfs > output/${KBUILD_DIR}.sfs.md5.txt
sha256sum output/${KBUILD_DIR}.sfs > output/${KBUILD_DIR}.sfs.sha256.txt
elif [ -n "$GITHUB_ACTIONS" ]; then
rm -rf ${KERNEL_SOURCES_DIR}
fi
fi

Expand Down

0 comments on commit 2e4602f

Please sign in to comment.