Skip to content

Commit

Permalink
modver is not assigned
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwen committed Nov 2, 2024
1 parent 778c6b4 commit e302ec7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion singbox/AKMBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
modname=brutal

_modsrcdir="/usr/src/tcp-brutal"
modver="1.0.3"
modver="MODVER"

built_modules='brutal.ko'

Expand Down
2 changes: 1 addition & 1 deletion singbox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN TCP_BRUTAL_VERSION=$(curl -s https://api.github.com/repos/apernet/tcp-brutal
# Copy and update AKMBUILD file
COPY AKMBUILD /usr/src/tcp-brutal/
RUN cd /usr/src/tcp-brutal && \
sed -i "s/modver=\".*\"/modver=\"1.0.3\"/" AKMBUILD && \
sed -i "s/MODVER/$TCP_BRUTAL_VERSION_CLEAN/" AKMBUILD && \
akms install all && \
echo "Built tcp-brutal module for Sing-box version ${SINGBOX_VERSION}"

Expand Down

0 comments on commit e302ec7

Please sign in to comment.