lxc-debian: fix regression when creating wheezy containers

The regression was introduced by commit
3c39b0b7a2 which makes it possible to
create working stretch containers by forcinig `init` to be in the
included package list.

However, `init` didn't exit before jessie, so now for wheezy we
explicitly include `sysvinit`; sysvinit on wheezy is essential,
so it would already be included anyway.

Signed-off-by: Antonio Terceiro <terceiro@debian.org>
This commit is contained in:
Antonio Terceiro 2016-06-29 14:58:35 -03:00
parent 60cfbd8a92
commit f95776dffa

View File

@ -296,8 +296,16 @@ cleanup()
download_debian() download_debian()
{ {
case "$release" in
wheezy)
init=sysvinit
;;
*)
init=init
;;
esac
packages=\ packages=\
init,\ $init,\
ifupdown,\ ifupdown,\
locales,\ locales,\
libui-dialog-perl,\ libui-dialog-perl,\