treewide: replace remaining (not working now) $SAVE_CONFIG uses
This var has been replaced by the $UPGRADE_OPT_UPGRADE_OPT_SAVE_CONFIG Fixes:f25d164aca("base-files: pass "save_config" option to the "sysupgrade" method") Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit5797fe84a3)
This commit is contained in:
@@ -159,7 +159,7 @@ platform_do_upgrade_openmesh()
|
||||
local cfg_size= kernel_size= rootfs_size=
|
||||
local append=""
|
||||
|
||||
[ -f "$CONF_TAR" -a "$SAVE_CONFIG" -eq 1 ] && append="-j $CONF_TAR"
|
||||
[ -f "$CONF_TAR" -a "$UPGRADE_OPT_UPGRADE_OPT_SAVE_CONFIG" -eq 1 ] && append="-j $CONF_TAR"
|
||||
|
||||
cfg_size=$(dd if="$img_path" bs=2 skip=35 count=4 2>/dev/null)
|
||||
kernel_size=$(dd if="$img_path" bs=2 skip=71 count=4 2>/dev/null)
|
||||
|
||||
Reference in New Issue
Block a user