summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-11-08 14:26:11 +0100
committerJonathan Bauer2019-11-08 14:26:11 +0100
commit5de1dbce5f8c6920a35bb889c367c8575981a224 (patch)
treefcc6845057df618d7c511b9d4a06b815049f0555
parent[conf-tgz] indent (diff)
parentfix include (diff)
downloadsystemd-init-5de1dbce5f8c6920a35bb889c367c8575981a224.tar.gz
systemd-init-5de1dbce5f8c6920a35bb889c367c8575981a224.tar.xz
systemd-init-5de1dbce5f8c6920a35bb889c367c8575981a224.zip
Merge branch 'nobash' of git.openslx.org:openslx-ng/systemd-init into nobash
-rwxr-xr-xbuilder/modules.d/dnbd3-rootfs/module-setup.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/builder/modules.d/dnbd3-rootfs/module-setup.sh b/builder/modules.d/dnbd3-rootfs/module-setup.sh
index 9f99f0d0..77543a54 100755
--- a/builder/modules.d/dnbd3-rootfs/module-setup.sh
+++ b/builder/modules.d/dnbd3-rootfs/module-setup.sh
@@ -1,8 +1,6 @@
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
-# Sourcing some helper functions
-. "$(dirname "${BASH_SOURCE[0]}")/helper/build.inc"
_parse_dracut_args() {
local __doc__='
@@ -67,10 +65,14 @@ _parse_dracut_args ${dracut_args[*]} || _debug=$?
# endregion
clean() {
+# Sourcing some helper functions
+ . "$(dirname "${BASH_SOURCE[0]}")/helper/build.inc"
clean_components
}
# region dracut plugin api
check() {
+# Sourcing some helper functions
+ . "$(dirname "${BASH_SOURCE[0]}")/helper/build.inc"
if ! build_initialize_components; then
echo "Failed to initialize components."
return 1