summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/builder/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh b/builder/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh
index bb879b7f..ad80349b 100755
--- a/builder/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh
+++ b/builder/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh
@@ -1,15 +1,5 @@
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
-# region imports
-type getarg >/dev/null 2>&1 || source /lib/dracut-lib.sh
-source "/usr/lib/rebash/core.sh"
-core.import exceptions
-exceptions.activate
-core.import logging
-# endregion
-( # subshell for variable scoping
-logging.set_commands_level debug
-logging.set_level debug
# Set rootok and root as dracut expects them to be set by the module preparing
# the root filesystem.
@@ -20,8 +10,6 @@ rootok=1
# Tell dracut where the final root fs will be located.
root=block:/dev/devicemapper/root
-) || exit $?
-exceptions.deactivate
# region vim modline
# vim: set tabstop=4 shiftwidth=4 expandtab:
# vim: foldmethod=marker foldmarker=region,endregion: