summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
authorThiago Abdo2019-11-06 10:38:18 +0100
committerThiago Abdo2019-11-06 10:38:18 +0100
commit26e13ef50af8329ab58064abdc8f053575d7ceeb (patch)
treee60e92869ed402a5b0868087e92832f933e5c0b8 /builder
parentMoving sourcing of build.inc to global (diff)
downloadsystemd-init-26e13ef50af8329ab58064abdc8f053575d7ceeb.tar.gz
systemd-init-26e13ef50af8329ab58064abdc8f053575d7ceeb.tar.xz
systemd-init-26e13ef50af8329ab58064abdc8f053575d7ceeb.zip
fix include
Signed-off-by: Thiago Abdo <tjabdo@inf.ufpr.br>
Diffstat (limited to 'builder')
-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