diff --git a/recipes-bsp/fng-install/common/fnginstall-common.sh b/recipes-bsp/fng-install/common/fnginstall-common.sh index 4a46874d2cba5137bb9c861693c5e10c54962938..1c94d066dd08d29c9bd30ead481a8d18d8f4a064 100644 --- a/recipes-bsp/fng-install/common/fnginstall-common.sh +++ b/recipes-bsp/fng-install/common/fnginstall-common.sh @@ -1922,7 +1922,11 @@ backup_config_partition() # # Preserce config partition content if [ -d /etc/shared ];then - cp -r /etc/shared "$TMPDIR" + if [ $VERBOSE -ge 2 ];then + cp -r -v /etc/shared "$TMPDIR" + else + cp -r /etc/shared "$TMPDIR" + fi fi PART_CONFIG_OLD="$PART_CONFIG" } diff --git a/recipes-bsp/fng-install/fng-install-fngsystem/fngsystem-self-update.sh b/recipes-bsp/fng-install/fng-install-fngsystem/fngsystem-self-update.sh index 6cc8b39ff52daf82bd1e810893833c1fa1a3913e..fc95f620c4907cb93264474f5454b7b6704237c5 100755 --- a/recipes-bsp/fng-install/fng-install-fngsystem/fngsystem-self-update.sh +++ b/recipes-bsp/fng-install/fng-install-fngsystem/fngsystem-self-update.sh @@ -244,7 +244,7 @@ if ! $REPARTITION_NEEDED;then $PART_A_BOOT_OK || partition_error "Flash-N-Go system debug partition is not OK." fi - if ! $REPARTITION_NEEDED && [ -n "$TARGET_PARTITION" ];then + if [ -n "$TARGET_PARTITION" ];then get_partition_number TARGET_PARTITION_NO "$TARGET_PARTITION" if [ "$TARGET_PARTITION_NO" -ge "$KEEP_PARTITIONS_CNT" ];then # format if TARGET partition gets recreated @@ -253,8 +253,6 @@ if ! $REPARTITION_NEEDED;then fi fi -partitions_ready_message - #================================================== # Check filesystem #==================================================