summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/openslx_tmp_mount
diff options
context:
space:
mode:
authorJonathan Bauer2019-01-18 13:06:19 +0100
committerJonathan Bauer2019-01-18 13:06:19 +0100
commit677f807caa81986c2f3a944e5ecdcfac7ac235a3 (patch)
treeffb447fac7988cefc326632a15e50bf1b4d94e8d /builder/modules.d/openslx_tmp_mount
parent[slx-clock] new module for time-related stuff (diff)
downloadsystemd-init-677f807caa81986c2f3a944e5ecdcfac7ac235a3.tar.gz
systemd-init-677f807caa81986c2f3a944e5ecdcfac7ac235a3.tar.xz
systemd-init-677f807caa81986c2f3a944e5ecdcfac7ac235a3.zip
remove deprecated modules
Diffstat (limited to 'builder/modules.d/openslx_tmp_mount')
-rwxr-xr-xbuilder/modules.d/openslx_tmp_mount/module-setup.sh14
-rwxr-xr-xbuilder/modules.d/openslx_tmp_mount/scripts/openslx_tmp_mount.sh11
2 files changed, 0 insertions, 25 deletions
diff --git a/builder/modules.d/openslx_tmp_mount/module-setup.sh b/builder/modules.d/openslx_tmp_mount/module-setup.sh
deleted file mode 100755
index 896c6a9b..00000000
--- a/builder/modules.d/openslx_tmp_mount/module-setup.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env bash
-
-check() {
- # Tell dracut that this module should only be included if it is required
- # explicitly.
- return 255
-}
-depends() {
- echo dnbd3-rootfs
-}
-install() {
- inst_hook pre-pivot 30 "$moddir/scripts/openslx_tmp_mount.sh"
- inst_multiple chmod
-}
diff --git a/builder/modules.d/openslx_tmp_mount/scripts/openslx_tmp_mount.sh b/builder/modules.d/openslx_tmp_mount/scripts/openslx_tmp_mount.sh
deleted file mode 100755
index ddf974fc..00000000
--- a/builder/modules.d/openslx_tmp_mount/scripts/openslx_tmp_mount.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-
-. /etc/openslx
-
-# The device should have been discovered by openslx_tmp_format hook
-# and written to /etc/openslx
-if [ -n "${SLX_TMP_PARTITION_DEVICE}" ]; then
- mount -t auto "${SLX_TMP_PARTITION_DEVICE}" "${NEWROOT}/tmp"
- chmod a+rwxt "${NEWROOT}/tmp"
- # TODO fstab
-fi