Skip to content

Commit

Permalink
Fix broken o3 ipk build
Browse files Browse the repository at this point in the history
  • Loading branch information
j005u committed Dec 1, 2024
1 parent 0f95e15 commit 0b0695b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modloader-o3/ipk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ IPK_NAME = "${NAME}_${VERSION}_${ARCH}.ipk"
all:
mkdir -p tmp
echo "2.0" > tmp/debian-binary
mkdir -p tmp/data
cp -r control tmp/
cd tmp/control && tar --owner=0 --group=0 -czvf ../control.tar.gz .
cd tmp/ && tar --owner=0 --group=0 -czvf "../${IPK_NAME}" ./control.tar.gz ./debian-binary
cd tmp/data && tar --owner=0 --group=0 -czvf ../data.tar.gz .
cd tmp/ && tar --owner=0 --group=0 -czvf "../${IPK_NAME}" ./control.tar.gz ./data.tar.gz ./debian-binary

clean:
rm -rf tmp

0 comments on commit 0b0695b

Please sign in to comment.