Skip to contentSkip to conversation

freebsd: switch to 10.0-RELEASE (20140116-r260789)

PATCH In review Ian Jackson 2 participants 6 messages Feb 10, 2014 – Feb 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 freebsd: switch to 10.0-RELEASE (20140116-r260789)

---
 make-flight |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
make-flight +1 -1
index 056fc7a..033c3f0 100755
@@ -108,7 +108,7 @@ do_freebsd_tests () {
  job_create_test test-$xenarch$kern-$dom0arch$qemuu_suffix-freebsd10-$freebsdarch \
                         test-freebsd xl $xenarch $dom0arch \
                         freebsd_arch=$freebsdarch \
- freebsd_image=${FREEBSD_IMAGE_PREFIX-FreeBSD-10.0-BETA3-}$freebsdarch${FREEBSD_IMAGE_SUFFIX--20131103-r257580.qcow2.xz} \
+ freebsd_image=${FREEBSD_IMAGE_PREFIX-FreeBSD-10.0-RELEASE-}$freebsdarch${FREEBSD_IMAGE_SUFFIX--20140116-r260789.qcow2.xz} \
                         all_hostflags=$most_hostflags
 
   done
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 9 lines · Ian Jackson
---
 make-flight |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
make-flight +0 -0
index 056fc7a..033c3f0 100755

make-flight do_freebsd_tests () { · line 114

Quoted 8 lines
make-flight +1 -1
@@ -108,7 +108,7 @@ do_freebsd_tests () {
  job_create_test test-$xenarch$kern-$dom0arch$qemuu_suffix-freebsd10-$freebsdarch \
                         test-freebsd xl $xenarch $dom0arch \
                         freebsd_arch=$freebsdarch \
- freebsd_image=${FREEBSD_IMAGE_PREFIX-FreeBSD-10.0-BETA3-}$freebsdarch${FREEBSD_IMAGE_SUFFIX--20131103-r257580.qcow2.xz} \
+ freebsd_image=${FREEBSD_IMAGE_PREFIX-FreeBSD-10.0-RELEASE-}$freebsdarch${FREEBSD_IMAGE_SUFFIX--20140116-r260789.qcow2.xz} \
                         all_hostflags=$most_hostflags
 
   done

Thanks for the patch. I think it's missing the following chunk:

---

ts-freebsd-install +1 -1
index 6c6abbe..72542c2 100755
@@ -36,7 +36,7 @@ our $gho;
 
 our $mnt= '/root/freebsd_root';
 
-our $freebsd_version= "10.0-BETA3";
+our $freebsd_version= "10.0-RELEASE";
 
 # Folder where the FreeBSD VM images are stored inside of the host
 #
#2 lore raw

Roger Pau Monné writes ("Re: [OSSTEST PATCH] freebsd: switch to 10.0-RELEASE (20140116-r260789)"):

Quoted 1 line

Thanks for the patch. I think it's missing the following chunk:

...

ts-freebsd-install our $gho; · line 39

Quoted 2 lines
ts-freebsd-install +1 -1
-our $freebsd_version= "10.0-BETA3";
+our $freebsd_version= "10.0-RELEASE";

Oh. Err, why is this hardcoded in the script ? Changing the runvar(s) ought to be sufficient.

... (looks at the code) ...

Oh, I see, that's just the default. Perhaps the default should be removed entirely ? None of the other scripts have a default image filename.

Ian.

#3 lore raw
Quoted 9 lines · Ian Jackson

Roger Pau Monné writes ("Re: [OSSTEST PATCH] freebsd: switch to 10.0-RELEASE (20140116-r260789)"):

Quoted 1 line

Thanks for the patch. I think it's missing the following chunk:

...

ts-freebsd-install our $gho; · line 39

Quoted 2 lines
ts-freebsd-install +1 -1
-our $freebsd_version= "10.0-BETA3";
+our $freebsd_version= "10.0-RELEASE";

Oh. Err, why is this hardcoded in the script ? Changing the runvar(s) ought to be sufficient.

Quoted 5 lines

... (looks at the code) ...

Oh, I see, that's just the default. Perhaps the default should be removed entirely ? None of the other scripts have a default image filename.

So $freebsd_image is going to contain the absolute path to the image? I'm asking because ts-freebsd-install searches for the image in /var/images, do we have to do something like /var/images/$freebsd_image in order to get the absolute image path?

Roger.

#4 lore raw

Roger Pau Monné writes ("Re: [OSSTEST PATCH] freebsd: switch to 10.0-RELEASE (20140116-r260789)"):

Quoted 12 lines · Ian Jackson
Quoted 11 lines

Roger Pau Monné writes ("Re: [OSSTEST PATCH] freebsd: switch to 10.0-RELEASE (20140116-r260789)"):

Quoted 1 line

Thanks for the patch. I think it's missing the following chunk:

...

ts-freebsd-install our $gho; · line 39

Quoted 2 lines
ts-freebsd-install +1 -1
-our $freebsd_version= "10.0-BETA3";
+our $freebsd_version= "10.0-RELEASE";

Oh. Err, why is this hardcoded in the script ? Changing the runvar(s) ought to be sufficient.

... (looks at the code) ...

Quoted 8 lines
Quoted 3 lines

Oh, I see, that's just the default. Perhaps the default should be removed entirely ? None of the other scripts have a default image filename.

So $freebsd_image is going to contain the absolute path to the image? I'm asking because ts-freebsd-install searches for the image in /var/images, do we have to do something like /var/images/$freebsd_image in order to get the absolute image path?

(Sorry for not replying sooner.)

In flights made with make-flight, the runvar $r{freebsd_image} is always set and is used by target_put_guest_image instead of the third "default" argument. So both $freebsd_version and $freebsd_vm_repo are ignored.

ts-redhat-install and ts-windows-install both use more_prepareguest_hvm which pass "undef" for the third argument. So I'm suggesting that the bit of ts-freebsd-install which constructs the default image filename be removed.

Ian.

#5 lore raw

Ian Jackson writes ("Re: [OSSTEST PATCH] freebsd: switch to 10.0-RELEASE (20140116-r260789)"):

Quoted 4 lines

ts-redhat-install and ts-windows-install both use more_prepareguest_hvm which pass "undef" for the third argument. So I'm suggesting that the bit of ts-freebsd-install which constructs the default image filename be removed.

I have pushed a version of this patch containing only the make-flight change. I think that's sufficient. Changing the fallback arrangements used when the runvar is missing can wait.

Thanks,
Ian.