mirror of
git://github.com/lxc/lxc
synced 2025-08-31 22:34:10 +00:00
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:
@@ -296,8 +296,16 @@ cleanup()
|
||||
|
||||
download_debian()
|
||||
{
|
||||
case "$release" in
|
||||
wheezy)
|
||||
init=sysvinit
|
||||
;;
|
||||
*)
|
||||
init=init
|
||||
;;
|
||||
esac
|
||||
packages=\
|
||||
init,\
|
||||
$init,\
|
||||
ifupdown,\
|
||||
locales,\
|
||||
libui-dialog-perl,\
|
||||
|
Reference in New Issue
Block a user