[lxc-devel] [PATCH] lxc-debian: skip security updates for unstable/sid

Stéphane Graber stgraber at ubuntu.com
Thu Aug 13 20:29:24 UTC 2015


On Sat, Jul 18, 2015 at 08:24:12PM -0300, Antonio Terceiro wrote:
> There is no such thing as security support for unstable/sid.
> 
> Signed-off-by: Antonio Terceiro <terceiro at debian.org>

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

> ---
>  templates/lxc-debian.in | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/templates/lxc-debian.in b/templates/lxc-debian.in
> index d9f0f03..3914605 100644
> --- a/templates/lxc-debian.in
> +++ b/templates/lxc-debian.in
> @@ -161,8 +161,13 @@ write_sourceslist()
>  
>      cat >> "${rootfs}/etc/apt/sources.list" << EOF
>  ${prefix} $MIRROR          ${release}         main contrib non-free
> +EOF
> +
> +    if [ "$release" != "unstable" -a "$release" != "sid" ]; then
> +      cat >> "${rootfs}/etc/apt/sources.list" << EOF
>  ${prefix} $SECURITY_MIRROR ${release}/updates main contrib non-free
>  EOF
> +    fi
>  }
>  
>  install_packages()
> -- 
> 2.1.4
> 
> _______________________________________________
> 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/20150813/fa2651e0/attachment.sig>


More information about the lxc-devel mailing list