aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-03-29 16:11:27 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-03-29 16:11:27 +0500
commit51ae19a8f9fceefdd66de57207808d26e1b9320a (patch)
tree70ac91665cd97b4e74474814817344dcf7deef50
parent14408c65373ecfd8874c54df2ddcc5a5b372377f (diff)
downloadmeta-amd-51ae19a8f9fceefdd66de57207808d26e1b9320a.tar.gz
meta-amd-51ae19a8f9fceefdd66de57207808d26e1b9320a.tar.bz2
meta-amd-51ae19a8f9fceefdd66de57207808d26e1b9320a.zip
common/swupdate: set GRUBENV_PATH to fix updates with hawkbit server
This sets the SWUpdate's CONFIG_GRUBENV_PATH so that when an update is performed via HawkBit Server, it looks for the right grubenv file to save_state into rather than going for the GRUBENV_PATH_DEFAULT which does not exist in our case. Otherwise, update fails saying: ERROR: Failed to open grubenv file: /boot/efi/EFI/BOOT/grub/grubenv ERROR: Cannot persistently store update state. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
-rw-r--r--common/mentor-swupdate/recipes-support/swupdate/files/grub.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/mentor-swupdate/recipes-support/swupdate/files/grub.cfg b/common/mentor-swupdate/recipes-support/swupdate/files/grub.cfg
index 2317a7fa..97216fd0 100644
--- a/common/mentor-swupdate/recipes-support/swupdate/files/grub.cfg
+++ b/common/mentor-swupdate/recipes-support/swupdate/files/grub.cfg
@@ -1 +1,2 @@
CONFIG_BOOTLOADER_GRUB=y
+CONFIG_GRUBENV_PATH="/boot/EFI/BOOT/grub.env"