summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/slx-uuid/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/modules.d/slx-uuid/module-setup.sh')
-rwxr-xr-xbuilder/modules.d/slx-uuid/module-setup.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/builder/modules.d/slx-uuid/module-setup.sh b/builder/modules.d/slx-uuid/module-setup.sh
deleted file mode 100755
index 569b5155..00000000
--- a/builder/modules.d/slx-uuid/module-setup.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env bash
-check() {
- # Tell dracut that this module should only be included if it is required
- # explicitly.
- if ! hash dmidecode; then
- echo "dmidecode is missing from this system, please install it."
- return 1
- fi
- return 255
-}
-depends() {
- echo busybox
-}
-install() {
- mkdir -p "$initdir/etc/bad-uuid.d"
- inst_simple "$moddir/bad-uuid-defaults.conf" "/etc/bad-uuid.d/bad-uuid-defaults.conf"
- inst_multiple dmidecode
- inst_hook pre-udev 05 "$moddir/scripts/get-system-uuid.sh"
- inst_hook pre-pivot 10 "$moddir/scripts/copy-system-uuid-to-newroot.sh"
-}