File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ build_setup() {
194194 echo ' ARCHIVER_MODE[src] = "original"' >> conf/site.conf
195195
196196 # Setting for Hypervisor build
197- if [ " $HYP_BUILD " -eq 1 ]; then
197+ if [[ " $HYP_BUILD " -eq 1 ] ]; then
198198 bitbake-layers add-layer ../meta-openembedded/meta-filesystems
199199 bitbake-layers add-layer ../meta-virtualization
200200
@@ -231,7 +231,7 @@ bitbake_image() {
231231 echo -e " \n[INFO] Start bitbake process for target config.."
232232 bitbake console-image-minimal gsrd-console-image 2>&1
233233
234- if [ " $HYP_BUILD " -eq 1 ]; then
234+ if [[ " $HYP_BUILD " -eq 1 ] ]; then
235235 bitbake xen-image-minimal console-image-minimal gsrd-console-image 2>&1
236236 fi
237237
@@ -352,7 +352,7 @@ package() {
352352 if [[ " $MACHINE " == * " agilex" * || " $MACHINE " == * " stratix10" * ]]; then
353353 cp -vL u-boot.txt $ub_cp_destination
354354 cp -vL boot.scr.* $ub_cp_destination
355- if [ " $HYP_BUILD " -eq 1 ]; then
355+ if [[ " $HYP_BUILD " -eq 1 ] ]; then
356356 cp -vL u-boot_xen.txt $STAGING_FOLDER /
357357 cp -vL xen $STAGING_FOLDER /
358358 fi
You can’t perform that action at this time.
0 commit comments