Giter Club home page Giter Club logo

padavan-build's Introduction

  • 👋 Hi, I’m @TurBoTse
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

padavan-build's People

Contributors

turbotse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

padavan-build's Issues

编译配置文件的优先级别

.yml
.config
.sh
/public/XX.sh
/public/XX.config
之间的关系以及优先级别是如何的?
如果他们之前存在冲突会导致编译失败吗?

//现在的问题是,我选上了插件,但是编译出来的固件里面没有
//如smartdns、adh、zeri、SSR plus等等都没有,光秃秃的

乌班图本地编译错误

构建设备:AC2100(RM2100)

Padavan源码地址:https://github.com/vb1980/Padavan-KVR
参考教程:https://www.right.com.cn/forum/thread-8104907-1-1.html

make[3]: 进入目录“/opt/padavan/trunk/user/miniupnpd/miniupnpd-2.3.0”
/opt/padavan/trunk/../toolchain-mipsel/toolchain-3.4.x/bin/mipsel-linux-uclibc-gcc -mips32r2 -march=mips32r2 -mtune=1004kc -c -Os -fomit-frame-pointer -pipe -Dlinux -D__linux__ -Dunix -DEMBED -I/opt/padavan/trunk/stage/include -Wall -Wno-trigraphs -Wno-strict-aliasing -Wno-format-security -fno-tree-slsr -fno-aggressive-loop-optimizations -Wno-pointer-sign -Wno-unused -fno-strict-aliasing -fno-common -D_GNU_SOURCE -Wall -Wextra -Wstrict-prototypes -Wdeclaration-after-statement -ffunction-sections -fdata-sections -fvisibility=hidden -DUSE_LIBNFNETLINK -I/opt/padavan/trunk/user/iptables/iptables-1.8.7/include -D_GNU_SOURCE -I. -DMINIUPNPD_GIT_REF="main-6231cafd6" miniupnpd.c -o miniupnpd.o
miniupnpd.c:51:10: fatal error: cap-ng.h: No such file or directory
#include <cap-ng.h>
^~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:170:miniupnpd.o] 错误 1
make[3]: 离开目录“/opt/padavan/trunk/user/miniupnpd/miniupnpd-2.3.0”
make[2]: *** [Makefile:16:all] 错误 2
make[2]: 离开目录“/opt/padavan/trunk/user/miniupnpd”
make[1]: *** [Makefile:251:all] 错误 2
make[1]: 离开目录“/opt/padavan/trunk/user”
make: *** [Makefile:202:user_only] 错误 2
root@mmp:/opt/padavan/trunk#
参考本仓库大佬Aticons的脚本修改的乌班图本地编译脚本,在编译中出现了这个错误始终无法解决,大佬有时间给指点下谢谢啦

找不到修改后的配置

找不到 public 文件夹下修改后的配置文件

Copy custom modify
  ls -lh public
  for m in $targets; do if [ ! -f public/$m.sh ]; then echo "public/$m.sh 未找到"
  for m in $targets; do if [ ! -f public/$m.sh ]; then echo "public/$m.sh 未找到"
  else
    if [ -f public/$m.sh ]; then cp -f public/$m.sh $work_dir; echo "$m.sh 拷贝成功"; fi; fi; done; \
  for m in $targets; do  if [ ! -f public/$m.config ]; then echo "public/$m.config 未找到"
  else
    if [ -f public/$m.config ]; then cp -f public/$m.config $config_dir/$m.config; echo "$m.config 已修改"; fi; fi; done; \
  if [ -f public/public.sh ]; then cp -f public/public.sh $work_dir; fi
  if [ -d hanwckf/config ]; then cp -f hanwckf/config/* $work_dir; fi
  if [ -d hanwckf/scripts ]; then cp -f hanwckf/scripts/* $work_dir; fi
  if [ -d hanwckf/modify ]; then cp -rf hanwckf/modify/* $work_dir; fi
  cd $work_dir
  for m in $targets; do if [ -f $m.config ]; then echo "拷贝 $m.config"; cp -f ./$m.config $config_dir/$m.config; fi; done; \
  for m in $targets; do if [ -f public.sh ]; then echo "执行 public.sh"; sh ./public.sh; fi; if [ -f $m.sh ]; then echo "执行 $m.sh"; sh ./$m.sh; fi; done; \
  shell: /usr/bin/bash -e {0}
  env:
    images_dir: /opt/images
    build_dir: /opt/rt-n56u
    work_dir: /opt/rt-n56u/trunk
    custom_modify: true
    src_git: https://github.com/hanwckf/rt-n56u.git
    config_dir: /opt/rt-n56u/trunk/configs/templates
    toolchain_dir: /opt/rt-n56u/toolchain-mipsel/toolchain-3.4.x
    toolchain_pkg: mipsel-linux-uclibc.tar.xz
    toolchain_url: https://github.com/TurBoTse/padavan-toolchain/releases/download/v1.0
    ENABLED_CFG: # CONFIG_FIRMWARE_CPU_SLEEP
  CONFIG_FIRMWARE_INCLUDE_LANG_CN
  CONFIG_FIRMWARE_INCLUDE_VLMCSD
  CONFIG_FIRMWARE_INCLUDE_TTYD
  CONFIG_FIRMWARE_INCLUDE_WIREGUARD
  
    DISABLED_CFG: CONFIG_FIRMWARE_INCLUDE_RPL2TP
  CONFIG_FIRMWARE_INCLUDE_OPENVPN
  CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT
  CONFIG_FIRMWARE_INCLUDE_GDUT_DRCOM
  CONFIG_FIRMWARE_INCLUDE_DOGCOM
  CONFIG_FIRMWARE_INCLUDE_MINIEAP
  CONFIG_FIRMWARE_INCLUDE_NJIT_CLIENT
  CONFIG_FIRMWARE_INCLUDE_NAPT66
  CONFIG_FIRMWARE_INCLUDE_MENTOHUST
  CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS
  CONFIG_FIRMWARE_INCLUDE_SSSERVER
  CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_SERVER
  CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CLIENT
  CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CMD
  CONFIG_FIRMWARE_INCLUDE_DNSFORWARDER
  
    build_variant: mt7621
    targets: K2P-5.0
public/K2P-5.0.sh 未找到
public/K2P-5.0.config 未找到
total 20K
-rw-r--r-- 1 runner docker 7.1K Apr 28 01:01 PSG1218.config
-rw-r--r-- 1 runner docker 1.5K Apr 28 01:01 PSG1218.sh
-rw-r--r-- 1 runner docker  432 Apr 28 01:01 README.md
-rw-r--r-- 1 runner docker 2.3K Apr 28 01:01 public.sh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.