summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-08-25 19:33:00 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-08-26 00:59:35 +0200
commitb78f2db21dfd274cc69efaa830e398117cc21637 (patch)
treeabeaaa95e36110450261969212ed2d5f9e63d7ab /components
parent6217527ed4e3b5484319c1cdc41977030517960e (diff)
downloadvyos-live-build-b78f2db21dfd274cc69efaa830e398117cc21637.tar.gz
vyos-live-build-b78f2db21dfd274cc69efaa830e398117cc21637.zip
Defaulting to live-config-systemd for anything but wheezy.
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/init10
1 files changed, 9 insertions, 1 deletions
diff --git a/components/init b/components/init
index 08bd9d20a..1bca711de 100755
--- a/components/init
+++ b/components/init
@@ -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