Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
u-boot: add 'bootdir' to the generated uEnv.txt
When doing a full copy of: $deployment/usr/lib/ostree-boot -> /boot/ostree/$os-$bootcsum/ U-Boot bootscript can use the 'bootdir' to find, for example, the Device Tree (dtb) file, as in: load ${dtype} ${disk}:${bootpart} ${a_fdt} ${bootdir}${dtbname} Or u-boot external bootscript: load ${dtype} ${disk}:${bootpart} ${a_scr} ${bootdir}${scriptname} It could also be possible to point 'bootdir' directly to the $deployment/usr/lib/ostree-boot, but this would add unnecessary restrictions on what file system can be used for rootfs as u-boot, for example, can not read from BTRFS. So having bootdir=/boot/ostree/$os-$bootcsum/ is a better approach here, as /boot can be on a separate partition with its own file system type. Upstream-Status: Inappropriate [lmp specific] Signed-off-by: Ricardo Salveti <[email protected]> %% original patch: 0002-u-boot-add-bootdir-to-the-generated-uEnv.txt.patch
- Loading branch information