Commit d203007e by Antonio Terceiro Committed by Stéphane Graber

lxc-debian: skip security updates for unstable/sid

There is no such thing as security support for unstable/sid. Signed-off-by: 's avatarAntonio Terceiro <terceiro@debian.org> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 585f3c6b
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment