diff options
| author | Jonathan Stroud <jonathan.stroud@amd.com> | 2024-03-22 17:04:46 -0600 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2024-03-27 14:05:34 -0500 |
| commit | 1fd25d931d0a1fd8b1f5f253a97ff669860c7541 (patch) | |
| tree | c266c880a96a6557fc2f785b79f8f26fdfefdd74 | |
| parent | e1bc89ea3bc9c07f6aa3970021fa4c58d18d2f99 (diff) | |
| download | meta-xilinx-1fd25d931d0a1fd8b1f5f253a97ff669860c7541.tar.gz | |
Change u-boot-xlnx-scr to use copies instead of symlinks
symlinks don't work on the /boot FAT partition, so change to copy
Signed-off-by: Jonathan Stroud <jonathan.stroud@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb index c3af0185..985ca427 100644 --- a/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb +++ b/meta-xilinx-core/recipes-bsp/u-boot/u-boot-xlnx-scr.bb | |||
| @@ -264,10 +264,11 @@ do_compile() { | |||
| 264 | do_install() { | 264 | do_install() { |
| 265 | install -d ${D}/boot | 265 | install -d ${D}/boot |
| 266 | install -m 0644 boot.scr ${D}/boot/${UBOOTSCR_BASE_NAME}.scr | 266 | install -m 0644 boot.scr ${D}/boot/${UBOOTSCR_BASE_NAME}.scr |
| 267 | ln -sf ${UBOOTSCR_BASE_NAME}.scr ${D}/boot/boot.scr | 267 | install -m 0644 boot.scr ${D}/boot/ |
| 268 | install -d ${D}/boot/pxeboot/${UBOOTPXE_CONFIG_NAME} | 268 | install -d ${D}/boot/pxeboot/${UBOOTPXE_CONFIG_NAME} |
| 269 | install -m 0644 pxeboot.pxe ${D}/boot/pxeboot/${UBOOTPXE_CONFIG_NAME}/default | 269 | install -m 0644 pxeboot.pxe ${D}/boot/pxeboot/${UBOOTPXE_CONFIG_NAME}/default |
| 270 | ln -sf pxeboot/${UBOOTPXE_CONFIG_NAME} ${D}/boot/${UBOOTPXE_CONFIG} | 270 | install -d ${D}/boot/${UBOOTPXE_CONFIG}/ |
| 271 | install -m 0644 pxeboot.pxe ${D}/boot/${UBOOTPXE_CONFIG}/default | ||
| 271 | } | 272 | } |
| 272 | 273 | ||
| 273 | FILES:${PN} = "/boot/*" | 274 | FILES:${PN} = "/boot/*" |
| @@ -275,10 +276,11 @@ FILES:${PN} = "/boot/*" | |||
| 275 | do_deploy() { | 276 | do_deploy() { |
| 276 | install -d ${DEPLOYDIR} | 277 | install -d ${DEPLOYDIR} |
| 277 | install -m 0644 boot.scr ${DEPLOYDIR}/${UBOOTSCR_BASE_NAME}.scr | 278 | install -m 0644 boot.scr ${DEPLOYDIR}/${UBOOTSCR_BASE_NAME}.scr |
| 278 | ln -sf ${UBOOTSCR_BASE_NAME}.scr ${DEPLOYDIR}/boot.scr | 279 | install -m 0644 boot.scr ${DEPLOYDIR}/ |
| 279 | install -d ${DEPLOYDIR}/pxeboot/${UBOOTPXE_CONFIG_NAME} | 280 | install -d ${DEPLOYDIR}/pxeboot/${UBOOTPXE_CONFIG_NAME} |
| 280 | install -m 0644 pxeboot.pxe ${DEPLOYDIR}/pxeboot/${UBOOTPXE_CONFIG_NAME}/default | 281 | install -m 0644 pxeboot.pxe ${DEPLOYDIR}/pxeboot/${UBOOTPXE_CONFIG_NAME}/default |
| 281 | ln -sf pxeboot/${UBOOTPXE_CONFIG_NAME} ${DEPLOYDIR}/${UBOOTPXE_CONFIG} | 282 | install -d ${DEPLOYDIR}/${UBOOTPXE_CONFIG}/ |
| 283 | install -m 0644 pxeboot.pxe ${DEPLOYDIR}/${UBOOTPXE_CONFIG}/default | ||
| 282 | } | 284 | } |
| 283 | 285 | ||
| 284 | addtask do_deploy after do_compile before do_build | 286 | addtask do_deploy after do_compile before do_build |
