[openwrt/openwrt] base-files: fix nand sysupgrade comments

LEDE Commits lede-commits at lists.infradead.org
Tue Apr 19 09:08:22 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1e191adb20abe428d5feb128ce28f1457ae5110b

commit 1e191adb20abe428d5feb128ce28f1457ae5110b
Author: Rodrigo Balerdi <lanchon at gmail.com>
AuthorDate: Fri Apr 15 00:53:27 2022 -0300

    base-files: fix nand sysupgrade comments
    
    Erroneous comments possibly applied to an earlier code revision.
    
    Signed-off-by: Rodrigo Balerdi <lanchon at gmail.com>
---
 package/base-files/files/lib/upgrade/nand.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/base-files/files/lib/upgrade/nand.sh b/package/base-files/files/lib/upgrade/nand.sh
index ec1335cb2c..b5c982b272 100644
--- a/package/base-files/files/lib/upgrade/nand.sh
+++ b/package/base-files/files/lib/upgrade/nand.sh
@@ -182,7 +182,7 @@ nand_upgrade_prepare_ubi() {
 	[ "$root_ubivol" ] && ubirmvol /dev/$ubidev -N $CI_ROOTPART || :
 	[ "$data_ubivol" ] && ubirmvol /dev/$ubidev -N rootfs_data || :
 
-	# update kernel
+	# create kernel vol
 	if [ -n "$kernel_length" ]; then
 		if ! ubimkvol /dev/$ubidev -N $CI_KERNPART -s $kernel_length; then
 			echo "cannot create kernel volume"
@@ -190,7 +190,7 @@ nand_upgrade_prepare_ubi() {
 		fi
 	fi
 
-	# update rootfs
+	# create rootfs vol
 	if [ -n "$rootfs_length" ]; then
 		local rootfs_size_param
 		if [ "$rootfs_type" = "ubifs" ]; then
@@ -204,7 +204,7 @@ nand_upgrade_prepare_ubi() {
 		fi
 	fi
 
-	# create rootfs_data for non-ubifs rootfs
+	# create rootfs_data vol for non-ubifs rootfs
 	if [ "$rootfs_type" != "ubifs" ]; then
 		local rootfs_data_size_param="-m"
 		if [ -n "$rootfs_data_max" ]; then




More information about the lede-commits mailing list