From 35412c4626e6b2195421452926dd9b2854bceb9a Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Tue, 17 Aug 2021 17:29:22 +0200
Subject: [PATCH 41/43] base-files: fix rootfs_data_max support during
 sysupgrade

Signed-off-by: John Crispin <john@phrozen.org>
---
 package/base-files/files/sbin/sysupgrade | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/base-files/files/sbin/sysupgrade b/package/base-files/files/sbin/sysupgrade
index 7e0a00e13b..5a2d459013 100755
--- a/package/base-files/files/sbin/sysupgrade
+++ b/package/base-files/files/sbin/sysupgrade
@@ -357,6 +357,8 @@ if [ $TEST -eq 1 ]; then
 	exit 0
 fi
 
+fw_printenv > /dev/null
+
 install_bin /sbin/upgraded
 v "Commencing upgrade. Closing all shell sessions."
 
-- 
2.25.1

