Package: lxc
Version: 1:1.0.7-4
Severity: normal
Tags: patch

Hi,

By default, upstream's 'lxc-debian' template enables 'contrib' and
'non-free' sections which are not part of the Debian distribution.

The attached patch only enables 'main'.  This avoids installing
proprietary packages by mistake.

Cheers!
Sylvain
Index: lxc-1.0.7/templates/lxc-debian.in
===================================================================
--- lxc-1.0.7.orig/templates/lxc-debian.in
+++ lxc-1.0.7/templates/lxc-debian.in
@@ -172,8 +172,8 @@ write_sourceslist()
     fi
 
     cat >> "${rootfs}/etc/apt/sources.list" << EOF
-${prefix} $MIRROR          ${release}         main contrib non-free
-${prefix} $SECURITY_MIRROR ${release}/updates main contrib non-free
+${prefix} $MIRROR          ${release}         main
+${prefix} $SECURITY_MIRROR ${release}/updates main
 EOF
 }
 

Reply via email to