package/rauc: select fw_printenv for uboot based systems
authorTitouan Christophe <titouan.christophe@railnova.eu>
Thu, 5 Dec 2019 09:42:38 +0000 (10:42 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Dec 2019 20:38:01 +0000 (21:38 +0100)
commitccf67ebe3b93bf659e64e4e933f2e0bac148a141
treed6eb1f03c2d1d74e72c36a5d0beda29b063d547b
parentdec2e0449d50d71219b4d94bc5547cce50a85163
package/rauc: select fw_printenv for uboot based systems

When operating on a uboot based system, rauc interacts with
the bootloader environment using fw_printenv and fw_setenv [1].

These commands should therefore be present on the target if
the system being built uses uboot.

[1] See:
https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L21-L22
https://github.com/rauc/rauc/blob/v1.2/src/bootchooser.c#L644-L645

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rauc/Config.in