Re: [Xen-devel] [OSSTEST PATCH 07/16] Debian.pm: use sysvinit-core on stretch

2017-10-20 Thread Ian Jackson
Wei Liu writes ("[OSSTEST PATCH 07/16] Debian.pm: use sysvinit-core on 
stretch"):
...
> diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
> index 845027a..24bc260 100644
> --- a/Osstest/Debian.pm
> +++ b/Osstest/Debian.pm
> @@ -827,7 +827,7 @@ sub preseed_base ($$$;@) {
>  
>  # Systemd doesn't honor osstest-confirm-booted service, which
>  # breaks ts-leak-check.  Fall back to SysV init for now.
> -if ( $suite =~ /jessie/ ) {
> +if ( $suite =~ /jessie|stretch/ ) {
> preseed_hook_command($ho, 'late_command', $sfx, <  in-target apt-get install -y sysvinit-core

I think we should probably recognise that this is not going to change,
and switch this from a workaround to a policy decision.  Ie,

  if ... !~ m/squeeze/

Ian.

___
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel


[Xen-devel] [OSSTEST PATCH 07/16] Debian.pm: use sysvinit-core on stretch

2017-10-20 Thread Wei Liu
Signed-off-by: Wei Liu 
---
 Osstest/Debian.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 845027a..24bc260 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -827,7 +827,7 @@ sub preseed_base ($$$;@) {
 
 # Systemd doesn't honor osstest-confirm-booted service, which
 # breaks ts-leak-check.  Fall back to SysV init for now.
-if ( $suite =~ /jessie/ ) {
+if ( $suite =~ /jessie|stretch/ ) {
preseed_hook_command($ho, 'late_command', $sfx, <