Defaulting to live-config-systemd for anything but wheezy.

This commit is contained in:
Daniel Baumann 2014-08-25 19:33:00 +02:00
parent 6217527ed4
commit b78f2db21d
1 changed files with 9 additions and 1 deletions

View File

@ -362,7 +362,15 @@ def main():
os.makedirs('config/package-lists', exist_ok=True)
f = open('config/package-lists/live.list.chroot', 'w')
f.write('live-boot\nlive-config\nlive-config-sysvinit\n')
f.write('live-boot\n'
'live-config\n')
if(parent_distribution == 'wheezy'):
f.write('live-config-sysvinit\n')
else:
f.write('live-config-systemd\n')
f.close()
## stagefile