[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests/vm/freebsd: Update to FreeBSD 13.2
From: |
Li-Wen Hsu |
Subject: |
Re: [PATCH] tests/vm/freebsd: Update to FreeBSD 13.2 |
Date: |
Wed, 19 Apr 2023 17:47:27 +0800 |
On Wed, Apr 19, 2023 at 5:18 PM Thomas Huth <thuth@redhat.com> wrote:
>
> According to QEMU's support policy, we stop supporting the previous
> major release two years after the the new major release has been
> published. So we can stop testing FreeBSD 12 now and should switch
> our FreeBSD VM to version 13 instead.
>
> Some changes are needed for this update: The downloadable .ISO images
> do not use the serial port as console by default anymore, so they
> are not usable in the same way as with FreeBSD 12. Fortunately, the
> FreeBSD project now also offers some pre-installed CI images that
> have the serial console enabled, so we can use those now, with the
> benefit that we can skip almost all parts of the previous installation
> process.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> tests/vm/freebsd | 101 ++++++++++++-----------------------------------
> 1 file changed, 25 insertions(+), 76 deletions(-)
>
> diff --git a/tests/vm/freebsd b/tests/vm/freebsd
> index ba2ba23d24..9435e9aa2e 100755
> --- a/tests/vm/freebsd
> +++ b/tests/vm/freebsd
> @@ -28,15 +28,15 @@ class FreeBSDVM(basevm.BaseVM):
> name = "freebsd"
> arch = "x86_64"
>
> - link =
> "https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.4/FreeBSD-12.4-RELEASE-amd64-disc1.iso.xz"
> - csum = "1dcf6446e31bf3f81b582e9aba3319a258c29a937a2af6138ee4b181ed719a87"
> + link =
> "https://download.freebsd.org/ftp/releases/CI-IMAGES/13.2-RELEASE/amd64/Latest/FreeBSD-13.2-RELEASE-amd64-BASIC-CI.raw.xz"
> + csum = "a4fb3b6c7b75dd4d58fb0d75e4caf72844bffe0ca00e66459c028b198ffb3c0e"
FWIW, the "/ftp" part in the URL is not necessary now. It just works
for the backward compatibility.
Best,
Li-Wen