Skip to contentSkip to conversation

osstest: limit FreeBSD jobs to hardware booting in BIOS mode

PATCH In review Roger Pau Monne 2 participants 3 messages Jul 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osstest: limit FreeBSD jobs to hardware booting in BIOS mode

There's no support yet in osstest to install FreeBSD from UEFI, so for the time being limit the FreeBSD jobs to boxes booting with legacy BIOS.

---
Note that this patch depends on Ian Jackson's resource allocation series.

---
 make-freebsd-flight | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
make-freebsd-flight +2 -2
index 64dfe9a6..8122c2eb 100755
@@ -75,7 +75,7 @@ for arch in "$arches"; do
                 $arch_runvars                                   \
                 tree_freebsd=$TREE_FREEBSD                      \
                 revision_freebsd=$REVISION_FREEBSD              \
-                host_hostflags=arch-$arch,purpose-build         \
+                host_hostflags=arch-$arch,purpose-build,PropEq:Firmware:bios:bios \
                 all_host_os=freebsd                             \
                 $freebsd_runvars
 
@@ -87,7 +87,7 @@ for arch in "$arches"; do
                 $arch_runvars                                   \
                 tree_freebsd=$TREE_FREEBSD                      \
                 revision_freebsd=$REVISION_FREEBSD              \
-                host_hostflags=arch-$arch,purpose-build         \
+                host_hostflags=arch-$arch,purpose-build,PropEq:Firmware:bios:bios \
                 all_host_os=freebsd                             \
                 freebsdbuildjob=build-$arch-freebsd
 done
Signature · 7 lines
2.17.1


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

Roger Pau Monne writes ("[PATCH] osstest: limit FreeBSD jobs to hardware booting in BIOS mode"):

Quoted 3 lines

There's no support yet in osstest to install FreeBSD from UEFI, so for the time being limit the FreeBSD jobs to boxes booting with legacy BIOS.

Surely this can't be right, because it only touches make-freebsd-flight. I think this change needs to be in set_freebsd_runvars.

Quoted 14 lines
make-freebsd-flight +1 -1
index 64dfe9a6..8122c2eb 100755
@@ -75,7 +75,7 @@ for arch in "$arches"; do
                 $arch_runvars                                   \
                 tree_freebsd=$TREE_FREEBSD                      \
                 revision_freebsd=$REVISION_FREEBSD              \
-                host_hostflags=arch-$arch,purpose-build         \
+                host_hostflags=arch-$arch,purpose-build,PropEq:Firmware:bios:bios \
                 all_host_os=freebsd                             \
                 $freebsd_runvars
 

make-freebsd-flight for arch in "$arches"; do · line 92

Quoted 7 lines
make-freebsd-flight +1 -1
@@ -87,7 +87,7 @@ for arch in "$arches"; do
                 $arch_runvars                                   \
                 tree_freebsd=$TREE_FREEBSD                      \
                 revision_freebsd=$REVISION_FREEBSD              \
-                host_hostflags=arch-$arch,purpose-build         \
+                host_hostflags=arch-$arch,purpose-build,PropEq:Firmware:bios:bios \
                 all_host_os=freebsd                             \
                 freebsdbuildjob=build-$arch-freebsd

Also IMO this demonstrates that before accepting this code I ought to have asked you to mostly-unify these two mostly-identical calls to job_create_build. Ah well.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 22 lines · Ian Jackson

Roger Pau Monne writes ("[PATCH] osstest: limit FreeBSD jobs to hardware booting in BIOS mode"):

Quoted 3 lines

There's no support yet in osstest to install FreeBSD from UEFI, so for the time being limit the FreeBSD jobs to boxes booting with legacy BIOS.

Surely this can't be right, because it only touches make-freebsd-flight. I think this change needs to be in set_freebsd_runvars.

Quoted 13 lines
make-freebsd-flight +1 -1
index 64dfe9a6..8122c2eb 100755
@@ -75,7 +75,7 @@ for arch in "$arches"; do
                 $arch_runvars                                   \
                 tree_freebsd=$TREE_FREEBSD                      \
                 revision_freebsd=$REVISION_FREEBSD              \
-                host_hostflags=arch-$arch,purpose-build         \
+                host_hostflags=arch-$arch,purpose-build,PropEq:Firmware:bios:bios \
                 all_host_os=freebsd                             \
                 $freebsd_runvars
 
Quoted 12 lines

make-freebsd-flight for arch in "$arches"; do · line 92

Quoted 8 lines
make-freebsd-flight +1 -1
@@ -87,7 +87,7 @@ for arch in "$arches"; do
                 $arch_runvars                                   \
                 tree_freebsd=$TREE_FREEBSD                      \
                 revision_freebsd=$REVISION_FREEBSD              \
-                host_hostflags=arch-$arch,purpose-build         \
+                host_hostflags=arch-$arch,purpose-build,PropEq:Firmware:bios:bios \
                 all_host_os=freebsd                             \
                 freebsdbuildjob=build-$arch-freebsd

Also IMO this demonstrates that before accepting this code I ought to have asked you to mostly-unify these two mostly-identical calls to job_create_build. Ah well.

OK, let me send a pre-patch to unify this.

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel