Merge pull request #428 from octivi/systemd_expand_root

Change location of expand-root systemd unit from /lib/... to /etc/...
This commit is contained in:
Anders Ingemann 2018-01-08 20:16:13 +01:00 committed by GitHub
commit 95efdaaced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ class InstallExpandRootScripts(Task):
expand_root_service = os.path.join(ASSETS_DIR, 'expand-root.service')
expand_root_script_dest = os.path.join(info.root, 'usr/bin/expand-root.sh')
expand_root_service_dest = os.path.join(info.root, 'lib/systemd/system/expand-root.service')
expand_root_service_dest = os.path.join(info.root, 'etc/systemd/system/expand-root.service')
filesystem_type = info.manifest.plugins['expand_root'].get('filesystem_type')
root_device = info.manifest.plugins['expand_root'].get('root_device')