mirror of
https://github.com/openwrt-xiaomi/builder.git
synced 2025-12-11 17:14:29 +05:00
Update
This commit is contained in:
@@ -14,8 +14,11 @@ sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk
|
|||||||
```
|
```
|
||||||
git clone https://github.com/openwrt-xiaomi/builder -b v21 openwrt-v21
|
git clone https://github.com/openwrt-xiaomi/builder -b v21 openwrt-v21
|
||||||
cd openwrt-v21
|
cd openwrt-v21
|
||||||
./xcreate.sh -v xq-21.02.1
|
|
||||||
cd xq-21.02.1
|
./xcreate.sh -v xq-21.02.3
|
||||||
|
cd xq-21.02.3
|
||||||
|
|
||||||
./xupdate.sh -f
|
./xupdate.sh -f
|
||||||
|
|
||||||
./xmake.sh -f -t r3d
|
./xmake.sh -f -t r3d
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -3,10 +3,6 @@
|
|||||||
#GIT_FEED _alpine_fan_control=https://github.com/openwrt-xiaomi/openwrt-alpine-fan-control.git
|
#GIT_FEED _alpine_fan_control=https://github.com/openwrt-xiaomi/openwrt-alpine-fan-control.git
|
||||||
CONFIG_FEED__alpine_fan_control=m
|
CONFIG_FEED__alpine_fan_control=m
|
||||||
|
|
||||||
### qBittorrent
|
|
||||||
##GIT_FEED _qBittorrent=https://github.com/openwrt-xiaomi/qBittorrent-openwrt-package.git^887ebfb9f255f78926cc6c643580f897803619f3
|
|
||||||
#CONFIG_FEED__qBittorrent=m
|
|
||||||
|
|
||||||
### luci-app-temp-status
|
### luci-app-temp-status
|
||||||
#GIT_PACKAGE luci-app-temp-status=https://github.com/openwrt-xiaomi/luci-app-temp-status.git master
|
#GIT_PACKAGE luci-app-temp-status=https://github.com/openwrt-xiaomi/luci-app-temp-status.git master
|
||||||
|
|
||||||
@@ -25,6 +21,12 @@ CONFIG_FEED__alpine_fan_control=m
|
|||||||
### luci-app-timecontrol
|
### luci-app-timecontrol
|
||||||
#GIT_PACKAGE luci-app-timecontrol=https://github.com/openwrt-xiaomi/luci-app-timecontrol.git main
|
#GIT_PACKAGE luci-app-timecontrol=https://github.com/openwrt-xiaomi/luci-app-timecontrol.git main
|
||||||
|
|
||||||
### qBittorrent
|
### luci-app-cpufreq
|
||||||
##GIT_PACKAGE qBittorrent=https://github.com/openwrt-xiaomi/qBittorrent-openwrt-package.git for-openwrt-21.02
|
#GIT_PACKAGE luci-app-cpufreq=https://github.com/openwrt-xiaomi/luci-app-cpufreq.git master
|
||||||
|
|
||||||
|
### qBittorrent
|
||||||
|
#GIT_PACKAGE qBittorrent=https://github.com/openwrt-xiaomi/qBittorrent-openwrt-package.git master
|
||||||
|
|
||||||
|
### luci-app-filebrowser
|
||||||
|
#GIT_PACKAGE luci-app-filebrowser=https://github.com/openwrt-xiaomi/luci-app-filebrowser.git master
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
### Torrent clients
|
### Torrent clients
|
||||||
|
CONFIG_PACKAGE_transmission-daemon=y
|
||||||
CONFIG_PACKAGE_transmission-web=y
|
CONFIG_PACKAGE_transmission-web=y
|
||||||
#CONFIG_PACKAGE_transmission-web-control=y
|
CONFIG_PACKAGE_transmission-remote=y
|
||||||
CONFIG_PACKAGE_luci-app-transmission=y
|
CONFIG_PACKAGE_luci-app-transmission=y
|
||||||
CONFIG_PACKAGE_luci-i18n-transmission-ru=y
|
CONFIG_PACKAGE_luci-i18n-transmission-ru=y
|
||||||
|
|
||||||
|
|||||||
13
r3d.config
13
r3d.config
@@ -2,10 +2,6 @@ CONFIG_TARGET_ipq806x=y
|
|||||||
CONFIG_TARGET_ipq806x_generic=y
|
CONFIG_TARGET_ipq806x_generic=y
|
||||||
CONFIG_TARGET_ipq806x_generic_DEVICE_xiaomi_r3d=y
|
CONFIG_TARGET_ipq806x_generic_DEVICE_xiaomi_r3d=y
|
||||||
|
|
||||||
#CONFIG_TARGET_MULTI_PROFILE=y
|
|
||||||
#CONFIG_TARGET_DEVICE_PACKAGES_ipq806x_generic_DEVICE_xiaomi_r3d="-dnsmasq"
|
|
||||||
#CONFIG_TARGET_PER_DEVICE_ROOTFS=y
|
|
||||||
|
|
||||||
#include _addons.config
|
#include _addons.config
|
||||||
#include _base.config
|
#include _base.config
|
||||||
#include _wifi_en.config
|
#include _wifi_en.config
|
||||||
@@ -45,12 +41,13 @@ CONFIG_PACKAGE_luci-i18n-sqm-ru=y
|
|||||||
CONFIG_PACKAGE_luci-app-timecontrol=y
|
CONFIG_PACKAGE_luci-app-timecontrol=y
|
||||||
|
|
||||||
### qBittorrent
|
### qBittorrent
|
||||||
#CONFIG_PACKAGE_boost=y
|
CONFIG_PACKAGE_boost=y
|
||||||
#CONFIG_PACKAGE_boost-system=y
|
CONFIG_PACKAGE_boost-system=y
|
||||||
#CONFIG_PACKAGE_rblibtorrent=y
|
CONFIG_PACKAGE_rblibtorrent=y
|
||||||
#CONFIG_PACKAGE_qBittorrent=y
|
CONFIG_PACKAGE_qbittorrent=y
|
||||||
|
|
||||||
### FileBrowser
|
### FileBrowser
|
||||||
|
CONFIG_PACKAGE_wget-ssl=y
|
||||||
CONFIG_PACKAGE_luci-app-filebrowser=y
|
CONFIG_PACKAGE_luci-app-filebrowser=y
|
||||||
|
|
||||||
### DNSMasq
|
### DNSMasq
|
||||||
|
|||||||
27
xcommon.sh
27
xcommon.sh
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
XSUPPORTEDVER=21
|
XSUPPORTEDVER=21
|
||||||
XREPOADDR=https://github.com/openwrt-xiaomi
|
XREPOADDR=https://github.com/openwrt-xiaomi
|
||||||
XDEFBRANCH=xq-21.02.1
|
XDEFBRANCH=xq-21.02.3
|
||||||
|
|
||||||
logmsg() {
|
logmsg() {
|
||||||
echo "$@"
|
echo "$@"
|
||||||
@@ -83,28 +83,3 @@ get_cfg_pkg_flag() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,9 @@ export XDIR=$SCRIPT_DIR
|
|||||||
|
|
||||||
. ./xcommon.sh
|
. ./xcommon.sh
|
||||||
|
|
||||||
[ -z "$*" ] && die "No options found!"
|
#[ -z "$*" ] && die "No options found!"
|
||||||
|
|
||||||
|
TARGET_BRANCH=
|
||||||
while getopts "v:" opt; do
|
while getopts "v:" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
v ) TARGET_BRANCH=$OPTARG;;
|
v ) TARGET_BRANCH=$OPTARG;;
|
||||||
|
|||||||
10
xmake.sh
10
xmake.sh
@@ -5,10 +5,12 @@ export XDIR=$SCRIPT_DIR
|
|||||||
|
|
||||||
. ./xcommon.sh
|
. ./xcommon.sh
|
||||||
|
|
||||||
|
MAKE_JOBS=
|
||||||
XTARGET=
|
XTARGET=
|
||||||
OPT_FULL_REBUILD=false
|
OPT_FULL_REBUILD=false
|
||||||
while getopts "t:f" opt; do
|
while getopts "j:t:f" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
|
j) MAKE_JOBS=$OPTARG;;
|
||||||
t) XTARGET=$OPTARG;;
|
t) XTARGET=$OPTARG;;
|
||||||
f) OPT_FULL_REBUILD=true;;
|
f) OPT_FULL_REBUILD=true;;
|
||||||
esac
|
esac
|
||||||
@@ -19,7 +21,7 @@ CFG=$XDIR/$XTARGET.config
|
|||||||
[ ! -f "$CFG" ] && die "File '$XTARGET.config' not found!"
|
[ ! -f "$CFG" ] && die "File '$XTARGET.config' not found!"
|
||||||
|
|
||||||
if [ "$OPT_FULL_REBUILD" = "true" ]; then
|
if [ "$OPT_FULL_REBUILD" = "true" ]; then
|
||||||
make clean
|
[ -f .config ] && make clean
|
||||||
rm -rf tmp
|
rm -rf tmp
|
||||||
#rm -rf feeds/luci.tmp
|
#rm -rf feeds/luci.tmp
|
||||||
#rm -rf feeds/packages.tmp
|
#rm -rf feeds/packages.tmp
|
||||||
@@ -44,7 +46,9 @@ if [ $( get_cfg_pkg_flag "$XDIR/.config" "dnsmasq-full" ) = "y" ]; then
|
|||||||
sed -i '/CONFIG_PACKAGE_dnsmasq=y/d' $XDIR/.config
|
sed -i '/CONFIG_PACKAGE_dnsmasq=y/d' $XDIR/.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MAKE_JOBS=$( grep processor /proc/cpuinfo | tail -n 1 | awk '{print $3}' )
|
if [ -z "$MAKE_JOBS" ]; then
|
||||||
|
MAKE_JOBS=$( grep processor /proc/cpuinfo | tail -n 1 | awk '{print $3}' )
|
||||||
|
fi
|
||||||
|
|
||||||
#make tools/install -j$MAKE_JOBS
|
#make tools/install -j$MAKE_JOBS
|
||||||
#make toolchain/install -j$MAKE_JOBS
|
#make toolchain/install -j$MAKE_JOBS
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ while getopts "f" opt; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
[ ! -d "$FEEDSDIR/package" ] && OPT_FULL_UPDATE=true
|
[ ! -d "$FEEDSDIR" ] && OPT_FULL_UPDATE=true
|
||||||
|
|
||||||
rm -rf tmp
|
rm -rf tmp
|
||||||
if [ "$OPT_FULL_UPDATE" = "true" ]; then
|
if [ "$OPT_FULL_UPDATE" = "true" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user