projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1b73b
)
base-files: stage2: add 'tail' to sysupgrade environment
author
Tony Ambardar
<
[email protected]
>
Sat, 3 Dec 2022 07:13:22 +0000
(23:13 -0800)
committer
Hauke Mehrtens
<
[email protected]
>
Sun, 1 Jan 2023 20:45:34 +0000
(21:45 +0100)
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 <
[email protected]
>
(cherry picked from commit
9cbc825b30a60c4c4b466301b87e15e59b107f24
)
package/base-files/files/lib/upgrade/stage2
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/upgrade/stage2
b/package/base-files/files/lib/upgrade/stage2
index 5e0d73631b0c7383f271c072988a95238a234832..0c1ffb5144853a8ec0529580a98b2482a9c7702a 100755
(executable)
--- 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 \
ls basename find cp mv rm mkdir rmdir mknod touch chmod \
- '[' printf wc grep awk sed cut
\
+ '[' printf wc grep awk sed cut
tail
\
mtd partx losetup mkfs.ext4 nandwrite flash_erase \
ubiupdatevol ubiattach ubiblock ubiformat \
ubidetach ubirsvol ubirmvol ubimkvol \