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")
This commit is contained in:
AmadeusGhost 2021-09-30 23:36:07 +08:00
parent c8e683b7de
commit b9a3615a39

View File

@ -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)"