mirror of
git://github.com/lxc/lxc
synced 2025-08-31 15:47:54 +00:00
lxc-debian: skip security updates for unstable/sid
There is no such thing as security support for unstable/sid. Signed-off-by: Antonio Terceiro <terceiro@debian.org> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
committed by
Stéphane Graber
parent
585f3c6b69
commit
d203007e63
@@ -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()
|
||||
|
Reference in New Issue
Block a user