From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751226; cv=none; d=zohomail.com; s=zohoarc; b=iQAnHpnWW27YmOyhf4fVtSUwiD5xg0HANp6gdWghH/5t46yFup4j58/d6O0LcOHyZK+zkGuGcp7xpOy2FZdTd0ykE7goQlupDhir5KsuentBdoEdApMAW0WT9Z7a/nwmao0S7DBDp5OuNrMA0fjYcG4uwxEUpNT+OPL6LJUd/zM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751226; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=UUPTwcRMOuvFQyGoRxxXEkfgWwS5CoEJS/ZdkGiIHMw=; b=dQJBMwQECSmTB5MWNrSL+7FW7ZUkd4+Gf07YwaKzmXbcT3x1ntfgQxCcctGXv76KGCm1L9bqi7NsJ8X92hH8Kcp0iBT5g7LPKN0w+bsG+N33wWObBSnPSJGeQv9UUyQZvpHW0uFCYWIh95l4uHnNSwmqvjeLWAxZj1wUGW3JyJY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751226037640.6319886957785; Fri, 29 May 2020 04:20:26 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3V-0006DE-1l; Fri, 29 May 2020 11:20:05 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3U-00066V-Be for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:04 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 5480d47a-a19e-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:19:58 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3N-0003xZ-TK; Fri, 29 May 2020 12:19:58 +0100 X-Inumbo-ID: 5480d47a-a19e-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 01/49] ts-logs-capture: Cope if xl shutdown leaves domain running for a bit Date: Fri, 29 May 2020 12:18:57 +0100 Message-Id: <20200529111945.21394-2-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This seems mostly to affect buster but it could in principle affect earlier releases too I think. In principle it would be nice to fix this bug, and to have a proper test for it, but a reliable test is hard and an unreliable one is not useful. So I guess we are going to have this workaround indefinitely... Signed-off-by: Ian Jackson --- ts-logs-capture | 1 + 1 file changed, 1 insertion(+) diff --git a/ts-logs-capture b/ts-logs-capture index 0320a5a5..d75a2fda 100755 --- a/ts-logs-capture +++ b/ts-logs-capture @@ -272,6 +272,7 @@ sub shutdown_guests () { ( xl shutdown -a -F -w ; echo y ) & ) | ( read x + sleep 10 # xl shutdown is a bit racy :-/ xl list | awk '!/^Domain-0 |^Name / {print $2}' \ | xargs -t -r -n1 xl destroy ||: ) --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751228; cv=none; d=zohomail.com; s=zohoarc; b=YJ1K0NnRQjSf/1W/J25OQ0YSQEZ6wxhEbL+LIGytWWUcc7fxuvgBmeOKxM/a24UdNLGb/y23APL7NocINiNv/znQzeThYIQVeB81xkONnQBi8XyFhz5Vew0ZJ3f51cG8rC1T0ICSyI/PNd729NLP7orn16FT/ho5HlpKj+cyJd4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751228; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=g2PcC1rMdw+E4hRARFVnydhijQhmL/5b/mfSqVRmnDM=; b=gT0unT8KsN9klJN5cevT6iQ5Y/qRSy9WjOVtawqu8K42o1JPQdwad1KwhbSpkNC6QBEz73fsByleUF4lITHjBrzxroYENbqdKWhE97/5Lzxf7jSxju/SKwy0n2ArS32cphuWbi7zF5+pFkmk5DvrVXGwpZ22UoXxj6JBQ5w1s0M= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751228252751.7826369754475; Fri, 29 May 2020 04:20:28 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3a-0006SL-Ap; Fri, 29 May 2020 11:20:10 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3Z-0006SG-CR for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:09 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 54a7bb08-a19e-11ea-81bc-bc764e2007e4; Fri, 29 May 2020 11:19:58 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3O-0003xZ-4f; Fri, 29 May 2020 12:19:58 +0100 X-Inumbo-ID: 54a7bb08-a19e-11ea-81bc-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 02/49] ts-xen-build-prep: Install rsync Date: Fri, 29 May 2020 12:18:58 +0100 Message-Id: <20200529111945.21394-3-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" osstest uses this for transferring configuration, build artefacts, and so on. In Debian stretch and earlier, rsync happened to be pulled in by something else. Signed-off-by: Ian Jackson --- ts-xen-build-prep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-xen-build-prep b/ts-xen-build-prep index e9298d54..8e73f763 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -197,7 +197,7 @@ END } =20 sub prep () { - my @packages =3D qw(mercurial + my @packages =3D qw(mercurial rsync build-essential bin86 bcc iasl bc flex bison cmake libpci-dev libncurses5-dev libssl-dev python-dev --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751229; cv=none; d=zohomail.com; s=zohoarc; b=X/PCB2nOgZLKOVbzzsuTsP1M5Ojft33N/Srg0moWg21/tmCSvBvzZ19hwsjNRcdOc9pBTiNB3VcbfLD4/oO9IjeDZK/+YtobbM2tyLT5cjvCx7Q44I8XvXt08/cdVNcI8L6d9U/Dn7/VPzARX9ea9UfBsgYwLea7jQ5N3TKWC1Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751229; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=XgNN5NeV7poncXqusO3qGtNGNIcp3vZ6cxCk9PWOSDI=; b=EMmuh5mSwjEfIh0Xx0rJqvuVlV8kgDAeS5lRg0K6zn31Oik16IUws2CX6DlVc6hTjXQ7VhGcE4eXgoZeK+i/NF0Czulisyz6dHCayAcYvq0ZYYED4kpyQCe1rPREibu0JEV1i8Z7GkVu6Efnd6CDPy2iEGQHBi4pu21aI0RMDV4= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 15907512299932.9636447815381644; Fri, 29 May 2020 04:20:29 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3f-0006U2-IO; Fri, 29 May 2020 11:20:15 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3e-0006Tk-Cg for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:14 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 54c7a0c6-a19e-11ea-81bc-bc764e2007e4; Fri, 29 May 2020 11:19:59 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3O-0003xZ-CH; Fri, 29 May 2020 12:19:58 +0100 X-Inumbo-ID: 54c7a0c6-a19e-11ea-81bc-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 03/49] lvcreate argments: pass --yes -Z y -W y Date: Fri, 29 May 2020 12:18:59 +0100 Message-Id: <20200529111945.21394-4-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" The documentation seesm to think this is the default but empirically it isn't. In our environment --yes is fine. I have reported this to Debian as #953183. Also vaguely related (and discovered by me at the same time) is #953185. This came up while trying to get things work on buster. I don't know what has changed. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 2 +- ts-xen-build-prep | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 1e7da676..43766ee3 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -935,7 +935,7 @@ sub lv_create ($$$$) { my ($ho, $vg, $lv, $mb) =3D @_; my $lvdev =3D "/dev/$vg/$lv"; target_cmd_root($ho, "lvremove -f $lvdev ||:"); - target_cmd_root($ho, "lvcreate -L ${mb}M -n $lv $vg"); + target_cmd_root($ho, "lvcreate --yes -Z y -W y -L ${mb}M -n $lv $vg"); target_cmd_root($ho, "dd if=3D/dev/zero of=3D$lvdev count=3D10"); return $lvdev; } diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 8e73f763..dabb9921 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -61,7 +61,7 @@ sub determine_vg_lv () { sub lvextend_stage1 () { target_cmd_root($ho, < (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751233980479.92923659804865; Fri, 29 May 2020 04:20:33 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3j-0006Vh-R5; Fri, 29 May 2020 11:20:19 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3j-0006VV-Bl for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:19 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 54f13c1a-a19e-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:19:59 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3O-0003xZ-Ik; Fri, 29 May 2020 12:19:58 +0100 X-Inumbo-ID: 54f13c1a-a19e-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 04/49] TestSupport: allow more time for apt Date: Fri, 29 May 2020 12:19:00 +0100 Message-Id: <20200529111945.21394-5-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Empirically some of these operations can take longer than 30s, especially with a cold cache. Note that because of host sharing and our on-host apt lock, the timeout needs to be the same for every apt operation: a fast operation could be blocked behind a slow one. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index 43766ee3..f4e9414c 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -637,12 +637,12 @@ sub target_install_packages_nonfree_nonconcurrent ($@= ) { my ($ho, @packages) =3D @_; my $slist=3D '/etc/apt/sources.list'; my $xsuites=3D 'contrib non-free'; - target_cmd_root($ho, < (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751239427104.67505026290644; Fri, 29 May 2020 04:20:39 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3p-0006YA-7W; Fri, 29 May 2020 11:20:25 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3o-0006Xq-CZ for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:24 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 550ce9f6-a19e-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:19:59 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3O-0003xZ-R1; Fri, 29 May 2020 12:19:58 +0100 X-Inumbo-ID: 550ce9f6-a19e-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 05/49] Booting: Use `--' rather than `---' to introduce host cmdline Date: Fri, 29 May 2020 12:19:01 +0100 Message-Id: <20200529111945.21394-6-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Because systemd did something obnoxious, the kernel retaliated in the game of Core Wars by hiding all arguments before `--' from userspace. So use `---' instead so that all the arguments remain visible. This in some sense now applies to host installs a change we had already made to Debian HVM guests. See osstest#493b7395 ts-debian-hvm-install: Use ---, and no longer duplicate $gconsole and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D762007 Kernel command line handling change breaks d-i user-params functionality This change is fine for all non-ancient versions of Debian, so I have not made it conditional. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index f4e9414c..ff8103f2 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -2909,7 +2909,7 @@ label overwrite menu label ^Overwrite menu default kernel $kern - append $dicmd initrd=3D$initrd -- $hocmd + append $dicmd initrd=3D$initrd --- $hocmd ipappend $xopts{ipappend} $dtbs default overwrite @@ -2956,7 +2956,7 @@ sub setup_netboot_di_uefi ($$$$$;%) { set default=3D0 set timeout=3D5 menuentry 'overwrite' { - linux $kern $dicmd -- $hocmd + linux $kern $dicmd --- $hocmd initrd $initrd } END --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751246; cv=none; d=zohomail.com; s=zohoarc; b=i01i4kwYeW7EudnAXELEg1b2kaor/EZhPfYWWSAk7nhrQOzwlIsCJOot/j+9jljDtBRSFO7/o7jnaDH4q+0RBsRwrDGjINMHo/OgcUSZIVmloSixS19cXB4RDNe3Uvz3aMB44LS9I7zZVzTpXISEbuzC0f/+7udY2/Xo3Sz7Ti8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751246; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=/w8r3UHH/I5/UMxZD8Azdl7cDkZKN6UcTCgWNRdX0r8=; b=Dkzj8ACzseocQSUahxDdC6TqwOU4xFtSkDAOZaUpznVGXEUIy2kwbPKcdLrig1Pjtsii71XvujlrfX/2IXjyym866m2YbNee6Gq/txiez0ZVAjD31nyY+PJIOm6H0QYGPU4BAf/AsGv8DgiShQ/d2hsJzrRz+dKPdlsABuRnpvk= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751246133929.4165079811244; Fri, 29 May 2020 04:20:46 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3u-0006cT-GV; Fri, 29 May 2020 11:20:30 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3t-0006bA-Cw for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:29 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 552d69f6-a19e-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:19:59 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3P-0003xZ-1c; Fri, 29 May 2020 12:19:59 +0100 X-Inumbo-ID: 552d69f6-a19e-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 06/49] di_installcmdline_core: Pass locale on d-i command line Date: Fri, 29 May 2020 12:19:02 +0100 Message-Id: <20200529111945.21394-7-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" In buster, d-i wants when setting up the network, ie before the preseed is loaded. We leave it in the preseed too because why not. I think this change should be fine for older versions of Debian. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 6e9d2072..ba975b87 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -699,7 +699,8 @@ sub di_installcmdline_core ($$;@) { "hostname=3D$tho->{Name}", "$xopts{PreseedScheme}=3D$ps_url", "netcfg/dhcp_timeout=3D150", - "netcfg/choose_interface=3D$netcfg_interface" + "netcfg/choose_interface=3D$netcfg_interface", + "debian-installer/locale=3Den_GB", ); =20 my $debconf_priority=3D $xopts{DebconfPriority}; --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751249; cv=none; d=zohomail.com; s=zohoarc; b=EM7oyXPIQmb7/eYE39y2v5qmepauc+6pqzD5onJEbIlXcZ8lhynEFLcUAvHlz58/g+bVRlQL5Dab+6J1lQrc+z05LDnxpS0dMW68O0BMtBOHeT0ZWi49TWA+MqA8JWRuGQAcjAXKJ1iC+b10DVzfdi0Wqx8h79RVw1rKkenVU5o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751249; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Nw+IX30KtmkGdZN/IQ2TGJe+32DqAFpJ8dx+MimVxJg=; b=AKfJUBYI2rRFuVGVvG+pO92Cu0Aj852DJrtAv/zL6gwcjLBcaheryVnfRakcB9Cd0NArFGWg/uQp3ZUUHvRtsDUcEOMye38wAgDSMMTMDEBn0aTah/IXtNZG7c28Zw3uBmXgHHyoMBy14HRSTprrkFLVg1FYY5WmUJeXpPjqqh0= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751249706728.201963753316; Fri, 29 May 2020 04:20:49 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3z-0006hM-Pa; Fri, 29 May 2020 11:20:35 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed3y-0006g8-DW for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:34 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 554e1a0c-a19e-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:20:00 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3P-0003xZ-8q; Fri, 29 May 2020 12:19:59 +0100 X-Inumbo-ID: 554e1a0c-a19e-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 07/49] setupboot_grub2: Drop $submenu variable Date: Fri, 29 May 2020 12:19:03 +0100 Message-Id: <20200529111945.21394-8-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" We really only used this to check how many levels deep in { we are. That can be done by checking $#offsets, which is >0 if we are in a submenu and not otherwise. We lose the ability to report the start line of the submenu, but that's OK. But as a bonus, we no longer bomb out on nested submenus: previously the first } would cause $submenu to be undef. Now we pop from @offsets and all is fine. Nested submenus are present in Debian buster. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index ba975b87..b8bf67dc 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -452,15 +452,13 @@ sub setupboot_grub2 ($$$$) { my @offsets =3D (0); my $entry; my $chainentry; - my $submenu; while (<$f>) { next if m/^\s*\#/ || !m/\S/; if (m/^\s*\}\s*$/) { - die unless $entry || $submenu; - if (!$entry && $submenu) { - logm("Met end of a submenu $submenu->{StartLine}..$.. = ". + die unless $entry || $#offsets; + if (!$entry && $#offsets) { + logm("Met end of a submenu at $. (@offsets) ". "Our want kern is $want_kernver"); - $submenu=3D undef; pop @offsets; $offsets[$#offsets]++; next; @@ -510,7 +508,6 @@ sub setupboot_grub2 ($$$$) { $offsets[$#offsets]++; } if (m/^\s*submenu\s+[\'\"](.*)[\'\"].*\{\s*$/) { - $submenu=3D{ StartLine =3D>$., MenuEntryPath =3D> join ">"= , @offsets }; push @offsets,(0); } if (m/^\s*chainloader\s*\/EFI\/osstest\/xen.efi/) { --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751251; cv=none; d=zohomail.com; s=zohoarc; b=Fg2llOKzsInJrHNLJQij5qta8aKAsGnV1ueEKN+aXrac8yqvYIKhlWrM9fqvhjTZUvcdzWMgmO1gWsTz+zTmjh9HTEhWT/LHibTCKyJuI5B1bl1CtIhgJh2v43ePCMPF8t7xpeIVAQdR6W05qSGBpG6+qKrZCC+LG6nEmWB5pg4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751251; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=n32Q5yVldeS90S0qbN6eowi4TqWnsAZNLONfHvqwYZk=; b=eK/cXrQBh1l3RB+h+AfrHfRgcWGHY3dyRhFJ24IUSxv9yTdTBAyqiqT4oNMwfRUzOEQZVcjAzlyiEQqWnbaDZVUFuXN7HghJaav1ohZOncUoDUX11Dmz8+XedrBy7Hwf+POo105HTapyQPMntw3oYS+WJkqJEMuyYPoiP5Rg3yE= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751251324184.9642914379989; Fri, 29 May 2020 04:20:51 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed44-0006l0-33; Fri, 29 May 2020 11:20:40 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed43-0006kD-DB for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:39 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 556c9e32-a19e-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:20:00 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3P-0003xZ-Ea; Fri, 29 May 2020 12:19:59 +0100 X-Inumbo-ID: 556c9e32-a19e-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 08/49] ts-leak-check: Ignore buster's udevd too Date: Fri, 29 May 2020 12:19:04 +0100 Message-Id: <20200529111945.21394-9-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" For reasons I don't propose to investigate, on buster udevd shows up like this: 2019-11-26 18:13:48 Z LEAKED [process 2633 /lib/systemd/systemd-udevd] pr= ocess: root 2633 1555 0 18:10 ? 00:00:00 /lib/systemd/systemd= -udevd This does not match our suppression. Add an additional suppression. Signed-off-by: Ian Jackson --- ts-leak-check | 1 + 1 file changed, 1 insertion(+) diff --git a/ts-leak-check b/ts-leak-check index 41e6245d..f3cca8aa 100755 --- a/ts-leak-check +++ b/ts-leak-check @@ -202,6 +202,7 @@ xenstore /vm xenstore /libxl =20 process .* udevd +process .* .*/systemd-udevd process .* /.+/systemd-shim =20 file /var/run/xenstored/db --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751260; cv=none; d=zohomail.com; s=zohoarc; b=V6VWrdErPzxS4Mm/s6THN6wG01Gcbmc/+zMzZFMiUPC/PWv5dX45B9TJcWbIaxO/owc6zndoHttFR63WaOVf3aiBvF1tX3w8irAyvOQdAVpySSZJG8FXe9/AZ6nd7V5AwzTMxkBawoqz3XR1ps+hhuDvNq8pZS9OQk416Gwp87w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751260; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=/rJS+dIQQrECJY+qug8dirCR8AZgUT9UCscQfV8zk+o=; b=exQa3XNdz9MDSPtW1e62Mc39FJ07R8vupFbgHOSEnCLwZz27N9EUWHKRdQyq8uTuw+ahB72qJ2VyBHUhChShgRoWq2w45dQr+4ewHBnVc0d1mjkgeP93r1xZanQDxQw7kqYOKHAsr8oSOJBy2qPftToKrDASI41mb8aCuHB+vbA= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751260989600.1569026805479; Fri, 29 May 2020 04:21:00 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed49-0006od-BY; Fri, 29 May 2020 11:20:45 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jed48-0006nv-DN for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:20:44 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 559fe83c-a19e-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:20:00 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3P-0003xZ-Lq; Fri, 29 May 2020 12:19:59 +0100 X-Inumbo-ID: 559fe83c-a19e-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 09/49] Bodge systemd random seed arrangements Date: Fri, 29 May 2020 12:19:05 +0100 Message-Id: <20200529111945.21394-10-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" systemd does not regard the contents of the random seed file as useful for the purposes of placating the kernel's entropy tracker. As a result, the system hangs at boot waiting for entropy. Fix this by providing a small program which can be used to load a seed file into /dev/random and also call RNDADDTOENTCNT to add the appropriate amount to the kernel's counter. Arrange to run this program instead of /lib/systemd/systemd-random-seed load With systemd the random seed file is in /var/lib/systemd/random-seed rather than /var/lib/urandom/random-seed. And, provide an initial contents of this file, via a d-i late_command. Unfortunately we must hardcode the actual numerical value of RNDADDTOENTCNT because we don't have a suitable compiler anywhere nearby. It seems to have the same value on i386, amd64, armhf and arm64, our currently supported architectures. Thanks to Colin Watson for pointers to the systemd random unit and Matthew Vernon for instructions on overriding just ExecStart. I think this change should be a no-op on non-systemd systems. In principle this is a bug in Debian or in systemd, that ought to be reported upstream. However, it has been extensively discussed on debian-devel and it does not seem that any improvement is likely. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 18 ++++++++++ .../override.conf | 3 ++ overlay/usr/local/bin/random-seed-add | 33 +++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 overlay/etc/systemd/system/systemd-random-seed.service.= d/override.conf create mode 100755 overlay/usr/local/bin/random-seed-add diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index b8bf67dc..8ccacc79 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -49,6 +49,7 @@ BEGIN { di_installcmdline_core di_vg_name debian_dhcp_rofs_fix + debian_write_random_seed_command ); %EXPORT_TAGS =3D ( ); =20 @@ -1087,6 +1088,13 @@ ln -s . /target/boot/boot END } =20 + my $cmd =3D debian_write_random_seed_command('/target'); + preseed_hook_command($ho, 'late_command', $sfx, <', '/dev/random' or die "open /dev/random: $!\n"; +R->autoflush(1); + +sub rndaddtoentcnt ($) { + my ($bits) =3D @_; + my $x =3D pack 'L', $bits; + my $r =3D ioctl R, 0x40045201, $x; + defined $r or die "RNDADDTOENTCNT: $!\n"; +} + +sub process_stdin ($) { + my ($f) =3D @_; + my $got =3D read STDIN, $_, 512; + defined $got or die "read $f: $!\n"; + last if !$got; + print R $_ or die "write /dev/random: $!\n"; + my $bits =3D length($_) * 8; + rndaddtoentcnt($bits); +} + +if (!@ARGV) { + process_stdin('stdin'); +} else { + die "no options supported\n" if $ARGV[0] =3D~ m/^\-/; + foreach my $f (@ARGV) { + open STDIN, '<', $f or die "open for reading $f: $!\n"; + process_stdin($f); + } +} + --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752125; cv=none; d=zohomail.com; s=zohoarc; b=O7iB3vLrpr6///nXTc8vZKDMn2euApdGjCURcIf3Uho3GCKV/2Q0tgeb4CcaQHWJWIPPkMbORBh0WxBdtfy7FghhdgU3aBwkMAxqfoX4zsKprRkwirdPfW882JKz+E10rjHFJuEVPQyAZ9g0HRpteRkS/GsD4FUFC3Ze5B153mg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752125; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Wnn9RZgspm4VrYIRGARFFOT4CFULMWAKvabF4sjBiJo=; b=UzbLKIRqOFYZzzTVgZmeQDLe9QixbqFce4dC2yRXEkMGi0n6XgvxdgpE6CQ7cNorikkNB1XEgrDgv0s6AE4p+peDsu8kIngA/EquFsDcPjhc/oxNh/lVglXhbtm2JwuVpjjfSk7k6o4xrp4sec7KH51KJ2BO+PG8gOCMPsKIsFc= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752125363822.5759132160886; Fri, 29 May 2020 04:35:25 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedI9-00033H-J7; Fri, 29 May 2020 11:35:13 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedI7-00031l-SK for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:11 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 5121d66a-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:34:12 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3P-0003xZ-UC; Fri, 29 May 2020 12:20:00 +0100 X-Inumbo-ID: 5121d66a-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 10/49] Debian guests made with xen-tools: Write systemd random seed file Date: Fri, 29 May 2020 12:19:06 +0100 Message-Id: <20200529111945.21394-11-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" When the Debian guest is not made with d-i, we must still provide this random seed file. This can be done in ts-debian-fixup. Signed-off-by: Ian Jackson --- ts-debian-fixup | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ts-debian-fixup b/ts-debian-fixup index fef9836e..dfeb4d39 100755 --- a/ts-debian-fixup +++ b/ts-debian-fixup @@ -102,6 +102,11 @@ sub console () { logm("extra: $extra"); } =20 +sub randomseed () { + my $cmd =3D debian_write_random_seed_command($mountpoint); + target_cmd_root($ho, "set -ex\n".cmd); +} + sub filesystems () { my $rootdev=3D $r{"$gho->{Guest}_rootdev"}; return unless defined($rootdev) && length($rootdev); @@ -215,6 +220,7 @@ END target_cmd_root($ho, debian_dhcp_rofs_fix($ho, $mountpoint)); =20 console(); +randomseed(); filesystems(); otherfixupcfg(); writecfg(); --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752064; cv=none; d=zohomail.com; s=zohoarc; b=hZmIvdvYRzsdLuPWpziJLZkSTu9Gcn+lbKqHbhUTsqqsrGp40Tql3+rGp5X747prSmwnrFJGF73YfEAmUn6uK08onyhURJwIJWR+p4Y7qXPrXJya3t7WE7zJzz5E0p6q6QBubmC4vnaHhOGdZIipqaIsmOzyAIKciNKq/0SpApU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752064; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=j9S4bVwMnJhProk704CwVStrUJopcwdQNc1ueXUWlL8=; b=IYHvxmvp4pURxZ0piZAXqsWLxPGlG9cBMSDgekku2Pnlfonw/Rjl7CJnYAPaYiS4GfZWbmRnE8Dk7AF+J3x6Vj2zLgiDOTJWtFanowSQp67Hu9n3IOEE9M6b3l6WOSYHPJVAbhS0/9LRMVZj4QcKmQdKQVt++e/PgBI6ULBjZjM= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752064553867.8628659139334; Fri, 29 May 2020 04:34:24 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHA-0001zK-J3; Fri, 29 May 2020 11:34:12 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedH9-0001yU-Qy for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:11 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 39b706b2-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:33:32 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Q-0003xZ-5r; Fri, 29 May 2020 12:20:00 +0100 X-Inumbo-ID: 39b706b2-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 11/49] ts-debian-di-install: Provide guest with more RAM Date: Fri, 29 May 2020 12:19:07 +0100 Message-Id: <20200529111945.21394-12-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" buster cannot boot in so little because its initramfs and kernel are too large. Bump it to 2G. However, our armhf test nodes have very little RAM. And the Debian armhf does fit in them as a guest still, so use a smaller value there. Keying this off the architecture rather than the available host memory is better because you do need the bigger value precisely if you are not using armhf, and this makes osstest less dependent on a completely accurate and populated host properties database. Signed-off-by: Ian Jackson --- ts-debian-di-install | 2 +- ts-debian-fixup | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts-debian-di-install b/ts-debian-di-install index 9abb4956..d84407cf 100755 --- a/ts-debian-di-install +++ b/ts-debian-di-install @@ -64,7 +64,7 @@ $gn ||=3D 'debian'; =20 our $ho=3D selecthost($whhost); =20 -our $ram_mb=3D 512; +our $ram_mb=3D $r{arch} =3D~ m/^armhf/ ? 768 : 2048; our $disk_mb=3D 10000; =20 our $guesthost=3D $gn. diff --git a/ts-debian-fixup b/ts-debian-fixup index dfeb4d39..528fb03b 100755 --- a/ts-debian-fixup +++ b/ts-debian-fixup @@ -104,7 +104,7 @@ sub console () { =20 sub randomseed () { my $cmd =3D debian_write_random_seed_command($mountpoint); - target_cmd_root($ho, "set -ex\n".cmd); + target_cmd_root($ho, "set -ex\n".$cmd); } =20 sub filesystems () { --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752121; cv=none; d=zohomail.com; s=zohoarc; b=C0T1dSuv7lmPBdeWD1Avy1xbjHPwXiQBgVhfMwlxZLAeRvj8d668X8yXEV2lolDe/v4HxJ/qAnIHTJcipaGs8I3iRNnf1TDy8ed/M1UYPuGC6N6NuawfCULUHz60q9mwa4CXc0mcV7HpP2J9fQ/FZ1EBtL9YG93wjhJpZ9YXe2M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752121; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ApIPH6CU9vj+711W+GQryChl1ympcU/yaJjdCq8Z6aY=; b=j6Q24irUl1xYlxCas/8NyoMH26OzpvR/AVmKDWFMMVvZQ27pRj8erFC+XNCBWGH+0+ac7uPA2iFylj7HTU0Y2KK5l11KU63qcRRs3C7hYhiSW2DJQaxb0JISwsPnrR+yrAMaOHb+0RmSoS9jhGVqBQCcaFcH3kDHjyKPidcNEdA= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752121385989.6291056698334; Fri, 29 May 2020 04:35:21 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedI4-0002yG-AP; Fri, 29 May 2020 11:35:08 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedI2-0002xD-Si for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:06 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4e8bf2aa-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:34:07 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Q-0003xZ-Bz; Fri, 29 May 2020 12:20:00 +0100 X-Inumbo-ID: 4e8bf2aa-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 12/49] Debian: preseed: use priority= alias Date: Fri, 29 May 2020 12:19:08 +0100 Message-Id: <20200529111945.21394-13-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This marginally reduces command line clobber. This alias has been supported approximately forever. (And this code is currently only used when DebconfPriority is set, which it generally isn't.) Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 8ccacc79..345aff68 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -702,7 +702,7 @@ sub di_installcmdline_core ($$;@) { ); =20 my $debconf_priority=3D $xopts{DebconfPriority}; - push @cl, "debconf/priority=3D$debconf_priority" + push @cl, "priority=3D$debconf_priority" if defined $debconf_priority; push @cl, "rescue/enable=3Dtrue" if $xopts{RescueMode}; =20 --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752142; cv=none; d=zohomail.com; s=zohoarc; b=QmOUWsWWmETrpgqXqOdNrHDxKuTz9DM2IuBw7CDhqJEVL9WGMcfnuL6PWm8KBJhJdm3xFwI+PhhIgwYUV6ZL7VNTNwVL15xe5VCw+M5U+XV6QQYW7fnEdKwnmcw+yVnrLnGNIcoNVoVyH17KqaTKkduqr4hI9rhvGo6nnAI40bc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752142; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=LlUR9QNS1JRN+srSQnDpg9u8/Cya+MaSX9J94vVJGcA=; b=bXH1GVGEYZGVx9lnr4BdW1QOvzxfk2RVSi/KG5V9Mh/6ehHHOSIJpVCJHNKuZIDz/g2TrUj1UANh0iniaxfNg9SW1XDMUMQngNz/zkfITpygMuM4TdYeOfqfVeSoPH3KQcP+UpykhChlucXEPbU4qg/lTkqxAZpCX5AMheluQ4Q= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752142484430.16664457267075; Fri, 29 May 2020 04:35:42 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIO-0003Jp-Hm; Fri, 29 May 2020 11:35:28 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIM-0003HT-T9 for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:26 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 54de43ec-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:34:18 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Q-0003xZ-N1; Fri, 29 May 2020 12:20:00 +0100 X-Inumbo-ID: 54de43ec-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 13/49] Debian: Specify `priority=critical' rather than locale Date: Fri, 29 May 2020 12:19:09 +0100 Message-Id: <20200529111945.21394-14-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" In buster, it appears that specifying locale on the command line is not sufficient. Rather than adding more things to the command line, instead, just say `priority=3Dcritical', by defaulting $debconf_priority to 'critical'. I think this change should be fine for earlier suites too. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 345aff68..7b311a14 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -698,12 +698,10 @@ sub di_installcmdline_core ($$;@) { "$xopts{PreseedScheme}=3D$ps_url", "netcfg/dhcp_timeout=3D150", "netcfg/choose_interface=3D$netcfg_interface", - "debian-installer/locale=3Den_GB", ); =20 - my $debconf_priority=3D $xopts{DebconfPriority}; - push @cl, "priority=3D$debconf_priority" - if defined $debconf_priority; + my $debconf_priority=3D $xopts{DebconfPriority} // 'critical'; + push @cl, "priority=3D$debconf_priority"; push @cl, "rescue/enable=3Dtrue" if $xopts{RescueMode}; =20 if ($r{syslog_server}) { --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752052; cv=none; d=zohomail.com; s=zohoarc; b=LV+K6RisCwbNiQYh60IWj6SxtyAaeoB2yi1xwIfryo8V3SfIU/fTe29XJl53tODuucInfW+ppUnuHgV+sgw008UsF7y+Rw1uVTzSP9GfQoFw/52FFAjEqqpoFVZwnHFAJPzuJi8przVC310+1E55Vsd1Rp/2AtPRsnzfxTmc03w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752052; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pjG78X9HO2LmybLouK3pTwbRpxYjkS/H3xu6sDKuvzo=; b=D9giFsWGxpxe0PdQMiJDnxR38TAViyBYO+p9xOK6ex+kXaisolw3f01IDMDsTDvU3tRIWa8G6sDzM0awMqAkl9PW8PCZXf4yQQQoU6cVcuGfyT9sjp10QBHM9FhJ13MIRxHCil3Q4Ci++eYznehtQjvtUn9B0olNZ/wB+Ky5WIg= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752052993225.32826422079177; Fri, 29 May 2020 04:34:12 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGv-0001iK-Fb; Fri, 29 May 2020 11:33:57 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGu-0001hk-Pg for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:56 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 351ec9dc-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:33:25 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Q-0003xZ-VG; Fri, 29 May 2020 12:20:01 +0100 X-Inumbo-ID: 351ec9dc-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 14/49] Honour 'LinuxSerialConsole ' host property Date: Fri, 29 May 2020 12:19:10 +0100 Message-Id: <20200529111945.21394-15-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This works like LinuxSerialConsole. I originally wrote this to try to work around #940028, where multiple d-i autoinstalls run in parallel leading to hard-to-debug lossage! Explicitly specing the console causes it to run only on that one. However, it turns out that explicitly specifying the console does not always work and a better fix is needed. Nevertheless, having added this feature it seems foolish to throw it away. Currently there are no hosts with this property so no functiaonal change. Signed-off-by: Ian Jackson --- Osstest/TestSupport.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index ff8103f2..7eeac49f 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -1447,7 +1447,10 @@ sub get_target_property ($$;$) { sub get_host_native_linux_console ($) { my ($ho) =3D @_; =20 - my $console =3D get_host_property($ho, "LinuxSerialConsole", "ttyS0"); + my $console; + $console //=3D get_host_property($ho, "LinuxSerialConsole $ho->{Suite}= ") + if $ho->{Suite}; + $console //=3D get_host_property($ho, "LinuxSerialConsole", "ttyS0"); return $console if $console eq 'NONE'; =20 return "$console,$c{Baud}n8"; --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752029; cv=none; d=zohomail.com; s=zohoarc; b=iyNlE0a42ZTH97ypUoGucfH2YHhwG17goKRcbZMa/IAGEMAMqM8f4H2RydQV6692u+8J1u0EYqvdsAZPf9PY0DtNVz1DKpXADct4y6niIutiiyRIxfF6r4Irq4ySGdZU3378SWORpxDvki41PjNcENoUCJJI7q4JD+EOKiE/kw0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752029; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YoBp5bZyKIW1kZ8BfbCmWMNdnGS24p4XHQbvbQjumSQ=; b=FecVTrXrWjUv0Js45/z2rxSF/WXPCPP86+CGEMu/N9uGvoxKzat1KjF6j3syQLudTvPdNMdwT8oHD+eamcOf3nXm6VhF82lzDd0CRyKO85vEHBxdHLe52BYcOCn/UcTOZQFTHFNOas/A6YhWHRtk2LwgqPnrX+NpF795bCUcWV8= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752029458615.3099355970154; Fri, 29 May 2020 04:33:49 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGc-0001Pe-7w; Fri, 29 May 2020 11:33:38 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGa-0001OO-PX for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:36 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 2b81093a-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:33:08 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3R-0003xZ-5Z; Fri, 29 May 2020 12:20:01 +0100 X-Inumbo-ID: 2b81093a-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 15/49] buster: make-hosts-flight: Add to possible suites for hosts flight Date: Fri, 29 May 2020 12:19:11 +0100 Message-Id: <20200529111945.21394-16-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- make-hosts-flight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-hosts-flight b/make-hosts-flight index 92da1c7c..e2c3776a 100755 --- a/make-hosts-flight +++ b/make-hosts-flight @@ -26,7 +26,7 @@ blessing=3D$4 buildflight=3D$5 =20 : ${ALL_ARCHES:=3Damd64 i386 arm64 armhf} -: ${ALL_SUITES:=3Dstretch jessie} +: ${ALL_SUITES:=3Dbuster stretch jessie} # ^ most preferred suite first =20 : ${PERHOST_MAXWAIT:=3D20000} # seconds --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752134; cv=none; d=zohomail.com; s=zohoarc; b=MBNIVg3IMc5Twl41rQvfyPephUHUZNYgv1VUFmcYuo3ovMuLGhJ0B218nZfOWYIQm0hUsRXi193sPsiuOqwKu293S1WFiJUtUiymbzOyemSAeipzhXgaJG50mwLLs8KDH+GquH2anNOXT7fqvqjLF72Xsg1Pbbq+7EyBlROO2FE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752134; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DVxnogx3ejPRFdV1V+TAVS2dwEM3f2oGJSrzjvM1m9M=; b=Z18zAIO7p1KvHp/0yrC6NjQt2WVHif4qLImp4Xv4eGTsOFDnixbTvOlOUIr/6ZP4A65GK6+zoDQpz8Nqq+l/gEgqpIEgfC5ElteTSy2/vEvwo/lmBbBu8YYdr8JcSZ6bSo/ZjlkQ5msIPkBQjZXp/HO4oxgAczdc/28LabYVtPI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752134134459.47404794561; Fri, 29 May 2020 04:35:34 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedID-00037g-Ta; Fri, 29 May 2020 11:35:17 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIC-00036a-T8 for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:16 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 525bdc06-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:34:14 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3R-0003xZ-EW; Fri, 29 May 2020 12:20:01 +0100 X-Inumbo-ID: 525bdc06-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 16/49] buster: Extend grub2 uefi no install workaround Date: Fri, 29 May 2020 12:19:12 +0100 Message-Id: <20200529111945.21394-17-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" src:grub2 is RFH in Debian, which is a contributory factor to these patches in #789798 and #792547 languishing. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 7b311a14..9b4ef967 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1466,7 +1466,7 @@ d-i partman-auto/expert_recipe string \\ END =20 if (get_host_property($ho, "firmware") eq "uefi") { - die unless $ho->{Suite} =3D~ m/jessie|stretch/; + die unless $ho->{Suite} =3D~ m/jessie|stretch|buster/; # Prevent grub-install from making a new Debian boot entry, so # we always reboot from the network. Debian bug #789798 proposes a # properly preseedable solution to this. --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752060; cv=none; d=zohomail.com; s=zohoarc; b=Uo9Grb+GsyWdWT+cViQ+dNHe0lu6RAACJA7iuBc65FD2C5i3tSLCQS1aXtX5DB7Iu/vDrR1QVtJE54T6jHe7Lb1+xBccfHkpWVVVKbQZPctNi+KRlRnVxbvPZhqWOqcd56JOqcKTuNcxI5w9JPkigM/fDgzFqP7T4xjREfgqGOY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752060; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=F2spVYosa84tlorGnTdin7cmycSgWh9BDs6TJ3U2c1s=; b=NLlXdys6Zj6PypQkR/tCr1cwHAUQKLWo4RoHP/iBB3tvchX4kJVAdiIdgimwCGlWjQTaEbhUt3DFzHV7gtBN7TfBx7HnoG+hfnVTLl8WQ8tX1O8XW6fER8RTMocwVnrfLVT3F41R0Un7z0kwSqORclNayGzwafss4cQ7jd7LCWU= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752060265366.473410989615; Fri, 29 May 2020 04:34:20 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedH1-0001or-Os; Fri, 29 May 2020 11:34:03 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGz-0001n4-R4 for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:01 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 3739ae80-a1a0-11ea-81bc-bc764e2007e4; Fri, 29 May 2020 11:33:28 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3R-0003xZ-Lg; Fri, 29 May 2020 12:20:01 +0100 X-Inumbo-ID: 3739ae80-a1a0-11ea-81bc-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 17/49] buster: ts-host-install: Extend net.ifnames workaround Date: Fri, 29 May 2020 12:19:13 +0100 Message-Id: <20200529111945.21394-18-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Really we should fix this by making a .deb in Debian that we could install. But this is a longer-term project. Signed-off-by: Ian Jackson --- ts-host-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-host-install b/ts-host-install index 7a72a867..fe26f70f 100755 --- a/ts-host-install +++ b/ts-host-install @@ -282,7 +282,7 @@ END =20 # Don't use "Predictable Network Interface Names" # https://www.freedesktop.org/wiki/Software/systemd/PredictableNetwork= InterfaceNames/ - push @hocmdline, "net.ifnames=3D0" if $ho->{Suite} =3D~ m/stretch/; + push @hocmdline, "net.ifnames=3D0" if $ho->{Suite} =3D~ m/stretch|bust= er/; =20 push @hocmdline, get_host_property($ho, "linux-boot-append $ho->{Suite}", ''), --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752151; cv=none; d=zohomail.com; s=zohoarc; b=XYG1VbupdXlnW3TjPQOmU2QPuvf1HjIzhgokI2o4gTb4rOUBTDERO4yRxF1Wdidd3EBukOv4q+3p1OFQJ1+1KVdUOxiNPiMwet9ujuQ9Zr2EVka+UCXFDL5xrCCdDA4KGDflGSUP2h+E77ynVaWmWKpR/Rr+A/v3jT4yADAqqSg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752151; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=JZha3NG/cfDemUqvkrjMz2U40vFmznTcUwR/BdOutaE=; b=I+N/BAYo/XzMZOvY/vGWfkR8K1EH6DN5G0WrhSiwvV/P+QceA7LBfCwFirvTkdIgS3A2NrQe0kePZajNxvvsR68V8riOJFfXSE9bB6VLCSygEMWnVM+z8DfjXgQedt6nWjkPwXrLpbgUo2zyN1zDFrKSiDgCX3YGiKSctIYXc9Y= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752151527652.1601863861138; Fri, 29 May 2020 04:35:51 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIY-0003W8-9P; Fri, 29 May 2020 11:35:38 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIW-0003Uv-UE for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:36 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 5a05be90-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:34:26 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3R-0003xZ-TQ; Fri, 29 May 2020 12:20:02 +0100 X-Inumbo-ID: 5a05be90-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 18/49] buster: Deinstall the "systemd" package Date: Fri, 29 May 2020 12:19:14 +0100 Message-Id: <20200529111945.21394-19-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This installs a pam rule which causes logins to hang. It also seems to cause some kind of udev wedge. We are using sysvinit so this package is not desirable. Empirically, removing it makes the system work. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 9b4ef967..a328160e 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -842,6 +842,7 @@ sub preseed_base ($$$;@) { if ( $suite !~ /squeeze|wheezy/ ) { preseed_hook_command($ho, 'late_command', $sfx, < (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752015348925.7783270521435; Fri, 29 May 2020 04:33:35 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGN-0001BU-B7; Fri, 29 May 2020 11:33:23 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGL-0001AN-Pc for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:21 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 256280b0-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:32:58 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3S-0003xZ-4N; Fri, 29 May 2020 12:20:02 +0100 X-Inumbo-ID: 256280b0-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 19/49] buster: preseed partman-auto-lvm/guided_size Date: Fri, 29 May 2020 12:19:15 +0100 Message-Id: <20200529111945.21394-20-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Otherwise we get this question: | You may use the whole volume group for guided partitioning, or part | of it. [...] | Amount of volume group to use for guided partitioning: Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index a328160e..bac33d00 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -938,6 +938,7 @@ d-i partman/choose_partition select finish d-i partman/confirm boolean true d-i partman-lvm/confirm boolean true d-i partman-lvm/device_remove_lvm_span boolean true +d-i partman-auto-lvm/guided_size string max =20 d-i partman/confirm_nooverwrite true d-i partman-lvm/confirm_nooverwrite true --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751969; cv=none; d=zohomail.com; s=zohoarc; b=I2OkHkwRnFz602G5oaSLSZrr1fpaYQUI5EYIzSPvULRNnsiFAgffIXWo9nlBGGKxeFpzphx7G+i1EZZbPfHcbe9VVsw1YWN5ybLXNGA7jhRko0tROteX/41DHJNhKyra8dmwUVS3I8K+PsqnoacEhHS+qtsnUvly2wc4yKuSBhs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751969; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=RlIdWUcNI6CaTkTXJgr+d70B0SyH/pbvUp3gIyIDXXM=; b=NSm/myiyM3COoP5cGmhaMJuZY9zPUFIpOg9cRUkono8Iw5nuzGE6HgzQCdDG8PK8RsfZX5b18LeVg+ku/fr0U05awzz4BNNiRq6qcsORqiZ019j4NabBlO1905wz6/B20HaDa5uq4cRo1bH9qZEskTygrFPmFRPDymEIabfN5y0= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751969355241.30280288459153; Fri, 29 May 2020 04:32:49 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFd-0000k0-BQ; Fri, 29 May 2020 11:32:37 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFc-0000ji-Nv for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:32:36 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 17e83dee-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:32:36 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3S-0003xZ-BE; Fri, 29 May 2020 12:20:02 +0100 X-Inumbo-ID: 17e83dee-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 20/49] buster: ts-host-install: NTP not honoured bug remains Date: Fri, 29 May 2020 12:19:16 +0100 Message-Id: <20200529111945.21394-21-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Debian #778564 remains open. Signed-off-by: Ian Jackson --- ts-host-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-host-install b/ts-host-install index fe26f70f..253dbb5d 100755 --- a/ts-host-install +++ b/ts-host-install @@ -152,7 +152,7 @@ END my $done=3D 0; while () { if (m/^server\b|^pool\b\s/) { - if ($ho->{Suite} =3D~ m/lenny|squeeze|wheezy|jessie|stretch/) { + if ($ho->{Suite} =3D~ m/lenny|squeeze|wheezy|jessie|stretch|buster/)= { $_=3D $done ? "" : "server $ntpserver\n"; } else { m/^server \Q$ntpserver\E\s/ or --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752042; cv=none; d=zohomail.com; s=zohoarc; b=iBgR6/vE9KKVnnVwjGqsGE0Oyzea/k/KGXxyHRp0ZxJkLzr9OY9rthU4GxuFOdATzRzwA8K9E3QLL5Wiu1kq+5mCPTVT4HpWemnEOBDDV6O24unjjPNhE9gi4LXd4kZtVoWrRtF49wp+avAAScC9BL7h/Jcyx5HvEEEusOdlKfo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752042; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DZH3Vpa1pQuSDhIKQqr5lD2I5+TD4gTx4rSwyuyiImk=; b=CBAZhwASL+ChRWLSrFNkdALxutUc7yDHRVdzkRgbbfBzxJtHkBYqWPY62Mvu5b8/acq33zQt33wutWXnWVmCXFAn36Xou8jjesJ3KOdmj2npisx1mtumZmo7yh2DVH3HphtIzNKBhjwSAVsoss9hkzuK1TPAzBfuWRP1u2LdjLA= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752042260373.9823667245861; Fri, 29 May 2020 04:34:02 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGm-0001Zk-SU; Fri, 29 May 2020 11:33:48 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGk-0001Xz-Q0 for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:46 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 301a01b8-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:33:16 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3S-0003xZ-K0; Fri, 29 May 2020 12:20:02 +0100 X-Inumbo-ID: 301a01b8-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 21/49] buster: Extend ARM clock workaround Date: Fri, 29 May 2020 12:19:17 +0100 Message-Id: <20200529111945.21394-22-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Julien Grall , Stefano Stabellini , Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" CC: Julien Grall CC: Stefano Stabellini Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index bac33d00..71167351 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -248,7 +248,7 @@ END push @xenkopt, $xenkopt; # https://bugs.xenproject.org/xen/bug/45 push @xenkopt, "clk_ignore_unused" - if $ho->{Suite} =3D~ m/wheezy|jessie|stretch/; + if $ho->{Suite} =3D~ m/wheezy|jessie|stretch|buster/; =20 $xenkopt =3D join ' ', @xenkopt; logm("Dom0 Linux options: $xenkopt"); --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752073; cv=none; d=zohomail.com; s=zohoarc; b=MJKLm4DIlZ329fpt/3+V88JGhBLUcgUWsT4gAFL8X6SnNb4mGQzmqG4XUTFjX2yzHSpayn/CRu+ywKzNHFSa58USnEQHn3auR5wf0no8rs+vYmtC4SWHKvRtjUHSUQhT7vvQAASM11RvhyGBgRLuA9e7WvLJQSUbnWqjk2pmVLk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752073; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=LAAA05rASu50KlgpVjPKFjyQCB35mtRrU61mz7+AMDk=; b=NS4v+Uu11M8J28xMikfn6QKDoXwJLVjr+L9I26sg0RUOxYcOlB88nQ0Wih7ot7LFcLH/y7jMxo2fDMDUrJ/UW3dZqOnHa51x8vhE5Iawa7MozIUjlmVlSiYC/HWi+Dl3GBvLekl4d/3fPClBsAC93wACHOFD73Z12TYZDq15lss= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752073519268.78940082363613; Fri, 29 May 2020 04:34:33 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHF-00024x-UG; Fri, 29 May 2020 11:34:17 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHE-00023s-R0 for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:16 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 3af54a34-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:33:34 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3S-0003xZ-US; Fri, 29 May 2020 12:20:03 +0100 X-Inumbo-ID: 3af54a34-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 22/49] buster: Extend guest bootloader workaround Date: Fri, 29 May 2020 12:19:18 +0100 Message-Id: <20200529111945.21394-23-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Julien Grall , Stefano Stabellini , Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" CC: Julien Grall CC: Stefano Stabellini Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 71167351..3fc9e555 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1064,7 +1064,7 @@ END logm("\$arch is $arch, \$suite is $suite"); if ($xopts{PvMenuLst} && $arch =3D~ /^arm/ && - $suite =3D~ /wheezy|jessie|stretch|sid/ ) { + $suite =3D~ /wheezy|jessie|stretch|buster|sid/ ) { =20 # Debian doesn't currently know what bootloader to install in # a Xen guest on ARM. We install pv-grub-menu above which --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752045; cv=none; d=zohomail.com; s=zohoarc; b=avpSyuRKjLkHVk44KJMlmyuaj2tAmNMWTKDkW378YRx5irQhkXh4WStwCiBQpGowaSldNJxSLt/na4NIENHT5T+ww6cvYV6+v4mWMjWnm9O0o4urWyzANlXJ6Spk6K2hvu/vkDpFaC975gFWjCCZqV56Eshl00bTFxtgGCiVjDM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752045; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=TqZ1+mgg0KwF6FQlivnx6tdTtTOa/WoBs5UlbuJm+FQ=; b=V7tPqCSNt/n7dK4SFmwAypJ6L1J2ruYVfNOVC9FGUYWkgTqsMbvCBG+xuJhaJQMbgEWVPNqALQ1E4XEotVSeSzE8z5Y9ssuRo+0MlSqur/jap5161EEkcz0XxcdjfWLuH/+0XYyxXAT9NGP4CoaYbtAqzkGY/iuJX9waJQxMKoU= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752045276966.992963307039; Fri, 29 May 2020 04:34:05 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGr-0001e1-5p; Fri, 29 May 2020 11:33:53 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGp-0001co-QA for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:51 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 32caa9a8-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:33:21 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3T-0003xZ-52; Fri, 29 May 2020 12:20:03 +0100 X-Inumbo-ID: 32caa9a8-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 23/49] Honour DebianImageFile_SUITE_ARCH Date: Fri, 29 May 2020 12:19:19 +0100 Message-Id: <20200529111945.21394-24-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This lets us specify the whole filename, not just a version. This is needed because for buster we are going to use debian-10.2.0-ARCH-xfce-CD-1.iso Signed-off-by: Ian Jackson --- mfi-common | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mfi-common b/mfi-common index b40f057e..640cf328 100644 --- a/mfi-common +++ b/mfi-common @@ -522,6 +522,15 @@ job_create_test () { =20 usual_debianhvm_image () { local arch=3D$1; shift + if [ -n "$DEBIAN_IMAGE_FILE" ]; then + echo $DEBIAN_IMAGE_FILE + return + fi + local file=3D`getconfig DebianImageFile_${guestsuite}_${arch}` + if [ -n "$file " ]; then + echo $file + return + fi local ver=3D$DEBIAN_IMAGE_VERSION if [ -z "$ver" ] ; then ver=3D`getconfig DebianImageVersion_$guestsuite` --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752060; cv=none; d=zohomail.com; s=zohoarc; b=R2VdDy3Mi50+TtW0q0keWGnTxjkHYaT8+BFFuMd8MPi9nAHy9pfgQn040oDx4IrV8KxG0jXxjF3cqKEMfN6mympF4Jb4IA4P8+2L41tNds4MClMeMVJxVwLL4J07mspFBXCSilJGRzVAPFKha3+nJAn4ULnu+O1We0f6p+ma7EA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752060; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=PzHTwBvR9z54q9XoxsX+MQLYugoPTKfOX45OdWpghsI=; b=exF68KPN/EHTD7XiObnjZ5oBVbSudr3smFMQun0EFeZI0hP7xdPgpZbQWZaV3trKf9ju9ztPoPralWypMp418Ihbcf84z+y5G73Zdkc3srJkAP7tmVAt3EFBJUsK+UfESlJs9DxYGFlHmDlD7jFIHDifzfNZAeWgvQQFDnUBSFY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752060216451.4578212122252; Fri, 29 May 2020 04:34:20 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedH6-0001tf-2a; Fri, 29 May 2020 11:34:08 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedH4-0001sE-QP for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:06 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 386a69a2-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:33:30 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3T-0003xZ-Bl; Fri, 29 May 2020 12:20:03 +0100 X-Inumbo-ID: 386a69a2-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 24/49] buster: Specify DebianImageFile_SUITE_ARCH Date: Fri, 29 May 2020 12:19:20 +0100 Message-Id: <20200529111945.21394-25-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- production-config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/production-config b/production-config index 103b8915..f0ddc132 100644 --- a/production-config +++ b/production-config @@ -98,6 +98,9 @@ DebianSnapshotBackports_jessie http://snapshot.debian.org= /archive/debian/2019020 DebianImageVersion_wheezy 7.2.0 DebianImageVersion_jessie 8.2.0 DebianImageVersion_stretch 9.4.0 +DebianImageFile_buster_amd64 debian-10.2.0-amd64-xfce-CD-1.iso +DebianImageFile_buster_i386 debian-10.2.0-i386-xfce-CD-1.iso + =20 # Update with ./mg-netgrub-loader-update TftpGrubVersion XXXX-XX-XX --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752006; cv=none; d=zohomail.com; s=zohoarc; b=C5OluRZQRM08SVH+E/VLjYRqGSbaqaLxemVT+5dqOj0KYnTao9ejsdOS3IPIz4K1SXJ6HIhH48sev0jK94HN5VJHCajo+F11yoFI1C115L399BGUKgRgX+pc4H7JbooGGyMOC6TnXlxmKYGam6fiJfkLQ2cVEBBYtIW+kBt8iGo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752006; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=yIh+H69gOYoIeW7pxl+56CuMqooBP6ouPYIrvZeuh3Y=; b=SEQcZNodgmbnrDB6KhL9S+u2LiCTLC1KJ/c46xSJsu1qGtsvU09Wyh79mrj4akuULHWfl9b4y3Zfwr+rGtNBhcRfxZHpSJmYC3PYzJYO5nQxuD4jgBwvmyRqkkQu4eBKEcumH9nuBkEwnNjwjJGcLdBL+l4xHOAabix0AIHytf4= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752006040647.8289667178358; Fri, 29 May 2020 04:33:26 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedG8-0000zs-74; Fri, 29 May 2020 11:33:08 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedG6-0000yz-Oi for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:06 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 20c7e036-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:32:50 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3T-0003xZ-Ia; Fri, 29 May 2020 12:20:03 +0100 X-Inumbo-ID: 20c7e036-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 25/49] 20_linux_xen: Copy Debian buster version into our initramfs area Date: Fri, 29 May 2020 12:19:21 +0100 Message-Id: <20200529111945.21394-26-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This is from 41e42571ebc50fa351cd63ce40044946652c5c72 in Debian's grub package. We are going to want to modify this to support XSM/FLASK and cope with upstream build outputs. In this commit we dump the exact file contents across. It's not effective right now because of the ".in" extension. In fact, the file is a template. At the time of writing I am trying to send our substantive changes upstream via Debian's Gitlab: https://salsa.debian.org/grub-team/grub/-/merge_requests/18 Signed-off-by: Ian Jackson --- overlay-buster/etc/grub.d/20_linux_xen.in | 299 ++++++++++++++++++++++ 1 file changed, 299 insertions(+) create mode 100644 overlay-buster/etc/grub.d/20_linux_xen.in diff --git a/overlay-buster/etc/grub.d/20_linux_xen.in b/overlay-buster/etc= /grub.d/20_linux_xen.in new file mode 100644 index 00000000..98ef163c --- /dev/null +++ b/overlay-buster/etc/grub.d/20_linux_xen.in @@ -0,0 +1,299 @@ +#! /bin/sh +set -e + +# grub-mkconfig helper script. +# Copyright (C) 2006,2007,2008,2009,2010 Free Software Foundation, Inc. +# +# GRUB is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# GRUB is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GRUB. If not, see . + +prefix=3D"@prefix@" +exec_prefix=3D"@exec_prefix@" +datarootdir=3D"@datarootdir@" + +. "$pkgdatadir/grub-mkconfig_lib" + +export TEXTDOMAIN=3D@PACKAGE@ +export TEXTDOMAINDIR=3D"@localedir@" + +CLASS=3D"--class gnu-linux --class gnu --class os --class xen" +SUPPORTED_INITS=3D"sysvinit:/lib/sysvinit/init systemd:/lib/systemd/system= d upstart:/sbin/upstart" + +if [ "x${GRUB_DISTRIBUTOR}" =3D "x" ] ; then + OS=3DGNU/Linux +else + OS=3D"${GRUB_DISTRIBUTOR} GNU/Linux" + CLASS=3D"--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' '= -f1|LC_ALL=3DC sed 's,[^[:alnum:]_],_,g') ${CLASS}" +fi + +# loop-AES arranges things so that /dev/loop/X can be our root device, but +# the initrds that Linux uses don't like that. +case ${GRUB_DEVICE} in + /dev/loop/*|/dev/loop[0-9]) + GRUB_DEVICE=3D`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*= /\1/"` + # We can't cope with devices loop-mounted from files here. + case ${GRUB_DEVICE} in + /dev/*) ;; + *) exit 0 ;; + esac + ;; +esac + +# btrfs may reside on multiple devices. We cannot pass them as value of ro= ot=3D parameter +# and mounting btrfs requires user space scanning, so force UUID in this c= ase. +if [ "x${GRUB_DEVICE_UUID}" =3D "x" ] || [ "x${GRUB_DISABLE_LINUX_UUID}" = =3D "xtrue" ] \ + || ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \ + || ( test -e "${GRUB_DEVICE}" && uses_abstraction "${GRUB_DEVICE}" lvm= ); then + LINUX_ROOT_DEVICE=3D${GRUB_DEVICE} +else + LINUX_ROOT_DEVICE=3DUUID=3D${GRUB_DEVICE_UUID} +fi + +# Allow overriding GRUB_CMDLINE_LINUX and GRUB_CMDLINE_LINUX_DEFAULT. +if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE}" ]; then + GRUB_CMDLINE_LINUX=3D"${GRUB_CMDLINE_LINUX_XEN_REPLACE}" +fi +if [ "${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}" ]; then + GRUB_CMDLINE_LINUX_DEFAULT=3D"${GRUB_CMDLINE_LINUX_XEN_REPLACE_DEFAULT}" +fi + +case x"$GRUB_FS" in + xbtrfs) + rootsubvol=3D"`make_system_path_relative_to_its_root /`" + rootsubvol=3D"${rootsubvol#/}" + if [ "x${rootsubvol}" !=3D x ]; then + GRUB_CMDLINE_LINUX=3D"rootflags=3Dsubvol=3D${rootsubvol} ${GRUB_CMDLI= NE_LINUX}" + fi;; + xzfs) + rpool=3D`${grub_probe} --device ${GRUB_DEVICE} --target=3Dfs_label 2>/dev= /null || true` + bootfs=3D"`make_system_path_relative_to_its_root / | sed -e "s,@$,,"`" + LINUX_ROOT_DEVICE=3D"ZFS=3D${rpool}${bootfs%/}" + ;; +esac + +title_correction_code=3D + +linux_entry () +{ + os=3D"$1" + version=3D"$2" + xen_version=3D"$3" + type=3D"$4" + args=3D"$5" + xen_args=3D"$6" + if [ -z "$boot_device_id" ]; then + boot_device_id=3D"$(grub_get_device_id "${GRUB_DEVICE}")" + fi + if [ x$type !=3D xsimple ] ; then + if [ x$type =3D xrecovery ] ; then + title=3D"$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "= ${xen_version}" "${version}" "$(gettext "${GRUB_RECOVERY_TITLE}")")" + elif [ "${type#init-}" !=3D "$type" ] ; then + title=3D"$(gettext_printf "%s, with Xen %s and Linux %s (%s)" "${os}" "= ${xen_version}" "${version}" "${type#init-}")" + else + title=3D"$(gettext_printf "%s, with Xen %s and Linux %s" "${os}" "${xen= _version}" "${version}")" + fi + replacement_title=3D"$(echo "Advanced options for ${OS}" | sed 's,>,= >>,g')>$(echo "$title" | sed 's,>,>>,g')" + if [ x"Xen ${xen_version}>$title" =3D x"$GRUB_ACTUAL_DEFAULT" ]; then + quoted=3D"$(echo "$GRUB_ACTUAL_DEFAULT" | grub_quote)" + title_correction_code=3D"${title_correction_code}if [ \"x\$defaul= t\" =3D '$quoted' ]; then default=3D'$(echo "$replacement_title" | grub_quo= te)'; fi;" + grub_warn "$(gettext_printf "Please don't use old title \`%s' for= GRUB_DEFAULT, use \`%s' (for versions before 2.00) or \`%s' (for 2.00 or l= ater)" "$GRUB_ACTUAL_DEFAULT" "$replacement_title" "gnulinux-advanced-$boot= _device_id>gnulinux-$version-$type-$boot_device_id")" + fi + echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry= _id_option 'xen-gnulinux-$version-$type-$boot_device_id' {" | sed "s/^/$sub= menu_indentation/" + else + title=3D"$(gettext_printf "%s, with Xen hypervisor" "${os}")" + echo "menuentry '$(echo "$title" | grub_quote)' ${CLASS} \$menuentry= _id_option 'xen-gnulinux-simple-$boot_device_id' {" | sed "s/^/$submenu_ind= entation/" + fi + if [ x$type !=3D xrecovery ] ; then + save_default_entry | grub_add_tab | sed "s/^/$submenu_indentation/" + fi + + if [ -z "${prepare_boot_cache}" ]; then + prepare_boot_cache=3D"$(prepare_grub_to_access_device ${GRUB_DEVICE_BO= OT} | grub_add_tab)" + fi + printf '%s\n' "${prepare_boot_cache}" | sed "s/^/$submenu_indentation/" + xmessage=3D"$(gettext_printf "Loading Xen %s ..." ${xen_version})" + lmessage=3D"$(gettext_printf "Loading Linux %s ..." ${version})" + sed "s/^/$submenu_indentation/" << EOF + echo '$(echo "$xmessage" | grub_quote)' + if [ "\$grub_platform" =3D "pc" -o "\$grub_platform" =3D "" ]; then + xen_rm_opts=3D + else + xen_rm_opts=3D"no-real-mode edd=3Doff" + fi + ${xen_loader} ${rel_xen_dirname}/${xen_basename} placeholder ${xen_args} = \${xen_rm_opts} + echo '$(echo "$lmessage" | grub_quote)' + ${module_loader} ${rel_dirname}/${basename} placeholder root=3D${linux_ro= ot_device_thisversion} ro ${args} +EOF + if test -n "${initrd}" ; then + # TRANSLATORS: ramdisk isn't identifier. Should be translated. + message=3D"$(gettext_printf "Loading initial ramdisk ...")" + sed "s/^/$submenu_indentation/" << EOF + echo '$(echo "$message" | grub_quote)' + ${module_loader} --nounzip ${rel_dirname}/${initrd} +EOF + fi + sed "s/^/$submenu_indentation/" << EOF +} +EOF +} + +linux_list=3D +for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* /boot/kernel-*; do + if grub_file_is_not_garbage "$i"; then + basename=3D$(basename $i) + version=3D$(echo $basename | sed -e "s,^[^0-9]*-,,g") + dirname=3D$(dirname $i) + config=3D + for j in "${dirname}/config-${version}" "${dirname}/config-${alt_version}= " "/etc/kernels/kernel-config-${version}" ; do + if test -e "${j}" ; then + config=3D"${j}" + break + fi + done + if (grep -qx "CONFIG_XEN_DOM0=3Dy" "${config}" 2> /dev/null || gre= p -qx "CONFIG_XEN_PRIVILEGED_GUEST=3Dy" "${config}" 2> /dev/null); then lin= ux_list=3D"$linux_list $i" ; fi + fi +done +if [ "x${linux_list}" =3D "x" ] ; then + exit 0 +fi + +file_is_not_sym () { + case "$1" in + */xen-syms-*) + return 1;; + *) + return 0;; + esac +} + +xen_list=3D +for i in /boot/xen*; do + if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then xen_li= st=3D"$xen_list $i" ; fi +done +prepare_boot_cache=3D +boot_device_id=3D + +title_correction_code=3D + +machine=3D`uname -m` + +case "$machine" in + i?86) GENKERNEL_ARCH=3D"x86" ;; + mips|mips64) GENKERNEL_ARCH=3D"mips" ;; + mipsel|mips64el) GENKERNEL_ARCH=3D"mipsel" ;; + arm*) GENKERNEL_ARCH=3D"arm" ;; + *) GENKERNEL_ARCH=3D"$machine" ;; +esac + +# Extra indentation to add to menu entries in a submenu. We're not in a su= bmenu +# yet, so it's empty. In a submenu it will be equal to '\t' (one tab). +submenu_indentation=3D"" + +is_top_level=3Dtrue + +while [ "x${xen_list}" !=3D "x" ] ; do + list=3D"${linux_list}" + current_xen=3D`version_find_latest $xen_list` + xen_basename=3D`basename ${current_xen}` + xen_dirname=3D`dirname ${current_xen}` + rel_xen_dirname=3D`make_system_path_relative_to_its_root $xen_dirname` + xen_version=3D`echo $xen_basename | sed -e "s,.gz$,,g;s,^xen-,,g"` + if [ -z "$boot_device_id" ]; then + boot_device_id=3D"$(grub_get_device_id "${GRUB_DEVICE}")" + fi + if [ "x$is_top_level" !=3D xtrue ]; then + echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_vers= ion}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$bo= ot_device_id' {" + fi + if ($grub_file --is-x86-multiboot2 $current_xen); then + xen_loader=3D"multiboot2" + module_loader=3D"module2" + else + xen_loader=3D"multiboot" + module_loader=3D"module" + fi + while [ "x$list" !=3D "x" ] ; do + linux=3D`version_find_latest $list` + gettext_printf "Found linux image: %s\n" "$linux" >&2 + basename=3D`basename $linux` + dirname=3D`dirname $linux` + rel_dirname=3D`make_system_path_relative_to_its_root $dirname` + version=3D`echo $basename | sed -e "s,^[^0-9]*-,,g"` + alt_version=3D`echo $version | sed -e "s,\.old$,,g"` + linux_root_device_thisversion=3D"${LINUX_ROOT_DEVICE}" + + initrd=3D + for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${versio= n}.gz" \ + "initrd-${version}" "initramfs-${version}.img" \ + "initrd.img-${alt_version}" "initrd-${alt_version}.img" \ + "initrd-${alt_version}" "initramfs-${alt_version}.img" \ + "initramfs-genkernel-${version}" \ + "initramfs-genkernel-${alt_version}" \ + "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \ + "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}" ; do + if test -e "${dirname}/${i}" ; then + initrd=3D"$i" + break + fi + done + if test -n "${initrd}" ; then + gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2 + else + # "UUID=3D" magic is parsed by initrds. Since there's no initrd, it c= an't work here. + linux_root_device_thisversion=3D${GRUB_DEVICE} + fi + + if [ "x$is_top_level" =3D xtrue ] && [ "x${GRUB_DISABLE_SUBMENU}" !=3D xy= ]; then + linux_entry "${OS}" "${version}" "${xen_version}" simple \ + "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE_XE= N} ${GRUB_CMDLINE_XEN_DEFAULT}" + + submenu_indentation=3D"$grub_tab$grub_tab" + =20 + if [ -z "$boot_device_id" ]; then + boot_device_id=3D"$(grub_get_device_id "${GRUB_DEVICE}")" + fi + # TRANSLATORS: %s is replaced with an OS name + echo "submenu '$(gettext_printf "Advanced options for %s (with Xen hy= pervisor)" "${OS}" | grub_quote)' \$menuentry_id_option 'gnulinux-advanced-= $boot_device_id' {" + echo " submenu '$(gettext_printf "Xen hypervisor, version %s" "${xen_vers= ion}" | grub_quote)' \$menuentry_id_option 'xen-hypervisor-$xen_version-$bo= ot_device_id' {" + is_top_level=3Dfalse + fi + + linux_entry "${OS}" "${version}" "${xen_version}" advanced \ + "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}" "${GRUB_CMDLINE= _XEN} ${GRUB_CMDLINE_XEN_DEFAULT}" + for supported_init in ${SUPPORTED_INITS}; do + init_path=3D"${supported_init#*:}" + if [ -x "${init_path}" ] && [ "$(readlink -f /sbin/init)" !=3D "$(rea= dlink -f "${init_path}")" ]; then + linux_entry "${OS}" "${version}" "${xen_version}" "init-${supported_init= %%:*}" \ + "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT} init=3D${init_p= ath}" "${GRUB_CMDLINE_XEN} ${GRUB_CMDLINE_XEN_DEFAULT}" + + fi + done + if [ "x${GRUB_DISABLE_RECOVERY}" !=3D "xtrue" ]; then + linux_entry "${OS}" "${version}" "${xen_version}" recovery \ + "single ${GRUB_CMDLINE_LINUX}" "${GRUB_CMDLINE_XEN}" + fi + + list=3D`echo $list | tr ' ' '\n' | fgrep -vx "$linux" | tr '\n' ' '` + done + if [ x"$is_top_level" !=3D xtrue ]; then + echo ' }' + fi + xen_list=3D`echo $xen_list | tr ' ' '\n' | fgrep -vx "$current_xen" | = tr '\n' ' '` +done + +# If at least one kernel was found, then we need to +# add a closing '}' for the submenu command. +if [ x"$is_top_level" !=3D xtrue ]; then + echo '}' +fi + +echo "$title_correction_code" --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751981; cv=none; d=zohomail.com; s=zohoarc; b=A6adCDkhCjhhORGR5B2St3yNu9F+iN1uPFVEfFoZki+C8dP2D9dkghB5tou65o203sortQjdLnrQtsBk8ScToP7VaLUgQ1S6VqGcBqmvPUqkYkfmaQVM8Ixau9owl+UYSP9yMHwm4/n1z/vnqlZwCpUpxuRtt6hg0pXNOyU26vU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751981; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=z7OGx3b+f3qGa3Ar4hrWd9u4I3jf0amu6vl4eXGgt0k=; b=bJVPhsybuPXfs44hJL7wEICJezhdtSbtVTxKnvrUs9wjg0t7qffqXzaVg7EBrdVXk0LkBndwfdqzwFSMi/9xZEt4jScviwwQSVm1bJXoG0uFV/vfiZkDYhWkLBAOc3lj+C8ihDdKhOs0LZJqcGH2sWwjvZt63rdLfilgQ38m4FI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751981697303.5050300911389; Fri, 29 May 2020 04:33:01 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFo-0000oB-2s; Fri, 29 May 2020 11:32:48 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFm-0000ne-OR for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:32:46 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1a487112-a1a0-11ea-81bc-bc764e2007e4; Fri, 29 May 2020 11:32:40 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3T-0003xZ-OK; Fri, 29 May 2020 12:20:03 +0100 X-Inumbo-ID: 1a487112-a1a0-11ea-81bc-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 26/49] 20_linux_xen: Adhoc template substitution Date: Fri, 29 May 2020 12:19:22 +0100 Message-Id: <20200529111945.21394-27-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This file is a template that various build-time variables get substituted into. Make thos substitutions by hand (actually, by copying the values our file for stretch). And rename the file. So now we are using our file instead of the grub package's. But it is the same... Signed-off-by: Ian Jackson --- .../etc/grub.d/{20_linux_xen.in =3D> 20_linux_xen} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename overlay-buster/etc/grub.d/{20_linux_xen.in =3D> 20_linux_xen} (98%) mode change 100644 =3D> 100755 diff --git a/overlay-buster/etc/grub.d/20_linux_xen.in b/overlay-buster/etc= /grub.d/20_linux_xen old mode 100644 new mode 100755 similarity index 98% rename from overlay-buster/etc/grub.d/20_linux_xen.in rename to overlay-buster/etc/grub.d/20_linux_xen index 98ef163c..fb3ed82f --- a/overlay-buster/etc/grub.d/20_linux_xen.in +++ b/overlay-buster/etc/grub.d/20_linux_xen @@ -17,14 +17,14 @@ set -e # You should have received a copy of the GNU General Public License # along with GRUB. If not, see . =20 -prefix=3D"@prefix@" -exec_prefix=3D"@exec_prefix@" -datarootdir=3D"@datarootdir@" +prefix=3D"/usr" +exec_prefix=3D"/usr" +datarootdir=3D"/usr/share" =20 . "$pkgdatadir/grub-mkconfig_lib" =20 -export TEXTDOMAIN=3D@PACKAGE@ -export TEXTDOMAINDIR=3D"@localedir@" +export TEXTDOMAIN=3Dgrub +export TEXTDOMAINDIR=3D"${datarootdir}/locale" =20 CLASS=3D"--class gnu-linux --class gnu --class os --class xen" SUPPORTED_INITS=3D"sysvinit:/lib/sysvinit/init systemd:/lib/systemd/system= d upstart:/sbin/upstart" --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751974; cv=none; d=zohomail.com; s=zohoarc; b=lrscX1HGBjQUQ+Jy4xxYgH4ZztFDZvwIxBYbgUcvC12t3tPRXCYSxfxa4CbiPCo66cphSs6zEPOF31b7qxnikiI8/gBX40aPGF2L4Wjdir37BCMg2ptk2Wa7oDJy8bKPmhjCFrRwo8CVe9E9nz8T0lmk+X27ONlZDRfV5n/GeHk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751974; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gzw9YFdAQu1E6I8pr305+7CRMQWqeTCnpXYtgjEzhtA=; b=bIQ2tUVReKgVHuPwTijlKdHxti5eEJt8JTx1IXgfXURLbys0n2SuZCP84JConCM30jxg1e7CnIKxRRwvXDNnfVda/oBzigrH3sfEw9i6wEuchsL2SaekD/8+sD7pHmq91rNWyVlUJ6Dcul4GNk4pCBkpl2hkovE0wvBPOWi4Z9M= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751974233139.9736677314039; Fri, 29 May 2020 04:32:54 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFi-0000lV-KG; Fri, 29 May 2020 11:32:42 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFh-0000lA-OI for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:32:41 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 19289672-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:32:38 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3T-0003xZ-U8; Fri, 29 May 2020 12:20:03 +0100 X-Inumbo-ID: 19289672-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 27/49] 20_linux_xen: Ignore xenpolicy and config files too Date: Fri, 29 May 2020 12:19:23 +0100 Message-Id: <20200529111945.21394-28-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" "file_is_not_sym" currently only checks for xen-syms. Extend it to disregard xenpolicy (XSM policy files) and files ending .config (which are built by the Xen upstream build system in some configurations and can therefore end up in /boot). Rename the function accordingly, to "file_is_not_xen_garbage". Signed-off-by: Ian Jackson --- overlay-buster/etc/grub.d/20_linux_xen | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/overlay-buster/etc/grub.d/20_linux_xen b/overlay-buster/etc/gr= ub.d/20_linux_xen index fb3ed82f..01dfcb57 100755 --- a/overlay-buster/etc/grub.d/20_linux_xen +++ b/overlay-buster/etc/grub.d/20_linux_xen @@ -167,10 +167,14 @@ if [ "x${linux_list}" =3D "x" ] ; then exit 0 fi =20 -file_is_not_sym () { +file_is_not_xen_garbage () { case "$1" in */xen-syms-*) return 1;; + */xenpolicy-*) + return 1;; + */*.config) + return 1;; *) return 0;; esac @@ -178,7 +182,7 @@ file_is_not_sym () { =20 xen_list=3D for i in /boot/xen*; do - if grub_file_is_not_garbage "$i" && file_is_not_sym "$i" ; then xen_li= st=3D"$xen_list $i" ; fi + if grub_file_is_not_garbage "$i" && file_is_not_xen_garbage "$i" ; the= n xen_list=3D"$xen_list $i" ; fi done prepare_boot_cache=3D boot_device_id=3D --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752146; cv=none; d=zohomail.com; s=zohoarc; b=jbxRGYmS/qxFFzZXluc1wGy4Ly3dgRWlLNF/VYc0KsDFssqzd03bDAOkJy7H9gNeI5W2Y/2yHkRMRPQOESPXsbupB8YMMx6G08vasXkA3O9C+/mBOyAsHiXZV97DoSRlQ+tLNMguyhTpau9uIj9/VfAPMewr84x+TknyQmv27c0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752146; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=P3afwaHtYndipS2oHZYCwgaceh8TVbkFHyFWgjxT/Ts=; b=aCJMuLPzOpKYHzEtOahU+rDpcuOhRY+UlhP12bmFC5hoW3XReBjsBq+KnVEsiHfzjvdvEhP/5XTeIfCR4D2U5ZS+BbOqMC6Yy6JRhXC1nIWts3gDhDIS9FjS09KjV/TTQ0gIPfXgAKPCL8U/gy/P2uXaH59PjkGc6/C43CuR3N8= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752146780715.6009378854754; Fri, 29 May 2020 04:35:46 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIS-0003QQ-TZ; Fri, 29 May 2020 11:35:32 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIR-0003Oy-UA for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:31 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 5887ed22-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:34:24 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3U-0003xZ-3e; Fri, 29 May 2020 12:20:04 +0100 X-Inumbo-ID: 5887ed22-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 28/49] 20_linux_xen: Support Xen Security Modules (XSM/FLASK) Date: Fri, 29 May 2020 12:19:24 +0100 Message-Id: <20200529111945.21394-29-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" XSM is enabled by adding "flask=3Denforcing" as a Xen command line argument, and providing the policy file as a grub module. We make entries for both with and without XSM. If XSM is not compiled into Xen, then there are no policy files, so no change to the boot options. Signed-off-by: Ian Jackson --- overlay-buster/etc/grub.d/20_linux_xen | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/overlay-buster/etc/grub.d/20_linux_xen b/overlay-buster/etc/gr= ub.d/20_linux_xen index 01dfcb57..4d3294a2 100755 --- a/overlay-buster/etc/grub.d/20_linux_xen +++ b/overlay-buster/etc/grub.d/20_linux_xen @@ -84,6 +84,11 @@ esac title_correction_code=3D =20 linux_entry () +{ + linux_entry_xsm "$@" false + linux_entry_xsm "$@" true +} +linux_entry_xsm () { os=3D"$1" version=3D"$2" @@ -91,6 +96,18 @@ linux_entry () type=3D"$4" args=3D"$5" xen_args=3D"$6" + xsm=3D"$7" + # If user wants to enable XSM support, make sure there's + # corresponding policy file. + if ${xsm} ; then + xenpolicy=3D"xenpolicy-$xen_version" + if test ! -e "${xen_dirname}/${xenpolicy}" ; then + return + fi + xen_args=3D"$xen_args flask=3Denforcing" + xen_version=3D"$(gettext_printf "%s (XSM enabled)" "$xen_version")" + # xen_version is used for messages only; actual file is xen_basename + fi if [ -z "$boot_device_id" ]; then boot_device_id=3D"$(grub_get_device_id "${GRUB_DEVICE}")" fi @@ -140,6 +157,13 @@ EOF sed "s/^/$submenu_indentation/" << EOF echo '$(echo "$message" | grub_quote)' ${module_loader} --nounzip ${rel_dirname}/${initrd} +EOF + fi + if test -n "${xenpolicy}" ; then + message=3D"$(gettext_printf "Loading XSM policy ...")" + sed "s/^/$submenu_indentation/" << EOF + echo '$(echo "$message" | grub_quote)' + ${module_loader} ${rel_dirname}/${xenpolicy} EOF fi sed "s/^/$submenu_indentation/" << EOF --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752086; cv=none; d=zohomail.com; s=zohoarc; b=hsBt7QPVFSGQ6m2fgVgkwtYqlrrXE7ZG4XUi7WPtDxdy8hr5IIkRMVrOhvqXawY9dC2mXE+eeCGECYCURAJRKyLFVpcVYbdr0cLRztpZyCGA4CDfH3P9a0cfQf21ajYFwzQWZI6cG1+hYCuTAt/W7pk8DOc4A/3kSgbyUoLujY0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752086; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gb02li5n4w2kgSmwhp7CTERVw9c6W+t0aHt01ph/AII=; b=LLK1WjvzaS/FVFWqQuLDMKWpLIyYpt0YicSdVCu4yjXJQ508LLoCmqf6yMg0reV7xyLXH1t4Chn5hWoZSLunlEerIZ4p+HIbzHv+kimYp659HfA1MD9HZPp1MxhdzZQb29l2oUrwnR9ZLjUkwgk8b0T9B3NFfAzNd/q6aBL5fMY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752086512156.16233559448995; Fri, 29 May 2020 04:34:46 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHU-0002MD-Us; Fri, 29 May 2020 11:34:32 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHT-0002L4-Qg for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:31 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 43e1ff52-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:33:49 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3U-0003xZ-A8; Fri, 29 May 2020 12:20:04 +0100 X-Inumbo-ID: 43e1ff52-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 29/49] mg-debian-installer-update: support overlay-intramfs-SUITE Date: Fri, 29 May 2020 12:19:25 +0100 Message-Id: <20200529111945.21394-30-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This lets us patch the installer more easily. No uses yet. Signed-off-by: Ian Jackson --- mg-debian-installer-update | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/mg-debian-installer-update b/mg-debian-installer-update index f1e682f9..fb4fe2ab 100755 --- a/mg-debian-installer-update +++ b/mg-debian-installer-update @@ -33,6 +33,8 @@ sbase=3D$site/dists/$suite =20 src=3D$sbase/main/installer-$arch/current/images/netboot/ =20 +osstest_dir=3D"$(pwd)" + case ${suite}_${arch} in lenny_armhf|squeeze_armhf|lenny_arm64|squeeze_arm64|wheezy_arm64) # No such thing. @@ -188,6 +190,24 @@ if [ "x$specialkernel" !=3D x ]; then rm -rf x fi =20 +overlay_initrd=3D$osstest_dir/overlay-initrd-$suite +if [ -e "$overlay_initrd" ]; then + for f in $files; do + s=3D${f/:*} ; d=3D${f/*:} + case "$d" in + *initrd*) + echo "adding $overlay_initrd to $d" + ( + set -e + cd "$overlay_initrd" + find -print0 | cpio -0 -Hnewc -o \ + | gzip -9nf + ) >>$d.new + ;; + esac + done +fi + for f in $files; do s=3D${f/:*} ; d=3D${f/*:} mv -f $d.new $d --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751994; cv=none; d=zohomail.com; s=zohoarc; b=fPsSwXbJc34f2J8lLI2cMl8WG1Rf3OqP2O3Gomh9TWngLzvSH2OwOYRZrK8iRuZo3+nT2b2q73vlgvVFhDixf8WEZ9gOeoYAy/cXr4ntPFv0TY4G5lt2G35vO6UwF862gzCscohBeWk3kIkvfkmtB0lOJITXNQZDUBSF4MtHdOU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751994; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=tz//tWL619IS8spYvzVvndLnhAavn5PvwHheMBWsepU=; b=icDIC6aA+MppdxNei+tyOYHlCJjIBFgvlUi22/+GhGI38Jr1T+1QkAEJ58wm1cS17MdvUhmYYJgbe7fw6oyb7j5LIg5pv09dNBifK/4D8+33jn74xM22dfbtSh0mJN0VpzENIFhXj/slR7JTbYKKwLKq4zodxCxuhe9poZgJYFY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751994315571.5473580538397; Fri, 29 May 2020 04:33:14 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedG2-0000wS-Ul; Fri, 29 May 2020 11:33:02 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedG1-0000vr-Oq for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:01 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1e116858-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:32:46 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3U-0003xZ-G1; Fri, 29 May 2020 12:20:04 +0100 X-Inumbo-ID: 1e116858-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 30/49] overlay-initrd-buster/sbin/reopen-console: Copy from Debian Date: Fri, 29 May 2020 12:19:26 +0100 Message-Id: <20200529111945.21394-31-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" We are going to patch this file to work around a bug, using the new overlay mechanism. The first step is to include the file in our overlay so we overwrite it. Currently, this is a no-op, so no functional change. Signed-off-by: Ian Jackson --- overlay-initrd-buster/sbin/reopen-console | 94 +++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100755 overlay-initrd-buster/sbin/reopen-console diff --git a/overlay-initrd-buster/sbin/reopen-console b/overlay-initrd-bus= ter/sbin/reopen-console new file mode 100755 index 00000000..dd354deb --- /dev/null +++ b/overlay-initrd-buster/sbin/reopen-console @@ -0,0 +1,94 @@ +#!/bin/sh + +# First find the enabled consoles from the kernel, noting if one is 'prefe= rred' +# Record these. +# Run the startup scripts on the preferred console + +# In order to have D-I appear on all consoles, modify the inittab to +# add one entry for each console, running debian-installer. +# Finally HUP init so that it runs those installers +# (but doesn't rerun the sysinit startup stuff, including this script) + + +NL=3D" +" + +LOGGER_UP=3D0 +LOG_FILE=3D/var/log/reopen-console + +log() { + # In very early startup we don't have syslog. Log to file that + # we can flush out later so we can at least see what happened + # at early startup + if [ $LOGGER_UP -eq 1 ]; then + logger -t reopen-console "$@" + else + echo "$@" >> $LOG_FILE + fi +} + +flush_logger () { + cat $LOG_FILE | logger -t reopen-console + rm $LOG_FILE +} + +consoles=3D +preferred=3D +# Retrieve all enabled consoles from kernel; ignore those +# for which no device file exists + +kernelconsoles=3D"$(cat /proc/consoles)" +for cons in $(echo "$kernelconsoles" | sed -n -r -e 's/(^.*) .*\((.*)\).*= $/\1/p' ) +do + log "Looking at console $cons from /proc/consoles" + status=3D$(echo "$kernelconsoles" | grep $cons | sed -n -r -e 's/(^.*) *.= *\((.*)\).*$/\2/p' ) + if [ -e "/dev/$cons" ] && [ $(echo "$status" | grep -o 'E') ]; then + consoles=3D"${consoles:+$consoles$NL}$cons" + log " Adding $cons to consoles list" + fi + # 'C' console is 'most prefered'. + if [ $(echo "$status" | grep -o 'C') ]; then + preferred=3D"$cons" + log " $cons is preferred" + fi +done + +if [ -z "$consoles" ]; then + # Nothing found? Default to /dev/console. + log "Found no consoles! Defaulting to /dev/console" + consoles=3Dconsole +fi +if [ -z "$preferred" ]; then + #None marked preferred? Use the first one + preferred=3D$(echo "$consoles" | head -n 1) + log "Found no preferred console. Picking $preferred" +fi + +for cons in $consoles +do + echo "/dev/$cons " >> /var/run/console-devices +done +echo "/dev/$preferred " > /var/run/console-preferred + + +# Add debian-installer lines into inittab - one per console +for cons in $consoles +do + log "Adding inittab entry for $cons" + echo "$cons::respawn:/sbin/debian-installer" >> /etc/inittab +done + +# Run the startup scripts once, using the preferred console +cons=3D$(cat /var/run/console-preferred) +# Some other session may have that console as ctty. Steal it from them +/sbin/steal-ctty $cons "$@" + +# Now we should have syslog running, so flush our log entries +LOGGER_UP=3D1 +flush_logger + +# Finally restart init to run debian-installer on discovered consoles +log "Restarting init to start d-i on the consoles we found" +kill -HUP 1 + +exit 0 --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752097; cv=none; d=zohomail.com; s=zohoarc; b=LM+IfXESvk8QbrF8/SOdSJSctHM7DvgEkKwCo/gqUZgPwmKdKFA7UtvRRe+dEHOYsbOAk9p3rLqiJDyqd/y2X36dK3EAQHwnMGrmRB9rsdYxvDW4+JrC9cO+ykqxkZyHmCAOP7dC5h0tv52Ob5b1c4iSfY1DEkFBP0oK13z4VVA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752097; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=j722a1TFSv635r3c76B5b+1cbLtxNi0T7RHbHIrzEBA=; b=bmJa5GCnBs0xvBuc1eMJCs2ybEc0urURHX72NXO4+fJWO/wpVWVfkN6asZKrqp2f1zoSIANB80tppt7cBrRVfNVr2Gq7W155vpQsbYCD4r5SCUo/THSUUSrNdkxQNHAlNXTVjHKX5+1dvnCiCHReu7Z/I7naVbyrfamnjg4awZ0= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752097430373.13612035453923; Fri, 29 May 2020 04:34:57 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHe-0002XQ-IR; Fri, 29 May 2020 11:34:42 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHd-0002WP-RE for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:41 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4687f11c-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:33:54 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3U-0003xZ-MT; Fri, 29 May 2020 12:20:04 +0100 X-Inumbo-ID: 4687f11c-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 31/49] overlay-initrd-buster/sbin/reopen-console: Fix #932416 Date: Fri, 29 May 2020 12:19:27 +0100 Message-Id: <20200529111945.21394-32-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This bug affects us. Cherry pick the changes to the relevant file from the commit in the upstream debian-installer repo: https://salsa.debian.org/installer-team/rootskel/commit/0ee43d05b83f8ef5a= 856f3282e002a111809cef9 Signed-off-by: Ian Jackson --- overlay-initrd-buster/sbin/reopen-console | 36 +++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/overlay-initrd-buster/sbin/reopen-console b/overlay-initrd-bus= ter/sbin/reopen-console index dd354deb..13b15a33 100755 --- a/overlay-initrd-buster/sbin/reopen-console +++ b/overlay-initrd-buster/sbin/reopen-console @@ -16,6 +16,17 @@ NL=3D" LOGGER_UP=3D0 LOG_FILE=3D/var/log/reopen-console =20 +# If we're running with preseeding, we have a problem with running d-i +# on multiple consoles. We'll end up running each of those d-i +# instances in parallel with all kinds of hilarious undefined +# behaviour as they trip over each other! If we detect that we're +# preseeding (via any of the possible preseed methods), DO NOT run d-i +# multiple times. Instead, fall back to the older, more simple +# behaviour and run it once. If the user wants to see or interact with +# their preseed on a specific console, they get to tell us which one +# they want to use. +PRESEEDING=3D0 + log() { # In very early startup we don't have syslog. Log to file that # we can flush out later so we can at least see what happened @@ -32,6 +43,20 @@ flush_logger () { rm $LOG_FILE } =20 +# If we have a preseed.cfg in the initramfs +if [ -e /preseed.cfg ]; then + log "Found /preseed.cfg; falling back to simple mode for preseeding" + PRESEEDING=3D1 +fi + +# Have we been told to do preseeding stuff on the boot command line? +for WORD in auto url; do + if (grep -qw "$WORD" /proc/cmdline); then + log "Found \"$WORD\" in the command line; falling back to simple mode for= preseeding" + PRESEEDING=3D1 + fi +done + consoles=3D preferred=3D # Retrieve all enabled consoles from kernel; ignore those @@ -44,7 +69,7 @@ do status=3D$(echo "$kernelconsoles" | grep $cons | sed -n -r -e 's/(^.*) *.= *\((.*)\).*$/\2/p' ) if [ -e "/dev/$cons" ] && [ $(echo "$status" | grep -o 'E') ]; then consoles=3D"${consoles:+$consoles$NL}$cons" - log " Adding $cons to consoles list" + log " Adding $cons to possible consoles list" fi # 'C' console is 'most prefered'. if [ $(echo "$status" | grep -o 'C') ]; then @@ -64,6 +89,13 @@ if [ -z "$preferred" ]; then log "Found no preferred console. Picking $preferred" fi =20 +# If we're preseeding, do simple stuff here (see above). We just +# want one console. Let's pick the preferred one ONLY +if [ $PRESEEDING =3D 1 ]; then + log "Running with preseeding. Picking preferred $preferred ONLY" + consoles=3D$preferred +fi + for cons in $consoles do echo "/dev/$cons " >> /var/run/console-devices @@ -88,7 +120,7 @@ LOGGER_UP=3D1 flush_logger =20 # Finally restart init to run debian-installer on discovered consoles -log "Restarting init to start d-i on the consoles we found" +log "Restarting init to start d-i on the console(s) we found" kill -HUP 1 =20 exit 0 --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752027; cv=none; d=zohomail.com; s=zohoarc; b=floqsQc0epmuU5mHGk8awdinpl4nAbpkGIZxSDDcwd+HyIJUyfjr4O2LhtEUa3V/iUADclkMtGqeK2RGBj58sgKYW+gj1yIdQdQHLtiBgF5YRuNqDaoOMMyMy//VpE9KPc3chpJJXzMmjX7Sc+FLTG4TICvOZkx0tNCHofmDeI8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752027; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ceeGMw9fmajkdi5wwT242RIcD/Nmimv04t/HeUdnJNs=; b=TxAFoBCuLMnKV/yfDj4bgKToDh5kUbZzyAmpTYJk3VsKykyJJXnnBn7Pm7F7UYmKx9il0M1iQcU1xYbj0h1wN587TBNyYdvQm1qoihz9wXRl5eKdJqzgVo62q/07U89WgJF5/K14GzOPX1Thv1i2p91/wIoURcCvWoZfcZJlb+U= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752027130850.3487238557012; Fri, 29 May 2020 04:33:47 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGW-0001Kp-Uj; Fri, 29 May 2020 11:33:32 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGV-0001Jq-PE for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:31 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 29472bf4-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:33:05 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3U-0003xZ-SX; Fri, 29 May 2020 12:20:05 +0100 X-Inumbo-ID: 29472bf4-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 32/49] buster: chiark-scripts: Install a new version on buster too Date: Fri, 29 May 2020 12:19:28 +0100 Message-Id: <20200529111945.21394-33-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" We need various fixes that are not in buster, sadly. Signed-off-by: Ian Jackson --- production-config | 1 + 1 file changed, 1 insertion(+) diff --git a/production-config b/production-config index f0ddc132..e3870d47 100644 --- a/production-config +++ b/production-config @@ -107,6 +107,7 @@ TftpGrubVersion XXXX-XX-XX =20 DebianExtraPackages_jessie chiark-scripts_6.0.3~citrix1_all.deb DebianExtraPackages_stretch chiark-scripts_6.0.4~citrix1_all.deb +DebianExtraPackages_buster chiark-scripts_6.0.5~citrix1_all.deb =20 DebianExtraPackages_uefi_i386_jessie extradebs-uefi-i386-2018-04-01/ DebianExtraPackages_uefi_amd64_jessie extradebs-uefi-amd64-2018-04-01/ --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752037; cv=none; d=zohomail.com; s=zohoarc; b=laL8CcpRysgor6C/kHc+0ly1Gk6hy+XPe5ZZ6wSJRz76WDivVv/ys4vOUcEkQfxRIGoASr/sbCbMSbeTqDabHjXmw7wm9IFVkSjXCL1LJKXmVeJ2iw5HapCNbq0H51Fb0R0FNTFurpqK7WnYzof05J8R49emL8e25B3t6qf7Wqs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752037; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=WtzekzXVle946Uyv4B02pQlLDAasI2rJB3vs0oat7oE=; b=bqTRP1MLTZhzYsgMYpvcuyiCu4+IQqWVTSL7PoMv4y58G7l0KoypcclIaI35hNhJwLrp5FWj6bzKk5/xfpFEes/GvxiFd3aqgmLkZiC8VuByxvJ212wX+/z+wVOP2s39rHaBDHl5EXVPKzXlqj6DGTMu7WTd7FAAzZnlrQeMlgc= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752037659841.4526149032125; Fri, 29 May 2020 04:33:57 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGh-0001Uf-I2; Fri, 29 May 2020 11:33:43 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGf-0001T4-QP for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:41 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 2ef07952-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:33:14 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3V-0003xZ-5S; Fri, 29 May 2020 12:20:05 +0100 X-Inumbo-ID: 2ef07952-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 33/49] buster: Provide TftpDiVersion Date: Fri, 29 May 2020 12:19:29 +0100 Message-Id: <20200529111945.21394-34-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- production-config | 1 + 1 file changed, 1 insertion(+) diff --git a/production-config b/production-config index e3870d47..6372ac9a 100644 --- a/production-config +++ b/production-config @@ -91,6 +91,7 @@ TftpNetbootGroup osstest TftpDiVersion_wheezy 2016-06-08 TftpDiVersion_jessie 2018-06-26 TftpDiVersion_stretch 2020-02-10 +TftpDiVersion_buster 2020-05-19 =20 DebianSnapshotBackports_jessie http://snapshot.debian.org/archive/debian/2= 0190206T211314Z/ =20 --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752157; cv=none; d=zohomail.com; s=zohoarc; b=iPw/zfnMnND0A9LlnjP/2/7jOfsnpckSGggsBWDnl/SC0ZB02dQa0J/RTW1q/NGvQCvCzv85E+pP7XolB8p0gYXzDe0sT+lYEK6fqUtEfrr1Od0yftt24JS9RNH7qV5dbKqjsEZvT0H0rRmee9+izJGThFRgb9vsXS4fH4yLkGE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752157; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=tbEzAgNTsKd5o2ZLgcohLhZuYQU3bE9ujVzeQ0MgOJs=; b=LW/VF9Ws4th5htldIHIPo9AP6iVURd9sj7M1srnelI8aXlLWQskQbKLLW9aGLa4n5lHSXNx+P/AUKr4OIk4cs3raVnt59YVG17KNFDof4oxoC8mFa0NAtRyRwm8FILs7kkIZNF6WPpbtvqroCnDLvyT/SGiJRONbsE7bLjna3fY= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752157388386.84485926204513; Fri, 29 May 2020 04:35:57 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedId-0003dL-L8; Fri, 29 May 2020 11:35:43 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIb-0003ay-Tx for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:41 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 5c4487e0-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:34:30 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3V-0003xZ-ED; Fri, 29 May 2020 12:20:05 +0100 X-Inumbo-ID: 5c4487e0-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 34/49] buster: grub, arm64: extend chainloading workaround Date: Fri, 29 May 2020 12:19:30 +0100 Message-Id: <20200529111945.21394-35-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Julien Grall , Stefano Stabellini , Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" multiboot[2] isn't supported. Also link to the bug report. CC: Julien Grall CC: Stefano Stabellini Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 3fc9e555..9f1ce1df 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -443,9 +443,10 @@ sub setupboot_grub2 ($$$$) { my $kernkey=3D (defined $xenhopt ? 'KernDom0' : 'KernOnly'); =20 # Grub2 on jessie/stretch ARM* doesn't do multiboot, so we must chainl= oad. + # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D884770 my $need_uefi_chainload =3D get_host_property($ho, "firmware") eq "uefi" && - $ho->{Suite} =3D~ m/jessie|stretch/ && $ho->{Arch} =3D~ m/^arm/; + $ho->{Suite} =3D~ m/jessie|stretch|buster/ && $ho->{Arch} =3D~ m/^= arm/; =20 my $parsemenu=3D sub { my $f=3D bl_getmenu_open($ho, $rmenu, "$stash/$ho->{Name}--grub.cf= g.1"); --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752008; cv=none; d=zohomail.com; s=zohoarc; b=O2RdNqj0jVHGt+zH6lEd1sDbFR8RPFy2ut4NDGSaGtuSwCjiDiKGA+ZvupUWo6i9ijOeNZa1vUbatUpTBz6WDUy+I59Nb1KhDRuFgn0TeIQ09yV6AmgUGO5e0vtrAbD5VJ2yCQx5Ym8f/2yJ4oV9V8EiVkUOqcYNZarZHTMzO/U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752008; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=YASx+amm2u7IrV3o0dh8FnjD+ET3UfcwlXHn8yScntw=; b=LXsxycvFseTHNnShBy10T/jgnuymXhPUEa+G+oh/TaK6lsbjHUByo/2ng03VpI90c4BjGfD7QSs53wuZLZLF7enCi+0wFmDE3+H/NpdteV5L1/AfGXYdtg6R5Kmmkr8IPb+bpCYbVNKgLjwDIrdCHl2Skq/fXcBggLfzazSDXRU= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 15907520088001017.3804123931075; Fri, 29 May 2020 04:33:28 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGC-00013V-MX; Fri, 29 May 2020 11:33:12 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGB-00012k-OE for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:11 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 2243513e-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:32:53 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3V-0003xZ-UL; Fri, 29 May 2020 12:20:06 +0100 X-Inumbo-ID: 2243513e-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 35/49] buster: setupboot_grub2: Note what files exist in /boot Date: Fri, 29 May 2020 12:19:31 +0100 Message-Id: <20200529111945.21394-36-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Nothing uses this yet. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 9f1ce1df..0386ff7a 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -448,6 +448,11 @@ sub setupboot_grub2 ($$$$) { get_host_property($ho, "firmware") eq "uefi" && $ho->{Suite} =3D~ m/jessie|stretch|buster/ && $ho->{Arch} =3D~ m/^= arm/; =20 + my %bootfiles =3D + map { $_ =3D> 1 } + split / /, + target_cmd_output_root($ho, "cd /boot && echo *"); + my $parsemenu=3D sub { my $f=3D bl_getmenu_open($ho, $rmenu, "$stash/$ho->{Name}--grub.cf= g.1"); =20 --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751973; cv=none; d=zohomail.com; s=zohoarc; b=V5pdutLu17U4jGYqpROcku7PTzZv+8mK7nghMn038tkTwEXT6O8+Kw5Zeq9NxXvyXqx+im4OfritgTOIbcW+4eajNFdWseKAXGBah9uZxxudjC2FN9+z0QUW4JyNKybv6UeUFoxWnQ3dkp5IzLUpN0TC4IIXon+2QN1gameVviw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751973; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=d558+OWhBysaZFdxGHxPlyBy8AeQfaoeNt1ZnffQA0A=; b=kDfWNqUGVW+eYWZQdZeJkQFcCZ73oxGeqX30z3ffkn9kL9KMKm0/ddWbSZb8x243DRoIEsdktn5ir/yrrwMFrDwPw2ZHWJOKzDeOiDJPWzI7P1MMW3LDHbSpi9usZIZjSTIDNHhhEHP/Z+N9a3e7WdcqW0xJnddfPlZDHwPVGlE= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751973254205.5925299716763; Fri, 29 May 2020 04:32:53 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFZ-0000jE-3S; Fri, 29 May 2020 11:32:33 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFX-0000iy-Q0 for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:32:31 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 15034272-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:32:31 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3W-0003xZ-UT; Fri, 29 May 2020 12:20:07 +0100 X-Inumbo-ID: 15034272-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 36/49] buster: setupboot_grub2: Handle missing policy file bug Date: Fri, 29 May 2020 12:19:32 +0100 Message-Id: <20200529111945.21394-37-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This is a complex interaction between update-grub and the Xen build system on ARM64. Not sure exactly who to blame but since we have our own 20_linux_xen bodge, let's wait until we don't. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 0386ff7a..51217fb4 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -496,7 +496,17 @@ sub setupboot_grub2 ($$$$) { " kernel $entry->{KernVer}, not $want_kernver)"); } elsif ($want_xsm && !defined $entry->{Xenpolicy}) { logm("(skipping entry at $entry->{StartLine}..$.;". - " XSM policy file not present)"); + " XSM policy file not mentioned)"); + } elsif ($ho->{Suite} =3D~ m/buster/ && + defined $entry->{Xenpolicy} && + !$bootfiles{ + $entry->{Xenpolicy} =3D~ m{^/?} ? $' : die + }) { + # Our 20_linux_xen bodge with buster's update-grub + # generates entries which mention /boot/xenpolicy-xen + # even though that file doesn't exist on ARM64. + logm("(skipping entry at $entry->{StartLine}..$.;". + " XSM policy file not on disk!)"); } else { # yes! last; --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752011; cv=none; d=zohomail.com; s=zohoarc; b=WoVUQIV4MGtIH6+Z1pEVpOyViuukB3r2f5IESInXiGWedUTs655jjgWAW7YvXnmqDS53urDgwk0YdXm/EYKWs/+A8r7QotTlq8z6URWHO021nays1ebNz4wEF6wt8MghIxuZJ6xxmt7i4g0JHUhii/l7HdSe/lm3pbYMpPFXqK4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752011; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=USmEXuQWdhKzqfmTbeQz31WOSuJA1PXtwzuxHEWDHlo=; b=fttgrtsm4DZJOigWzNUFZSd1oQSHJbvJLXNNsQURkAhFD7NOK6b7XslMa5d/mxjgtmfnm+L7HdRny1/Xh/WSYb8RojVyHSub5q1q/gTQqdbJOxJOV3/hNLkhCIRBCeO4xK1koHi7JSFdmAukJFxpuPq/LB5nWlb2U/SAsvZVOSk= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 159075201157792.34918101246797; Fri, 29 May 2020 04:33:31 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGI-00017I-1F; Fri, 29 May 2020 11:33:18 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGG-00016T-Pb for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:16 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 2379c542-a1a0-11ea-81bc-bc764e2007e4; Fri, 29 May 2020 11:32:55 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3X-0003xZ-P8; Fri, 29 May 2020 12:20:08 +0100 X-Inumbo-ID: 2379c542-a1a0-11ea-81bc-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 37/49] buster: Extend workaround for dhcpd EROFS bug Date: Fri, 29 May 2020 12:19:33 +0100 Message-Id: <20200529111945.21394-38-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 51217fb4..49d94b9b 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1624,7 +1624,7 @@ sub debian_dhcp_rofs_fix ($$) { # / is still ro. In stretch, the isc dhcp client spins requesting # an address and then sending a DHCPDECLINE (and then, usually, # eventually works). - return '' unless $ho->{Suite} =3D~ m/stretch/; + return '' unless $ho->{Suite} =3D~ m/stretch|buster/; my $script =3D "$rootdir/lib/udev/ifupdown-hotplug"; < (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752024152955.088838374296; Fri, 29 May 2020 04:33:44 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGS-0001GS-Kt; Fri, 29 May 2020 11:33:28 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedGQ-0001Ep-QA for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:33:26 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 2696c888-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:33:00 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Y-0003xZ-Qw; Fri, 29 May 2020 12:20:08 +0100 X-Inumbo-ID: 2696c888-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 38/49] ts-xen-install: Add $ho argument to some_extradebs Date: Fri, 29 May 2020 12:19:34 +0100 Message-Id: <20200529111945.21394-39-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This is going to move to Debian.pm. Signed-off-by: Ian Jackson --- ts-xen-install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ts-xen-install b/ts-xen-install index 08b4ea23..6196a890 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -71,8 +71,8 @@ sub packages () { if toolstack($ho)->{ExtraPackages}; } =20 -sub some_extradebs ($) { - my ($items) =3D @_; +sub some_extradebs ($$) { + my ($ho, $items) =3D @_; my $cfgvar =3D join('_', @$items); my $specs =3D $c{$cfgvar}; if (!length $specs) { @@ -111,11 +111,11 @@ sub extradebs () { my $suite =3D $ho->{Suite}; =20 # $c{ DebianExtraPackages_ } - some_extradebs([ 'DebianExtraPackages', $suite ]); + some_extradebs($ho, [ 'DebianExtraPackages', $suite ]); =20 # $c{ DebianExtraPackages___ } my $firmware =3D get_host_property($ho, "firmware"); - some_extradebs([ 'DebianExtraPackages', $firmware, $ho->{Arch}, $suite= ]); + some_extradebs($ho, [ 'DebianExtraPackages', $firmware, $ho->{Arch}, $= suite ]); } =20 sub extract () { --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751989; cv=none; d=zohomail.com; s=zohoarc; b=nXGQbjXg5SmbS1As6B6mTEM0BDR++7eZTErFvAXjXro1ajoTIBWezLdMhM5hDdAWeSi9lzwUCTpJ3U9UgQiKmrxJl7ijoFaHmfylyNQ8qkW3Zl2CwyJjaMqLVjmzge4Jd7ojbu/AoGbqj6GKVGlCAZ2xL1r+7YdGZcGqVFvEgzQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751989; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=XEOu6ou5YaRmaQ5gXKaZP33+7BGQRy6cW0nfxTIBAPQ=; b=L0mnEYG46ZPVYIjU7XIpbl5O3AJF+gyVqsNt6u5xdLnoKDKEs+p/ZJo0u6cb5V4V0uN6Yk/k1GcEJiFOtolYTuzbX4vbp+7ggdaPQ+rH4zpVzpApU4/cJiZUHVJaqGE0/kYPpw9uQSeRR0bKPhU3KxVbqD9wKhcEndCLM0dDiCg= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751989839954.4337189317727; Fri, 29 May 2020 04:33:09 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFt-0000qd-Cd; Fri, 29 May 2020 11:32:53 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFr-0000pw-Og for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:32:51 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1b6d7fc4-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:32:41 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Z-0003xZ-3J; Fri, 29 May 2020 12:20:09 +0100 X-Inumbo-ID: 1b6d7fc4-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 39/49] ts-xen-install: Move some_extradebs to Debian.pm Date: Fri, 29 May 2020 12:19:35 +0100 Message-Id: <20200529111945.21394-40-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 38 ++++++++++++++++++++++++++++++++++++++ ts-xen-install | 36 ------------------------------------ 2 files changed, 38 insertions(+), 36 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 49d94b9b..d51ac493 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -24,6 +24,7 @@ use POSIX; =20 use IO::File; use File::Copy; +use File::Basename; =20 use Osstest; use Osstest::TestSupport; @@ -50,6 +51,7 @@ BEGIN { di_vg_name debian_dhcp_rofs_fix debian_write_random_seed_command + some_extradebs ); %EXPORT_TAGS =3D ( ); =20 @@ -1646,4 +1648,40 @@ sub debian_write_random_seed_command ($) { END } =20 +sub some_extradebs ($$) { + my ($ho, $items) =3D @_; + my $cfgvar =3D join('_', @$items); + my $specs =3D $c{$cfgvar}; + if (!length $specs) { + logm("$cfgvar: no extra debs"); + return; + } + my $counter =3D 0; + my $rsync_installed; + foreach my $spec (split /\s+/, $specs) { + my $path =3D $spec; + $path =3D "$c{Images}/$path" unless $path =3D~ m{^/|^\./}; + my ($ontarget, $dpkgopts); + if ($path =3D~ m{/$}) { + $ontarget =3D "extrapackages-$cfgvar-$counter"; $counter++; + $dpkgopts =3D '-iGROEB'; + logm("$cfgvar: updating packages from directory $path"); + target_install_packages($ho, qw(rsync)) unless $rsync_installed++; + target_putfile_root($ho,300, "$path/.", $ontarget, '-r'); + } elsif ($path =3D~ m{\.deb$}) { + $path =3D~ s{_\.deb}{ "_$ho->{Arch}.deb" }e; + logm("$cfgvar: installing $path"); + $ontarget =3D basename($path); + $dpkgopts =3D '-iB'; + target_putfile_root($ho,300, $path, $ontarget); + } else { + die "no / or . deb in $spec ?"; + } + target_cmd_root($ho, + "dpkg --force-confold $dpkgopts $ontarget {ExtraPackages}; } =20 -sub some_extradebs ($$) { - my ($ho, $items) =3D @_; - my $cfgvar =3D join('_', @$items); - my $specs =3D $c{$cfgvar}; - if (!length $specs) { - logm("$cfgvar: no extra debs"); - return; - } - my $counter =3D 0; - my $rsync_installed; - foreach my $spec (split /\s+/, $specs) { - my $path =3D $spec; - $path =3D "$c{Images}/$path" unless $path =3D~ m{^/|^\./}; - my ($ontarget, $dpkgopts); - if ($path =3D~ m{/$}) { - $ontarget =3D "extrapackages-$cfgvar-$counter"; $counter++; - $dpkgopts =3D '-iGROEB'; - logm("$cfgvar: updating packages from directory $path"); - target_install_packages($ho, qw(rsync)) unless $rsync_installed++; - target_putfile_root($ho,300, "$path/.", $ontarget, '-r'); - } elsif ($path =3D~ m{\.deb$}) { - $path =3D~ s{_\.deb}{ "_$ho->{Arch}.deb" }e; - logm("$cfgvar: installing $path"); - $ontarget =3D basename($path); - $dpkgopts =3D '-iB'; - target_putfile_root($ho,300, $path, $ontarget); - } else { - die "no / or . deb in $spec ?"; - } - target_cmd_root($ho, - "dpkg --force-confold $dpkgopts $ontarget {Suite}; =20 --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752113; cv=none; d=zohomail.com; s=zohoarc; b=FrjL98umYcy6KyHwMuXW9xHObmSANNfzJ0D+mdJWygUMrkgTzk0yhSjng4UUksdlYJWa4C2cHR3Ak7Pm+HigFWRtUb4PC0GivIh2/8GN+ct70aEWRUQnJbGGCAapOkQPkvhg4kFbs2nkNPGgyj7J7e6ngxpkd8PLhTOrYcCHKds= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752113; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=0M1nRFlxMuXS/A89/Uhby4W+JSqDuFoKSkrDqBJGGJM=; b=PlqA/XOoW7GhSAm4v+MAsM4Oe3Yryt1zUBphCHDBe+RebpOtsVxCAmIpolJjmEoxZMB5JXdxDQyWi38E4MeNqLVrMLPxpge8u92ceIiGuVL95L5kTMbafrNG/rtuhQhG1HR0Umx3j1+2UsMeUNAvMf3HWj2LPEfAUXh4JHYAg24= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752113882492.8233183421838; Fri, 29 May 2020 04:35:13 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHu-0002oK-I7; Fri, 29 May 2020 11:34:58 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHs-0002md-SC for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:56 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4ac56d86-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:34:01 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Z-0003xZ-CA; Fri, 29 May 2020 12:20:09 +0100 X-Inumbo-ID: 4ac56d86-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 40/49] Debian.pm: Break out standard_extradebs Date: Fri, 29 May 2020 12:19:36 +0100 Message-Id: <20200529111945.21394-41-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Refactor this out of ts-xen-install. We are going to run it in ts-host-install. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 7 ++++++- ts-xen-install | 3 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index d51ac493..60393ca9 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -51,7 +51,6 @@ BEGIN { di_vg_name debian_dhcp_rofs_fix debian_write_random_seed_command - some_extradebs ); %EXPORT_TAGS =3D ( ); =20 @@ -1684,4 +1683,10 @@ sub some_extradebs ($$) { } } =20 +sub standard_extradebs ($) { + my ($ho) =3D @_; + # $c{ DebianExtraPackages_ } + some_extradebs($ho, [ 'DebianExtraPackages', $ho->{Suite} ]); +} + 1; diff --git a/ts-xen-install b/ts-xen-install index d67cd121..965fd519 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -74,8 +74,7 @@ sub packages () { sub extradebs () { my $suite =3D $ho->{Suite}; =20 - # $c{ DebianExtraPackages_ } - some_extradebs($ho, [ 'DebianExtraPackages', $suite ]); + standard_extradebs($ho); =20 # $c{ DebianExtraPackages___ } my $firmware =3D get_host_property($ho, "firmware"); --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752118; cv=none; d=zohomail.com; s=zohoarc; b=WBlARQCX4f+ZVOzyMIQnO9ULlp36Jh9Vt+B4j9/qvIwMADEOIckvwfwbLLlUoOtAx2jIKFg7pDfCQg9F9SZjWRvR4u+gXL2orEiV+iysQLfbMVYQBH/w68QIm/xG6jhrUikyq51aLNyZm3490OJ/bH/9lsHWrXmTtZadCLj0YTs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752118; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=FRrN0YpjBpKKE8/Bm5vjCqibuKlAnMnO1Ef02BTmlSE=; b=kvteIj3BD7w5R+rKNCI+xzEWDm5JJuVEqNsU+4QYTLSmpJmj6Xx7nDIxpOMMfcV1mzzTphalQMXo28I4mcfVXpdtuyTB346qHZjBKJZ86H5djAcF8GmVShIC+l6xfDkhEB0wueHZ9J7fyi1UcfR0CYCAvLqgSKWdmDkfLv1uCgs= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752118602764.2622348280833; Fri, 29 May 2020 04:35:18 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHz-0002ta-0Y; Fri, 29 May 2020 11:35:03 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHx-0002sM-SP for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:01 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4c099578-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:34:03 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Z-0003xZ-JO; Fri, 29 May 2020 12:20:09 +0100 X-Inumbo-ID: 4c099578-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 41/49] Debian.pm: Move standard_extradebs to ts-host-install Date: Fri, 29 May 2020 12:19:37 +0100 Message-Id: <20200529111945.21394-42-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This makes it effect builds on Debian, too. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 1 + ts-host-install | 2 ++ ts-xen-install | 2 -- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 60393ca9..2d30b3e9 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -51,6 +51,7 @@ BEGIN { di_vg_name debian_dhcp_rofs_fix debian_write_random_seed_command + some_extradebs standard_extradebs ); %EXPORT_TAGS =3D ( ); =20 diff --git a/ts-host-install b/ts-host-install index 253dbb5d..924c1e06 100755 --- a/ts-host-install +++ b/ts-host-install @@ -146,6 +146,8 @@ END qw(amd64-microcode intel-microcode)); } =20 + standard_extradebs($ho); + my $ntpserver =3D get_target_property($ho, 'NtpServer'); if ($ntpserver) { target_editfile_root($ho, '/etc/ntp.conf', sub { diff --git a/ts-xen-install b/ts-xen-install index 965fd519..5d4f8b0d 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -74,8 +74,6 @@ sub packages () { sub extradebs () { my $suite =3D $ho->{Suite}; =20 - standard_extradebs($ho); - # $c{ DebianExtraPackages___ } my $firmware =3D get_host_property($ho, "firmware"); some_extradebs($ho, [ 'DebianExtraPackages', $firmware, $ho->{Arch}, $= suite ]); --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752107; cv=none; d=zohomail.com; s=zohoarc; b=jwqv6+8B26+mMKssKTBLDmF2+8ym18ThWMsTTQGN8OzxRH36WAJI/wJIYMHcnwxysBKb3KUdwfkKiK1s90KpZFXaVJ18l/ELsZvwMghfWScpsV3Vc4+EryuCrowCyqhE7YqnFr2FOlmMrArhgt32fokeYNHiQr6rZ7rwEaRgTv0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752107; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=XcCsGeASKhyUPmfLJxMoq2kU2IwFFHhMOJOo+WCvxCw=; b=fV3lAj6uE7CL8XIojfRfqz7qWq4Z+q76zcEFH0ryNK+wkClu45npjXIV5GVcKBkHOHrRLTMZP6LmjVs9u294MQenuPRO27d1CWWgIhXg0xlX8mMPAdzqeoqg8zM/u01QW3fEoOYgPZid2IA7Zl1n6hTG/NV2//FvHHb07MpxUug= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752107153777.3741292257331; Fri, 29 May 2020 04:35:07 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHp-0002ir-6q; Fri, 29 May 2020 11:34:53 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHn-0002hE-RR for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:51 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 4990ebde-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:33:59 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3Z-0003xZ-Qa; Fri, 29 May 2020 12:20:09 +0100 X-Inumbo-ID: 4990ebde-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 42/49] buster: Install own linux-libc-dev package (!) Date: Fri, 29 May 2020 12:19:38 +0100 Message-Id: <20200529111945.21394-43-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" As reported here: https://patchew.org/QEMU/20200513120147.21443-1-f4bug@amsat.org/ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D960271 the kernel has broken the build of upstream qemu. This made it into a Debian stable kernel update. This breaks our CI runs almost completely, when they run with buster. I spoke to the Debian kernel folks and apparently there is no intent to fast-track a fix to this. So instead I have made a kernel source package with the patch from that bug report, and built the linux-libc-dev package fromk it. The source is here for the time being: https://www.chiark.greenend.org.uk/~ijackson/quicksand/2020/libc-kernel-b= ug.960271/ Deployment note: the source and linux-libc-dev_*.deb are in the images directory on osstest@test-lab. Signed-off-by: Ian Jackson --- production-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production-config b/production-config index 6372ac9a..7a8c0fd3 100644 --- a/production-config +++ b/production-config @@ -108,7 +108,7 @@ TftpGrubVersion XXXX-XX-XX =20 DebianExtraPackages_jessie chiark-scripts_6.0.3~citrix1_all.deb DebianExtraPackages_stretch chiark-scripts_6.0.4~citrix1_all.deb -DebianExtraPackages_buster chiark-scripts_6.0.5~citrix1_all.deb +DebianExtraPackages_buster chiark-scripts_6.0.5~citrix1_all.deb libc-kerne= l-bug.960271/linux-libc-dev_4.19.118-2.0iwj_.deb =20 DebianExtraPackages_uefi_i386_jessie extradebs-uefi-i386-2018-04-01/ DebianExtraPackages_uefi_amd64_jessie extradebs-uefi-amd64-2018-04-01/ --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752093; cv=none; d=zohomail.com; s=zohoarc; b=jXoJQ/gXCyPY1pEy6kPrXYeqdAtWGkDP8Qhfg7J7JEl8QSy2Y/m6eiiHgHN/XzqHoI5xMXhVIX1hdwntN1EkkDHYHDDc9+t3+QwMPNtWEzsIafJ83xHBw1yWu2CS8l/BxvwYJrHF06K3crol+dpNsyd3nPUU8ODJkL+g0TWpCN4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752093; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=ik+UBNzGRAkDgkv1DidB3XyvsZfd71dX4JTcJPtLb28=; b=K1MErcB1dtyfR6MnP3zKe7zs+rAaOQe7Fcp7mspU0Ug5rxY4VaxZzDik2PKSP6TTx0mqRyIhZRCKnsiQF1KSnLLTyVPWe3M1Kgwcl2KZt7dSZPkd1ALMHyiM6SjNsZiTtVgc54SjNZ6blzYWEsCJdPwb4Ux3b/pHT7SM2duJYyM= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752093022572.2129579965191; Fri, 29 May 2020 04:34:53 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHa-0002S8-8Q; Fri, 29 May 2020 11:34:38 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHY-0002Qo-Qx for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:36 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 45167a06-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:33:51 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3a-0003xZ-3W; Fri, 29 May 2020 12:20:10 +0100 X-Inumbo-ID: 45167a06-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 43/49] setupboot_grub2: Insist on space after directives Date: Fri, 29 May 2020 12:19:39 +0100 Message-Id: <20200529111945.21394-44-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" These parsing regexps were all wrong! Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 2d30b3e9..a20569e5 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -529,17 +529,17 @@ sub setupboot_grub2 ($$$$) { if (m/^\s*submenu\s+[\'\"](.*)[\'\"].*\{\s*$/) { push @offsets,(0); } - if (m/^\s*chainloader\s*\/EFI\/osstest\/xen.efi/) { + if (m/^\s*chainloader\s+\/EFI\/osstest\/xen.efi/) { die unless $entry; $entry->{Hv}=3D $1; $entry->{Chainload} =3D 1; } - if (m/^\s*multiboot2?\s*(?:\/boot)?\/(xen\-[0-9][-+.0-9a-z]*\S= +)/) { + if (m/^\s*multiboot2?\s+(?:\/boot)?\/(xen\-[0-9][-+.0-9a-z]*\S= +)/) { die unless $entry; $entry->{Hv}=3D $1; $entry->{Chainload} =3D 0; } - if (m/^\s*multiboot2?\s*(?:\/boot)?\/(vmlinu[xz]-(\S+))\s+(.*)= /) { + if (m/^\s*multiboot2?\s+(?:\/boot)?\/(vmlinu[xz]-(\S+))\s+(.*)= /) { die unless $entry; $entry->{KernOnly}=3D $1; $entry->{KernVer}=3D $2; @@ -551,7 +551,7 @@ sub setupboot_grub2 ($$$$) { $entry->{KernVer}=3D $2; $entry->{KernOpts}=3D $3; } - if (m/^\s*module2?\s*(?:\/boot)?\/(initrd\S+)/) { + if (m/^\s*module2?\s+(?:\/boot)?\/(initrd\S+)/) { $entry->{Initrd}=3D $1; } if (m/^\s*module2?\s*\/(xenpolicy\S+)/) { --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590751991; cv=none; d=zohomail.com; s=zohoarc; b=BUdCEEZVgeRKH2ZCtlMMX8bekbZ9ZhGA6y6xEercFrIbW/IZsQsCPze0j5sRbLDcXoyDV1IhF4Vte+PdC0bxZkfodjpdp+PQj+MaGfwaW+qbKqQwD0b7QiFB+CJUrxany8+81T+SCSo1TzTlouOSpOxcSnr2HI9Rund/wcjhE94= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590751991; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=AIQ/INmEGFXMcWcp++0MdTTGeSXbfPI0A+PAUxb7oco=; b=HbXwsa1RiprnNoroxyQo+PTDP/R2kob4P0Mn0sMd6K+bQNmjfowiufN39taGfsrYFcE/8sv/NecGRmtIxsv5QajKozTbgBfb9hhADBIpy99WvmA0sqAQ7wWY0mZ9zLxYqGxRTlXYuuM8HZD1HDO4CaR6sjfbQQzjfEZlAFHJ9GI= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590751991279813.7403059490384; Fri, 29 May 2020 04:33:11 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFx-0000t1-L8; Fri, 29 May 2020 11:32:57 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedFw-0000sc-O8 for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:32:56 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 1c9a0f5c-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:32:43 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3a-0003xZ-Ai; Fri, 29 May 2020 12:20:10 +0100 X-Inumbo-ID: 1c9a0f5c-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 44/49] setupboot_grub2: Print line number of entry we are using Date: Fri, 29 May 2020 12:19:40 +0100 Message-Id: <20200529111945.21394-45-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index a20569e5..615047cb 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -562,7 +562,7 @@ sub setupboot_grub2 ($$$$) { =20 die unless $entry->{Title}; =20 - logm("boot check: grub2, found $entry->{Title}"); + logm("boot check: grub2, l.$., found $entry->{Title}"); =20 die unless $entry->{$kernkey}; if (defined $xenhopt) { --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752136; cv=none; d=zohomail.com; s=zohoarc; b=dFr21jg5HKneQ1QRUY5nm4fwBWsMdoaumF9Qu1ku4yRA7/MRmul8tMDpewHh7opTy4jETEoFC2rYM18k5c0t/kxpeo/3TpmIhZ2EIAqw82X6Mc7Lki7XQv5uFYKWOm9IyFZxNTbcwn9QZMPmszkhVaWtK1Ub62U8ZaOeUgHakuY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752136; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gQRZqB021d+xpHVow/Mm5TlKubEpBFxBV3qEwtgXYGA=; b=LnDaDqpvl/NFJBqSpo7GlBaEKZ77EnXNl4Ml5yPg0zeLFLvWFsArXkpNIaupNjk9dzgtge7Y7FB9uaCY7etIGPAfNCktakstUkAK5Nn18d4fmvQ+Gjcz98NF8A/OvzKTfOp3YQGXQu1vrY+0jzqeNCHo2XiwfZIxMCYCEAcZgQo= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752136899422.1305614571428; Fri, 29 May 2020 04:35:36 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIJ-0003DJ-8W; Fri, 29 May 2020 11:35:23 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIH-0003By-Ss for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:21 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 539bf114-a1a0-11ea-9dbe-bc764e2007e4; Fri, 29 May 2020 11:34:16 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3a-0003xZ-Kc; Fri, 29 May 2020 12:20:10 +0100 X-Inumbo-ID: 539bf114-a1a0-11ea-9dbe-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 45/49] setupboot_grub2: Recognise --nounzip for initramfs Date: Fri, 29 May 2020 12:19:41 +0100 Message-Id: <20200529111945.21394-46-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Modern versions of update-grub like to add this. We need to spot this so that under EFI we generate the right things in xen.cfg. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 615047cb..de53c1ac 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -551,7 +551,7 @@ sub setupboot_grub2 ($$$$) { $entry->{KernVer}=3D $2; $entry->{KernOpts}=3D $3; } - if (m/^\s*module2?\s+(?:\/boot)?\/(initrd\S+)/) { + if (m/^\s*module2?\s+(?:--nounzip\s+)*(?:\/boot)?\/(initrd\S+)= /) { $entry->{Initrd}=3D $1; } if (m/^\s*module2?\s*\/(xenpolicy\S+)/) { --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752165; cv=none; d=zohomail.com; s=zohoarc; b=dByCdBY/BXprf/WCq38rnkO7f+ZqP3TL1qxr6Nxv9t/+fiGl3l6Nl/ycaLFhgobQoKp4Y7VdtPsMvuVP2l+yShHLhpLjw3GEVI6MvY1p/n4Ixco5233TIdPYhUZosfnSewXTfrrdCzKnFNw+wk09oK+uk0ZgXV1MGSbTkAgpJsw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752165; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=lj3dkQ8skq+3Vql/XjFW1f4y3wWmuvVmli+nv0kWiKQ=; b=WqkgDXCc4xXaYXjHdv92n4oWMBmBdRochKBiFpNqiCfKyzEWnLdgTia5Var6dCKXuytdWuKUAMKYrZo+bi1SYmWIpNt1mpUI1Ei65OU+I91MGc6dlmFXRtBgKra7fDiXUb3yx5QKSGdDradU60GSGXOwgkoTQH8J2Wd+1kadmjE= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752165181210.10281262571596; Fri, 29 May 2020 04:36:05 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIj-0003jb-1A; Fri, 29 May 2020 11:35:49 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedIg-0003hV-Ul for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:35:46 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 5ea31d30-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:34:34 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3a-0003xZ-Ui; Fri, 29 May 2020 12:20:11 +0100 X-Inumbo-ID: 5ea31d30-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 46/49] setupboot_grub2: Copy hv command line from grub to xen.cfg Date: Fri, 29 May 2020 12:19:42 +0100 Message-Id: <20200529111945.21394-47-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This reuses all of the stuff that update-grub, etc., have put there. In particular without this we never have flask=3Denforcing! We have to do something about the ${xen_rm_opts} that appear in these entries. In principle there might be many variable expansions, but in practice there is only this one It applies only to x86, and this use of chainloading to xen.efi and reading xen.cfg applies only to arm64. And anyway we weren't putting it these things in before. So OK... Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index de53c1ac..c18bf718 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -534,10 +534,11 @@ sub setupboot_grub2 ($$$$) { $entry->{Hv}=3D $1; $entry->{Chainload} =3D 1; } - if (m/^\s*multiboot2?\s+(?:\/boot)?\/(xen\-[0-9][-+.0-9a-z]*\S= +)/) { + if (m/^\s*multiboot2?\s+(?:\/boot)?\/(xen\-[0-9][-+.0-9a-z]*\S= +)\s+(.*)/) { die unless $entry; $entry->{Hv}=3D $1; $entry->{Chainload} =3D 0; + $entry->{HvOpts} =3D $2; } if (m/^\s*multiboot2?\s+(?:\/boot)?\/(vmlinu[xz]-(\S+))\s+(.*)= /) { die unless $entry; @@ -575,7 +576,7 @@ sub setupboot_grub2 ($$$$) { # Propagate relevant fields of the main entry over to the # chain entry for use of subsequent code. foreach (qw(KernVer KernDom0 KernOnly KernOpts - Initrd Xenpolicy)) { + Initrd Xenpolicy HvOpts)) { next unless $entry->{$_}; die if $chainentry->{$_}; $chainentry->{$_} =3D $entry->{$_}; @@ -604,12 +605,14 @@ sub setupboot_grub2 ($$$$) { =20 if ($need_uefi_chainload) { my $entry=3D $parsemenu->(); + my $hvopts =3D $entry->{HvOpts}; + $hvopts =3D~ s/\$\{\w+\}//g; # delete these and hope! my $xencfg =3D <{KernOpts} END $xencfg .=3D "ramdisk=3Dinitrd.gz\n" if $entry->{Initrd}; --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752101; cv=none; d=zohomail.com; s=zohoarc; b=hJq5Qa9r9vUXqLdnMhSpToH1+iKbRWtAsf4lIWKPKXD7qIvEbK2BmDFYCoijCWz9s/hXnkmV1jbTbSMoU3IjTmulVZ5NZ6zz3j/BD91FbjBE/1ZyjNTJcWoX/VAfi5P1xSadohGeCQ21nA/58BFgiAncSjpZTF09W4XabOkcbV8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752101; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=E4MItKIa8bDSSNAtY3TVMBNtQeLnZU+qLZErRee/yFM=; b=oLwdgnEvbEpbZMWdRPnersjjNdcH4s5ukIyESAB2m8BqHkRdxaGEZBNEJYV/6pYpM+dsRV3/oGaU6W9djcxqRAg6YpKu0DvlbgLxUNtadk+S35b9z0P4I+p5LbQQewT+EkEBfj2QZWwLXwrM9pjNIzmGMQ1cJ+JseEIiHoz+TIo= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752101946894.4988889617423; Fri, 29 May 2020 04:35:01 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHj-0002d0-Sy; Fri, 29 May 2020 11:34:47 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHi-0002bw-SK for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:46 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 47b7cab2-a1a0-11ea-8993-bc764e2007e4; Fri, 29 May 2020 11:33:56 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3b-0003xZ-5y; Fri, 29 May 2020 12:20:11 +0100 X-Inumbo-ID: 47b7cab2-a1a0-11ea-8993-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 47/49] setupboot_grub2: Do not boot with XSM policy etc. unless xsm=1 Date: Fri, 29 May 2020 12:19:43 +0100 Message-Id: <20200529111945.21394-48-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" This prevents us from passing an XSM policy file, and `flask=3Denforcing', in supposedly-non-XSM tests. These bootloader entries can appear because the Xen upstream build ships XSM policy files by default even if XSM is disabled in the hypervisor, causing update-grub to generate useless `XSM enabled' entries. Signed-off-by: Ian Jackson --- Osstest/Debian.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index c18bf718..b140ede2 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -499,6 +499,9 @@ sub setupboot_grub2 ($$$$) { } elsif ($want_xsm && !defined $entry->{Xenpolicy}) { logm("(skipping entry at $entry->{StartLine}..$.;". " XSM policy file not mentioned)"); + } elsif (!$want_xsm && defined $entry->{Xenpolicy}) { + logm("(skipping entry at $entry->{StartLine}..$.;". + " XSM policy file, but we don't want XSM)"); } elsif ($ho->{Suite} =3D~ m/buster/ && defined $entry->{Xenpolicy} && !$bootfiles{ --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752081; cv=none; d=zohomail.com; s=zohoarc; b=LQka4KlrG0+19ZmyVcUtU+pf+naAk2/tDc/gCeNW5pwRuUYNoZgSDee1yeHB1KzJ3sLcIgzjWkVy3jbRkrgDlPyUvhIKEwHnb60cv4yTrA58dSdgsF60vD0SmWFDQpfH/YY3ce8I3//u1hn3/Na2EE5ugNIVtwp6EPkY6O3ztXQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752081; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=tF8qwlg4P0KR9fQ7VLFuOAJfc0mkt9IvAyimYh8ZwbY=; b=WptqGaj6qBS8jSmJNT5eECjXrk1HA5RPcpScpAMTkR8ZsUK2Gth+98UsH55Zceph6YWAaMixL3QguwivR8By0+74XDwIUVUxy6t0FkNRj7skbPKSXzDy8nO8LjiiODRBDBiYBRdR02oImkpAHwLU+wtECAxYMRYSd4LPX6Ovrog= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1590752081098386.7981228244133; Fri, 29 May 2020 04:34:41 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHP-0002Fi-K3; Fri, 29 May 2020 11:34:27 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHO-0002Eo-Qn for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:26 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 3fffa68c-a1a0-11ea-81bc-bc764e2007e4; Fri, 29 May 2020 11:33:43 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3b-0003xZ-Ey; Fri, 29 May 2020 12:20:11 +0100 X-Inumbo-ID: 3fffa68c-a1a0-11ea-81bc-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 48/49] buster 20_linux_xen: Only load policy in XSM-enabled builds Date: Fri, 29 May 2020 12:19:44 +0100 Message-Id: <20200529111945.21394-49-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- overlay-buster/etc/grub.d/20_linux_xen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay-buster/etc/grub.d/20_linux_xen b/overlay-buster/etc/gr= ub.d/20_linux_xen index 4d3294a2..6f2a98ba 100755 --- a/overlay-buster/etc/grub.d/20_linux_xen +++ b/overlay-buster/etc/grub.d/20_linux_xen @@ -159,7 +159,7 @@ EOF ${module_loader} --nounzip ${rel_dirname}/${initrd} EOF fi - if test -n "${xenpolicy}" ; then + if ${xsm} && test -n "${xenpolicy}" ; then message=3D"$(gettext_printf "Loading XSM policy ...")" sed "s/^/$submenu_indentation/" << EOF echo '$(echo "$message" | grub_quote)' --=20 2.20.1 From nobody Mon Apr 29 04:50:10 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=eu.citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1590752078; cv=none; d=zohomail.com; s=zohoarc; b=klvpSLJxLtdbyb7VRjJCrbsnQZ4XSKPAVDPMGhooERHP5hGEt+bp/wWt0O6CrN12Q3yeCtAOIdcGvw18W7Nqu49UpQdIW6nPZKEURpCx99UYGw8m444jV1go9IivRuKt/QIGS3i2hZTWptb2XiiTf5LdiSkh6YkBFtov3aqR2Bs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590752078; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pi71VX6R9Ew3mOmsfClppGniletqE8Ull1cLyLPLWlM=; b=QmAN/Bt4tZifsjTbUu5ISQXo/EGNObdwmCg73ZmLHJMGYLboMXQsdnGMt/6vXejmBIzzbjn4yxpUy/vqUlq/fAT9dgOlIbu56Gvce5vPESB+2uU1DKN4HBhNJ0PfRkOVbDW4zZrnlzYlvqYLtiyQlI9ojzJa5p3PBXaq4QwsJfA= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 15907520780001014.0273512654126; Fri, 29 May 2020 04:34:38 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHK-00029p-97; Fri, 29 May 2020 11:34:22 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jedHJ-00029M-Rg for xen-devel@lists.xenproject.org; Fri, 29 May 2020 11:34:21 +0000 Received: from chiark.greenend.org.uk (unknown [2001:ba8:1e3::]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 3e9d5140-a1a0-11ea-9947-bc764e2007e4; Fri, 29 May 2020 11:33:41 +0000 (UTC) Received: from [172.18.45.5] (helo=zealot.relativity.greenend.org.uk) by chiark.greenend.org.uk (Debian Exim 4.84_2 #1) with esmtp (return-path ijackson@chiark.greenend.org.uk) id 1jed3b-0003xZ-Mx; Fri, 29 May 2020 12:20:11 +0100 X-Inumbo-ID: 3e9d5140-a1a0-11ea-9947-bc764e2007e4 From: Ian Jackson To: xen-devel@lists.xenproject.org Subject: [OSSTEST PATCH 49/49] buster: Switch to Debian buster as the default suite Date: Fri, 29 May 2020 12:19:45 +0100 Message-Id: <20200529111945.21394-50-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200529111945.21394-1-ian.jackson@eu.citrix.com> References: <20200529111945.21394-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Type: text/plain; charset="utf-8" Signed-off-by: Ian Jackson --- Osstest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest.pm b/Osstest.pm index 1e381d8f..63dddd95 100644 --- a/Osstest.pm +++ b/Osstest.pm @@ -87,7 +87,7 @@ our %c =3D qw( =20 Images images =20 - DebianSuite stretch + DebianSuite buster DebianMirrorSubpath debian =20 TestHostKeypairPath id_rsa_osstest --=20 2.20.1