mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 11:17:34 +08:00
update 2022-07-28 20:25:10
This commit is contained in:
parent
bc3ea88772
commit
71cb7cd92a
@ -10,11 +10,11 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_ARCH_LINKEASE:=$(ARCH)
|
||||
|
||||
PKG_NAME:=linkease
|
||||
PKG_VERSION:=0.8.1
|
||||
PKG_VERSION:=0.8.2
|
||||
PKG_RELEASE:=$(PKG_ARCH_LINKEASE)-1
|
||||
PKG_SOURCE:=$(PKG_NAME)-binary-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://fw.koolcenter.com/binary/LinkEase/LinuxStorage/
|
||||
PKG_HASH:=4bfc6e916324d305ad3309cb46ad78c6e356bca79b4cef75accf82b018600105
|
||||
PKG_HASH:=10791bee066ef29ea757a77a4d1a80e69aab919c59d4325a40f3f7b944d0a151
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-binary-$(PKG_VERSION)
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-amlogic
|
||||
PKG_VERSION:=3.1.110
|
||||
PKG_VERSION:=3.1.111
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_LICENSE:=GPL-2.0 License
|
||||
|
@ -97,8 +97,7 @@ w.render = function(self, section, scope)
|
||||
end
|
||||
|
||||
w.write = function(self, section, scope)
|
||||
local x = luci.sys.exec("btrfs subvolume snapshot -r /etc /.snapshots/etc-" ..
|
||||
os.date("%m.%d.%H%M%S") .. " 2>/dev/null && sync")
|
||||
local x = luci.sys.exec("btrfs subvolume snapshot -r /etc /.snapshots/etc-" .. os.date("%m.%d.%H%M%S") .. " 2>/dev/null && sync")
|
||||
luci.http.redirect(luci.dispatcher.build_url("admin", "system", "amlogic", "backup"))
|
||||
end
|
||||
w = d:option(TextValue, "snapshot_list", nil)
|
||||
|
@ -195,7 +195,7 @@ download_firmware() {
|
||||
# Delete other residual firmware files
|
||||
rm -f ${FIRMWARE_DOWNLOAD_PATH}/*${firmware_suffix} 2>/dev/null && sync
|
||||
rm -f ${FIRMWARE_DOWNLOAD_PATH}/*.img 2>/dev/null && sync
|
||||
rm -f ${FIRMWARE_DOWNLOAD_PATH}/sha256sums && sync
|
||||
rm -f ${FIRMWARE_DOWNLOAD_PATH}/sha256sums 2>/dev/null && sync
|
||||
|
||||
firmware_releases_path="$(cat ${github_api_openwrt} | sed -n "${download_firmware_line}p" | grep "browser_download_url" | grep -o "${firmware_download_url}" | head -n 1)"
|
||||
# Download to local rename
|
||||
|
@ -166,6 +166,7 @@ check_kernel() {
|
||||
fi
|
||||
|
||||
# Check the version on the server
|
||||
rm -f ${github_api_kernel_library} 2>/dev/null && sync
|
||||
curl -s "${server_kernel_url}" >${github_api_kernel_library} && sync
|
||||
sleep 1
|
||||
|
||||
@ -196,8 +197,10 @@ download_kernel() {
|
||||
fi
|
||||
|
||||
# Delete other residual kernel files
|
||||
rm -f ${KERNEL_DOWNLOAD_PATH}/*.tar.gz ${KERNEL_DOWNLOAD_PATH}/sha256sums 2>/dev/null && sync
|
||||
rm -f ${KERNEL_DOWNLOAD_PATH}/*.tar.gz 2>/dev/null && sync
|
||||
rm -f ${KERNEL_DOWNLOAD_PATH}/sha256sums 2>/dev/null && sync
|
||||
|
||||
rm -f ${github_api_kernel_file} 2>/dev/null && sync
|
||||
curl -s "${server_kernel_url}/${download_version}" >${github_api_kernel_file} && sync
|
||||
sleep 1
|
||||
|
||||
|
@ -23,6 +23,7 @@ support_platform=("allwinner" "rockchip" "amlogic" "qemu-aarch64")
|
||||
LOGTIME="$(date "+%Y-%m-%d %H:%M:%S")"
|
||||
[[ -d ${TMP_CHECK_DIR} ]] || mkdir -p ${TMP_CHECK_DIR}
|
||||
rm -f ${TMP_CHECK_DIR}/*.ipk 2>/dev/null && sync
|
||||
rm -f ${TMP_CHECK_DIR}/sha256sums 2>/dev/null && sync
|
||||
|
||||
# Clean the running log
|
||||
clean_running() {
|
||||
|
@ -10,7 +10,7 @@ LUCI_DESCRIPTION:=luci-app-store is a ipk store developed by LinkEase team
|
||||
LUCI_DEPENDS:=+curl +opkg +luci-base +tar +coreutils +coreutils-stat +libuci-lua +mount-utils +luci-lib-taskd
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
PKG_VERSION:=0.1.11-2
|
||||
PKG_VERSION:=0.1.11-3
|
||||
# PKG_RELEASE MUST be empty for luci.mk
|
||||
PKG_RELEASE:=
|
||||
|
||||
|
@ -10,7 +10,7 @@ ARCH=`jsonfilter -i /etc/.app_store.id -e '$.arch'`
|
||||
|
||||
# for istore self upgrade
|
||||
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"
|
||||
ISTORE_INDEX=https://istore.linkease.com/repo/all/store/Packages.gz
|
||||
|
||||
action=${1}
|
||||
|
Loading…
Reference in New Issue
Block a user