fitblk: move shell functions to common file
authorDaniel Golle <daniel@makrotopia.org>
Wed, 17 Jul 2024 15:22:10 +0000 (16:22 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 18 Jul 2024 10:48:53 +0000 (11:48 +0100)
commitec2dc60d575f6ef4ace4aa36d4940b7e13034778
tree5d6d52d2c8728db357fa159c841770ee906a7b36
parent9d8d0509bf2a630464e050de21e21110748e4f27
fitblk: move shell functions to common file

Move shell functions used for sysupgrade into /lib/upgrade/fit.sh.
Introduce improved fitblk boot device detection function which
works also in case ubiblock devices have not yet been created or
even UBI itself not yet being attached.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/utils/fitblk/Makefile
package/utils/fitblk/files/fit.sh [new file with mode: 0644]