From 0ee6a5e35121e9483d70ad52a2cf166c802b59b2 Mon Sep 17 00:00:00 2001 From: torben Date: Tue, 1 Mar 2016 18:17:02 +0100 Subject: Fix. --- .../dnbd3-rootfs/hooks/set-dracut-environment-variables.sh | 12 ------------ 1 file changed, 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: -- cgit v1.2.3-55-g7522