openwrt: some fixes

This commit is contained in:
Nick Peng
2023-04-21 23:27:05 +08:00
parent 54d95609bd
commit e38d5eaecc
6 changed files with 226 additions and 155 deletions

View File

@@ -74,6 +74,10 @@ build()
echo "Installed-Size: $INST_SIZE" >> $ROOT/control/control
fi
if [ "$STATIC" = "yes" ]; then
sed -i "s/Depends:.*/Depends: libc/" $ROOT/control/control
fi
cd $ROOT/control
chmod +x *
tar zcf ../control.tar.gz --owner=0 --group=0 ./