Commit f95776df by Antonio Terceiro

lxc-debian: fix regression when creating wheezy containers

The regression was introduced by commit 3c39b0b7 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: 's avatarAntonio Terceiro <terceiro@debian.org>
parent 60cfbd8a
...@@ -296,8 +296,16 @@ cleanup() ...@@ -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,\
......
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