mirror of
				https://github.com/kenzok8/openwrt-packages.git
				synced 2025-10-30 07:50:37 +08:00 
			
		
		
		
	update 2025-08-20 20:37:50
This commit is contained in:
		| @ -16,7 +16,7 @@ | ||||
| include $(TOPDIR)/rules.mk | ||||
|  | ||||
| PKG_NAME:=luci-app-amlogic | ||||
| PKG_VERSION:=3.1.266 | ||||
| PKG_VERSION:=3.1.268 | ||||
| PKG_RELEASE:=1 | ||||
|  | ||||
| PKG_LICENSE:=GPL-2.0 License | ||||
|  | ||||
| @ -268,7 +268,8 @@ update_kernel() { | ||||
|         rm -f /boot/uInitrd* | ||||
|     else | ||||
|         valid_files="vmlinuz-${kernel_name} uInitrd-${kernel_name} config-${kernel_name} System.map-${kernel_name}" | ||||
|         rm -f /boot/initrd.img* | ||||
|         # wxy-oect: MODEL_ID numbers r304 and r306, require special handling of uInitrd | ||||
|         [[ "${MODEL_ID}" =~ ^(r304|r306)$ ]] || rm -f /boot/initrd.img* | ||||
|     fi | ||||
|     for f in ${valid_files}; do [[ -f "/boot/${f}" ]] || restore_kernel; done | ||||
|  | ||||
| @ -289,9 +290,7 @@ update_kernel() { | ||||
|         fi | ||||
|  | ||||
|         # wxy-oect: MODEL_ID numbers r304 and r306, require special handling of uInitrd | ||||
|         [[ "${MODEL_ID}" == "r304" || "${MODEL_ID}" == "r306" ]] && { | ||||
|             rm -f uInitrd && ln -sf initrd.img-${kernel_name} uInitrd | ||||
|         } | ||||
|         [[ "${MODEL_ID}" =~ ^(r304|r306)$ ]] && ln -sf initrd.img-${kernel_name} uInitrd | ||||
|     ) | ||||
|  | ||||
|     echo -e "(1/3) Unpacking [ boot-${kernel_name}.tar.gz ] done." | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 actions-user
					actions-user