diff options
author | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-02-09 19:09:30 -0200 |
---|---|---|
committer | Ricardo Salveti <ricardo@opensourcefoundries.com> | 2018-03-07 12:38:45 -0300 |
commit | 5ce293daf207c6a01b12108c8cbb239794b160b7 (patch) | |
tree | 2eff07ffd8c6be9c1752d25eda2053d18585b512 | |
parent | 59b9fa9a1410f83b1146b48e961b0f2be95415d7 (diff) | |
download | meta-updater-5ce293daf207c6a01b12108c8cbb239794b160b7.tar.gz |
image_types_ota: make default grub.cfg a link to loader/grub.cfg
/boot/grub2/grub.cfg should reflect the grub.cfg used by the boot process
instead of being an empty file.
Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
-rw-r--r-- | classes/image_types_ota.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 84095a6..b14faf3 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
@@ -78,7 +78,7 @@ IMAGE_CMD_otaimg () { | |||
78 | 78 | ||
79 | if [ "${OSTREE_BOOTLOADER}" = "grub" ]; then | 79 | if [ "${OSTREE_BOOTLOADER}" = "grub" ]; then |
80 | mkdir -p ${PHYS_SYSROOT}/boot/grub2 | 80 | mkdir -p ${PHYS_SYSROOT}/boot/grub2 |
81 | touch ${PHYS_SYSROOT}/boot/grub2/grub.cfg | 81 | ln -s ../loader/grub.cfg ${PHYS_SYSROOT}/boot/grub2/grub.cfg |
82 | elif [ "${OSTREE_BOOTLOADER}" = "u-boot" ]; then | 82 | elif [ "${OSTREE_BOOTLOADER}" = "u-boot" ]; then |
83 | touch ${PHYS_SYSROOT}/boot/loader/uEnv.txt | 83 | touch ${PHYS_SYSROOT}/boot/loader/uEnv.txt |
84 | else | 84 | else |