Skip to content

Commit

Permalink
ca55: build_xenhypervisor: Countermeasure for build failure
Browse files Browse the repository at this point in the history
Yocto build may fail by some issues such as memory shortage, network
connection issue and so on.
In that case, rebuild may be able to build image correctly.
This patch makes running build command again when build is failure.

Signed-off-by: Yuya Hamamachi <yuya.hamamachi.sx@renesas.com>
  • Loading branch information
yhamamachi committed Nov 19, 2024
1 parent b062f73 commit 99c1850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application_cpu/build_xenhypervisor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ moulin ./aos-rcar-gen4-wb.yaml \
--BUILD_DOMD_SDK no \
--USING_UFS_AS_STORAGE $USING_UFS \
--ENABLE_DOMU $USING_DOMU
ninja
ninja || ninja
ninja image-full
mv -f full.img $1.${BOOT_DEV}.full.img
gzip -f $1.${BOOT_DEV}.full.img
Expand Down

0 comments on commit 99c1850

Please sign in to comment.