From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH OSSTEST 0/5] Debian Jessie patches Date: Wed, 10 Jun 2015 10:50:33 +0100 Message-ID: <1433929833.30003.23.camel@citrix.com> References: <1432144588-2102-1-git-send-email-wei.liu2@citrix.com> <20150520180454.GE23128@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z2cee-0007Wl-0P for xen-devel@lists.xenproject.org; Wed, 10 Jun 2015 09:50:40 +0000 In-Reply-To: <20150520180454.GE23128@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: xen-devel@lists.xenproject.org, ian.jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Wed, 2015-05-20 at 19:04 +0100, Wei Liu wrote: > On Wed, May 20, 2015 at 06:56:23PM +0100, Wei Liu wrote: > > I worked a little bit on upgrading Osstest to Jessie a few months ago but > > dropped the ball. Here are the patches I wrote. > > > > With these patches I can run build jobs (Xen and kernel) with Jessie. Running > > test jobs requires more work because now Jessie uses systemd a lot of things > > have changed. > > Actually the problems I see might not be systemd related. The problem is > that Osstest cannot setup test host. Last time I didn't look into > details. I had some issues too, to do with /boot and /boot/efi not being mounted on boot which I couldn't figure out. It was complaining that the magic dev...by-uuid event hadn't triggered despite the fact I could see the devices and mount them and they were tagged systemd in the udev db. Eventually I gave in and went with this patch, essentially deferring the problem to Stretch... ----- commit 1bc2eff194a4c02071b75cc671058977d23d60d8 Author: Ian Campbell Date: Tue Jun 9 11:23:25 2015 +0100 Force sysvinit with Jessie. systemd seems to have some issues with mounting /boot and /boot/efi. See bug references in the comments. (I suspect there ust be more to it, but I can't figure out what...) Signed-off-by: Ian Campbell diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index aa3648b..8458335 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -982,6 +982,15 @@ in-target update-initramfs -u -k all END } + # With systemd it seems that /boot and/or /boot/efi occasionally + # do not boot, Debian bugs #718190 and #719738 seem to be relevant. + # For the time being force sysvinit with Jessie. + if ( $ho->{Suite} =~ /jessie/ ) { + preseed_hook_command($ho, 'late_command', $sfx, <{Flags}{'need-uboot-bootscr'}; > > Wei.