modfiy is-opkg install method
This commit is contained in:
parent
464428f668
commit
bfcee62ea2
@ -18,7 +18,8 @@ OPKG_CONF_DIR_M=${IS_ROOT}/etc/opkg_m
|
|||||||
FEEDS_SERVER=https://istore.istoreos.com/repo
|
FEEDS_SERVER=https://istore.istoreos.com/repo
|
||||||
FEEDS_SERVER_MIRRORS="https://repo.istoreos.com/repo"
|
FEEDS_SERVER_MIRRORS="https://repo.istoreos.com/repo"
|
||||||
DISABLE_MIRROR=false
|
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
|
# for istore self upgrade
|
||||||
ISTORE_PKG=luci-app-store
|
ISTORE_PKG=luci-app-store
|
||||||
ISTORE_DEP_PKGS="luci-lib-taskd luci-lib-xterm taskd"
|
ISTORE_DEP_PKGS="luci-lib-taskd luci-lib-xterm taskd"
|
||||||
@ -252,8 +253,9 @@ case $action in
|
|||||||
update
|
update
|
||||||
;;
|
;;
|
||||||
"install")
|
"install")
|
||||||
check_space
|
opkg install "$1"
|
||||||
wrapped_in_update opkg_wrap_mirrors install "$@" && try_upgrade_depends "$1" && try_autoconf
|
#check_space
|
||||||
|
#wrapped_in_update opkg_wrap_mirrors install "$@" && try_upgrade_depends "$1" && try_autoconf
|
||||||
;;
|
;;
|
||||||
"autoconf")
|
"autoconf")
|
||||||
try_autoconf
|
try_autoconf
|
||||||
|
@ -69,6 +69,7 @@ do_istore() {
|
|||||||
|
|
||||||
#添加istore软件源
|
#添加istore软件源
|
||||||
wget -O /etc/opkg/customfeeds.conf https://cafe.cpolar.top/wkdaily/be3600/raw/branch/master/64bit/customfeeds.conf
|
wget -O /etc/opkg/customfeeds.conf https://cafe.cpolar.top/wkdaily/be3600/raw/branch/master/64bit/customfeeds.conf
|
||||||
|
opkg update
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user