[OpenWrt-Devel] [PATCH] [packages] generic :add-missing-ubi*-in-ramfs-when-sysupgrade

John Crispin blogic at openwrt.org
Tue Nov 3 03:01:16 EST 2015


Hi,

this patch looks weird. please explain the error you are seeing and what
HW you are using.

	John

On 30/10/2015 06:45, 未命名 wrote:
> This patch may fix the sysupgrade with xxx-squashfs-sysupgrade.tar file
> by adding missing other ubi* in ramfs.
> 
> Signed-off-by:  Shonn Lu <cou​ntrysideboy at qq.com>
> ---
> diff --git a/package/base-files/files/lib/upgrade/common.sh
> b/package/base-files/files/lib/upgrade/common.sh
> index 761b4c1..78bd65f 100644
> --- a/package/base-files/files/lib/upgrade/common.sh
> +++ b/package/base-files/files/lib/upgrade/common.sh
> @@ -67,6 +67,7 @@ run_ramfs() { # <command> [...]
>  install_bin /usr/sbin/ubirsvol
>  install_bin /usr/sbin/ubirmvol
>  install_bin /usr/sbin/ubimkvol
> +install_bin /usr/sbin/ubi*
>  for file in $RAMFS_COPY_BIN; do
>  install_bin ${file//:/ }
>  done
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list