summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
diff options
context:
space:
mode:
authorJonathan Bauer2020-03-24 17:40:02 +0100
committerJonathan Bauer2020-03-24 17:40:02 +0100
commita01ecfdce908fe7f658cf18c2df20bd3cd688fc4 (patch)
tree9ead7ffb73b8412da6f94f350e45973657dc53a8 /builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
parentShould not download dracut, dowloader scripts is doing it now (diff)
parentUpdate dnbd3-ng version (diff)
downloadsystemd-init-a01ecfdce908fe7f658cf18c2df20bd3cd688fc4.tar.gz
systemd-init-a01ecfdce908fe7f658cf18c2df20bd3cd688fc4.tar.xz
systemd-init-a01ecfdce908fe7f658cf18c2df20bd3cd688fc4.zip
Merge branch 'centos8' into downloader
Diffstat (limited to 'builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh')
-rwxr-xr-xbuilder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh b/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
index 6a6b64f2..aa782184 100755
--- a/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
+++ b/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
@@ -2,6 +2,10 @@
type emergency_shell > /dev/null 2>&1 || source /lib/dracut-lib.sh
source /etc/openslx
+export PATH="/usr/local/bin:$PATH"
+export LD_LIBRARY_PATH="/usr/local/lib"
+
+
# hardcode dnbd device path
declare -rg _dnbd3_dev="/dev/dnbd0"