Message ID | tencent_7ED5C7677F58B2DC317E3EB5@qq.com |
---|---|
State | Rejected |
Headers | show |
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 <countrysideboy@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@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel >
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
This patch may fix the sysupgrade with xxx-squashfs-sysupgrade.tar file by adding missing other ubi* in ramfs. Signed-off-by: Shonn Lu <countrysideboy@qq.com> ---