binge8
binge8
同样
> configure: error: Cross compiling required --hot=HOST_TUPLE and --build=ARCH 感谢,但是不大懂怎么搞啊
如果你的编译环境还是用的这个 apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-2004) 这已经过时了,就会报这个错误,用大雕仓库里的不就好了? apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs gcc-multilib...
费这个吊劲,换个思路嘛,看看什么插件依赖这玩意,别选不就完事了。我编译的armv8架构的,其他架构思路也一样,看了看是luci-app-easymesh的依赖,这玩意也没什么吊用,取消不就ok了,batman-adv也不要选,亲测成功
```bash function merge_package(){ repo=`echo $1 | rev | cut -d'/' -f 1 | rev` pkg=`echo $2 | rev | cut -d'/' -f 1 | rev` # find package/ -follow -name...
> ```shell > ```shell > function merge_package(){ > repo=`echo $1 | rev | cut -d'/' -f 1 | rev` > pkg=`echo $2 | rev | cut -d'/' -f 1 |...
优化了一下代码,[参考这里吧](https://github.com/binge8/op)
> > ```shell > > svn_export() { > > # 参数1是分支名, 参数2是子目录, 参数3是目标目录, 参数4仓库地址 > > trap 'rm -rf "$TMP_DIR"' 0 1 2 3 > > TMP_DIR="$(mktemp -d)" || exit...
> 抄的这位大佬的,在本地试过,不会下载整个库,只会下载指定的目录,并移动到根目录。 https://github.com/kenzok8/small-package > > ``` > function git_sparse_clone() { > branch="$1" rurl="$2" localdir="$3" && shift 3 > git clone -b $branch --depth 1 --filter=blob:none --sparse $rurl $localdir > cd...