summaryrefslogtreecommitdiffstats
path: root/core/rootfs/rootfs-stage32/data/etc
diff options
context:
space:
mode:
authorJonathan Bauer2017-08-04 17:38:18 +0200
committerJonathan Bauer2017-08-04 17:38:18 +0200
commit2a8adf44f06227da6ff260d258f1a39c2637fdfd (patch)
tree6d242674c4c9f3c4f692e6d50589f047903fb208 /core/rootfs/rootfs-stage32/data/etc
parent[nvidia_*] Update to 384.59 (diff)
downloadmltk-2a8adf44f06227da6ff260d258f1a39c2637fdfd.tar.gz
mltk-2a8adf44f06227da6ff260d258f1a39c2637fdfd.tar.xz
mltk-2a8adf44f06227da6ff260d258f1a39c2637fdfd.zip
[rfs-s32] optimize slx addon setup
download the sqfs asap and only wait for tmp to append them to the rest of the aufs
Diffstat (limited to 'core/rootfs/rootfs-stage32/data/etc')
-rw-r--r--core/rootfs/rootfs-stage32/data/etc/systemd/system/download-slx-addon@.service10
-rw-r--r--core/rootfs/rootfs-stage32/data/etc/systemd/system/download-slx-addons.service9
l---------core/rootfs/rootfs-stage32/data/etc/systemd/system/sysinit.target.wants/download-slx-addons.service1
l---------core/rootfs/rootfs-stage32/data/etc/systemd/system/sysinit.target.wants/setup-slx-addons.service1
4 files changed, 20 insertions, 1 deletions
diff --git a/core/rootfs/rootfs-stage32/data/etc/systemd/system/download-slx-addon@.service b/core/rootfs/rootfs-stage32/data/etc/systemd/system/download-slx-addon@.service
new file mode 100644
index 00000000..cb84287d
--- /dev/null
+++ b/core/rootfs/rootfs-stage32/data/etc/systemd/system/download-slx-addon@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Download SLX addon %I
+DefaultDependencies=no
+Wants=setup-slx-addon@%i.service
+Before=setup-slx-addon@%i.service
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-download_slx_addons %I
+RemainAfterExit=yes
diff --git a/core/rootfs/rootfs-stage32/data/etc/systemd/system/download-slx-addons.service b/core/rootfs/rootfs-stage32/data/etc/systemd/system/download-slx-addons.service
new file mode 100644
index 00000000..61627ff8
--- /dev/null
+++ b/core/rootfs/rootfs-stage32/data/etc/systemd/system/download-slx-addons.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Download SLX addons
+DefaultDependencies=no
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-download_slx_addons
+RemainAfterExit=yes
+
diff --git a/core/rootfs/rootfs-stage32/data/etc/systemd/system/sysinit.target.wants/download-slx-addons.service b/core/rootfs/rootfs-stage32/data/etc/systemd/system/sysinit.target.wants/download-slx-addons.service
new file mode 120000
index 00000000..26de543e
--- /dev/null
+++ b/core/rootfs/rootfs-stage32/data/etc/systemd/system/sysinit.target.wants/download-slx-addons.service
@@ -0,0 +1 @@
+../download-slx-addons.service \ No newline at end of file
diff --git a/core/rootfs/rootfs-stage32/data/etc/systemd/system/sysinit.target.wants/setup-slx-addons.service b/core/rootfs/rootfs-stage32/data/etc/systemd/system/sysinit.target.wants/setup-slx-addons.service
deleted file mode 120000
index 415050b5..00000000
--- a/core/rootfs/rootfs-stage32/data/etc/systemd/system/sysinit.target.wants/setup-slx-addons.service
+++ /dev/null
@@ -1 +0,0 @@
-../setup-slx-addons.service \ No newline at end of file