[lxc-devel] [PATCH] Disabled building openSUSE containers on openSUSE 13.2 and openSUSE Tumbleweed due to faulty behaviour with newer versions of init_buildsystem

Stéphane Graber stgraber at ubuntu.com
Mon Dec 1 18:47:57 UTC 2014


On Sat, Nov 29, 2014 at 09:43:26PM +0100, Johannes Kastl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi everyone,
> 
> On 26.11.2014 Johannes Kastl wrote:
> > On 26.11.2014 Johannes Kastl wrote:
> > 
> >> There is a bug report, but no solution yet. I am busy with other 
> >> real world stuff right now, so maybe to protect users this patch 
> >> should make it into stable-1.0?
> 
> As newer snapshots/releases of openSUSE Tumbleweed have a different
> /etc/os-release, I adapted the patch. Or rather wrote an additional
> patch, to detect Tumbleweed releases more reliably.
> 
> Regards,
> Johannes
> - -- 
> Why is it that New Jersey got all the toxic waste dumps and California
> got all the lawyers?
> New Jersey had first choice.
> (unknown)
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
> 
> iEYEARECAAYFAlR6L+4ACgkQzi3gQ/xETbL4GACgiINAP+3JazipazeGRuCB2Oo2
> YssAniJ4WwGQFvTj5rDnFPN3YFntXe+u
> =k2+c
> -----END PGP SIGNATURE-----

> From 603657a1f4c18e40eb1e977b73b76b9a7ea9078b Mon Sep 17 00:00:00 2001
> From: Johannes Kastl <git at ojkastl.de>
> Date: Sat, 29 Nov 2014 21:37:02 +0100
> Subject: [PATCH] lxc-opensuse.in: Disabling builds on openSUSE Tumbleweed,
>  detection improved
> 
> Signed-off-by: Johannes Kastl <git at ojkastl.de>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  templates/lxc-opensuse.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in
> index d563f20..abbbc4e 100644
> --- a/templates/lxc-opensuse.in
> +++ b/templates/lxc-opensuse.in
> @@ -405,7 +405,7 @@ if [ -z "$path" ]; then
>      exit 1
>  fi
>  
> -if [ $(grep Harlequin /etc/os-release >/dev/null; echo $?) = 0 ]; then
> +if grep -q Harlequin /etc/os-release || grep -q Tumbleweed /etc/os-release ; then
>      echo "Building containers on openSUSE 13.2 or Tumbleweed is broken at the moment. We are working on this problem."
>      exit 1
>  fi
> -- 
> 2.1.3
> 

> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20141201/5169f0fd/attachment.sig>


More information about the lxc-devel mailing list