modfiy is-opkg install method

This commit is contained in:
悟空的日常镜像仓库 2025-05-18 13:08:22 +08:00
parent 464428f668
commit bfcee62ea2
2 changed files with 6 additions and 3 deletions

View File

@ -18,7 +18,8 @@ OPKG_CONF_DIR_M=${IS_ROOT}/etc/opkg_m
FEEDS_SERVER=https://istore.istoreos.com/repo
FEEDS_SERVER_MIRRORS="https://repo.istoreos.com/repo"
DISABLE_MIRROR=false
ARCH="aarch64_cortex-a53"
#ARCH="aarch64_cortex-a53"
ARCH=`sed -n -e 's/^Architecture: *\([^ ]\+\) *$/\1/p' /rom/usr/lib/opkg/info/libc.control /usr/lib/opkg/info/libc.control 2>/dev/null | head -1`
# for istore self upgrade
ISTORE_PKG=luci-app-store
ISTORE_DEP_PKGS="luci-lib-taskd luci-lib-xterm taskd"
@ -252,8 +253,9 @@ case $action in
update
;;
"install")
check_space
wrapped_in_update opkg_wrap_mirrors install "$@" && try_upgrade_depends "$1" && try_autoconf
opkg install "$1"
#check_space
#wrapped_in_update opkg_wrap_mirrors install "$@" && try_upgrade_depends "$1" && try_autoconf
;;
"autoconf")
try_autoconf

View File

@ -69,6 +69,7 @@ do_istore() {
#添加istore软件源
wget -O /etc/opkg/customfeeds.conf https://cafe.cpolar.top/wkdaily/be3600/raw/branch/master/64bit/customfeeds.conf
opkg update
}