diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2022-12-02 23:13:22 -0800 |
---|---|---|
committer | Tony Ambardar <itugrok@yahoo.com> | 2022-12-31 05:02:38 -0800 |
commit | 9cbc825b30a60c4c4b466301b87e15e59b107f24 (patch) | |
tree | 0564c3983d43e7bf3e46f6c225f985b422ee0881 /package/base-files/files/lib/upgrade | |
parent | 4b367e2b606583bb1316a54d952935893bc53c6c (diff) | |
download | upstream-9cbc825b30a60c4c4b466301b87e15e59b107f24.tar.gz upstream-9cbc825b30a60c4c4b466301b87e15e59b107f24.tar.bz2 upstream-9cbc825b30a60c4c4b466301b87e15e59b107f24.zip |
base-files: stage2: add 'tail' to sysupgrade environment
This is used to access footer data in firmare files, and is simpler and
less error-prone than using 'dd' with calculated offsets.
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'package/base-files/files/lib/upgrade')
-rwxr-xr-x | package/base-files/files/lib/upgrade/stage2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/stage2 b/package/base-files/files/lib/upgrade/stage2 index 6314d40646..f4db88d31e 100755 --- a/package/base-files/files/lib/upgrade/stage2 +++ b/package/base-files/files/lib/upgrade/stage2 @@ -41,7 +41,7 @@ switch_to_ramfs() { pivot_root mount_root reboot sync kill sleep \ md5sum hexdump cat zcat dd tar gzip \ ls basename find cp mv rm mkdir rmdir mknod touch chmod \ - '[' printf wc grep awk sed cut sort \ + '[' printf wc grep awk sed cut sort tail \ mtd partx losetup mkfs.ext4 nandwrite flash_erase \ ubiupdatevol ubiattach ubiblock ubiformat \ ubidetach ubirsvol ubirmvol ubimkvol \ |