Commit dcfce36a authored by AlmAck's avatar AlmAck
Browse files

fix live.service

starting from systemd 233 unit symlinks are ignored
https://lists.freedesktop.org/archives/systemd-devel/2017-September/039496.html
enable copy symbolic link with shutil.copytree by adding True as second param
parent e549233b
[Unit]
Description=Run live script
Before=live-hwdetect.service
Before=multi-user.target
[Service]
Type=oneshot
ExecStart=/etc/live
[Install]
WantedBy=multi-user.target
/usr/lib/systemd/system/live.service
\ No newline at end of file
......@@ -69,7 +69,7 @@ class IsoBuilder:
inform("overlay-files exists, skip")
return
shutil.copytree(overlay_files, pjoin(self.outputdir,"overlay-files"))
shutil.copytree(overlay_files, pjoin(self.outputdir,"overlay-files"), True)
if locale_archive is None or not os.path.isfile(locale_archive):
# create locale_archive
pass
......
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