base-files: stage2: add 'tail' to sysupgrade environment
authorTony Ambardar <itugrok@yahoo.com>
Sat, 3 Dec 2022 07:13:22 +0000 (23:13 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Jan 2023 20:45:34 +0000 (21:45 +0100)
commit4bda308657bb39f3ad4a0d294a89ac867b8801a7
tree3cf098ae445f9e7d4539da4a1ca6f3a554bf5792
parent2f1b73b70dcc9b7c73142205a530309a25b8410d
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>
(cherry picked from commit 9cbc825b30a60c4c4b466301b87e15e59b107f24)
package/base-files/files/lib/upgrade/stage2