From b9a3615a39b4ef438471fcb03b2f82bd118b9222 Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Thu, 30 Sep 2021 23:36:07 +0800 Subject: [PATCH] base-files: sysupgrade: fixes not found error Fixes the following errors: ash: date: not found ash: logger: not found Fixes: c7251e5 ("x86: upgrade from img.gz error") --- package/base-files/files/lib/upgrade/stage2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/lib/upgrade/stage2 b/package/base-files/files/lib/upgrade/stage2 index 9f5b9c7f8b..90fe797a85 100755 --- a/package/base-files/files/lib/upgrade/stage2 +++ b/package/base-files/files/lib/upgrade/stage2 @@ -53,7 +53,7 @@ switch_to_ramfs() { mtd partx losetup mkfs.ext4 \ ubiupdatevol ubiattach ubiblock ubiformat \ ubidetach ubirsvol ubirmvol ubimkvol \ - snapshot snapshot_tool \ + snapshot snapshot_tool date logger \ $RAMFS_COPY_BIN do local file="$(command -v "$binary" 2>/dev/null)"