]> git.ipfire.org Git - thirdparty/openwrt.git/commit
ramips: mt7621: fix broken hexdump expression in iodata.sh 18827/head
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 17 May 2025 11:22:57 +0000 (20:22 +0900)
committerRobert Marko <robimarko@gmail.com>
Tue, 20 May 2025 11:04:06 +0000 (13:04 +0200)
commitd95e8a59bbccf9b8b21aeb3d87ff2b0a1af023d8
tree9c1ed8e01f42167ccc195b6b7ef7357417505bb2
parent4c9f277c9af3a36301bcee40d6c5749a471d0de7
ramips: mt7621: fix broken hexdump expression in iodata.sh

Use the "1/1" as a iteration count of hexdump expression instead of the
broken "1", to fix the issue that the invalid bootnum will be obtained.

Currently, the hexdump command always outputs "0" when the decimal format
and the iteration count "1" are specified[0]. This is unexpected
behaviour, but the cause is unknown and use this fix as a workaround.

[0]: https://github.com/openwrt/openwrt/issues/18808

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18827
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/mt7621/base-files/lib/upgrade/iodata.sh