Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:luci:luci.essentials [2023/01/17 04:27] – [LuCI essentials] update infobox vgaeteradocs:guide-user:luci:luci.essentials [2023/04/03 01:00] – [Offline installation] vgaetera
Line 116: Line 116:
 === Basic === === Basic ===
   * [[packages:pkgdata:liblua5.1.5|liblua]]   * [[packages:pkgdata:liblua5.1.5|liblua]]
-  * [[packages:pkgdata:libubus20191227|libubus]]+  * [[packages:pkgdata:libubus20220601|libubus]]
   * [[packages:pkgdata:libubus-lua]]   * [[packages:pkgdata:libubus-lua]]
   * [[packages:pkgdata:libuci-lua]]   * [[packages:pkgdata:libuci-lua]]
Line 167: Line 167:
  
 # Fetch OpenWrt release # Fetch OpenWrt release
-eval $(ssh openwrt cat /etc/openwrt_release) +eval $(ssh "${OWRT_HOST}" cat /etc/os-release)
-if [ "${DISTRIB_RELEASE}" = "SNAPSHOT"+
-then OWRT_DIR="snapshots" +
-else OWRT_DIR="releases/${DISTRIB_RELEASE}" +
-fi+
  
 # LuCI packages and repos # LuCI packages and repos
-OWRT_URL="https://downloads.openwrt.org"+case "${VERSION_ID}" in 
 +(snapshot) OWRT_URL="https://downloads.${HOME_URL#*//}snapshots/" ;; 
 +(*) OWRT_URL="https://downloads.${HOME_URL#*//}releases/${VERSION_ID}/;; 
 +esac
 OWRT_CORE="libiwinfo libiwinfo-lua" OWRT_CORE="libiwinfo libiwinfo-lua"
-OWRT_COREURL="${OWRT_URL}/${OWRT_DIR}/targets/${DISTRIB_TARGET}/packages"+OWRT_COREURL="${OWRT_URL}targets/${OPENWRT_BOARD}/packages"
 OWRT_BASE="libjson-c2 liblua lua libuci-lua libubus libubus-lua uhttpd rpcd" OWRT_BASE="libjson-c2 liblua lua libuci-lua libubus libubus-lua uhttpd rpcd"
-OWRT_BASEURL="${OWRT_URL}/${OWRT_DIR}/packages/${DISTRIB_ARCH}/base"+OWRT_BASEURL="${OWRT_URL}packages/${OPENWRT_ARCH}/base"
 OWRT_LUCI="luci-base liblucihttp liblucihttp-lua luci-lib-ip luci-lib-nixio \ OWRT_LUCI="luci-base liblucihttp liblucihttp-lua luci-lib-ip luci-lib-nixio \
     luci-theme-bootstrap luci-mod-admin-full luci-lib-jsonc luci-mod-status \     luci-theme-bootstrap luci-mod-admin-full luci-lib-jsonc luci-mod-status \
     luci-mod-system luci-mod-network"     luci-mod-system luci-mod-network"
-OWRT_LUCIURL="${OWRT_URL}/${OWRT_DIR}/packages/${DISTRIB_ARCH}/luci"+OWRT_LUCIURL="${OWRT_URL}packages/${OPENWRT_ARCH}/luci"
  
 # Download packages from repos # Download packages from repos
  • Last modified: 2024/10/27 22:35
  • by palebloodsky