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

Stéphane Graber stgraber at ubuntu.com
Thu Jul 16 16:16:36 UTC 2015


On Thu, Jul 16, 2015 at 12:13:16PM -0300, Antonio Terceiro wrote:
> There is no such thing as security support for unstable/sid.

Hi,

Could you re-sendthe patch with the required, Signed-off-by line
in your commit message (see CONTRIBUTING)?

Thanks!

> ---
>  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/20150716/d2c6bf2b/attachment.sig>


More information about the lxc-devel mailing list