sysupgrade passes image path to platform_check_image() as an argument so it can be simply accessed using $1 Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit76e43c82b5) [rmilecki: dropping ARGV without this change broke sysupgrade] Fixes:6ac62c4b6c("base-files: don't set ARGV and ARGC")