diff options
author | Jonathan Bauer | 2020-03-24 17:40:02 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-03-24 17:40:02 +0100 |
commit | a01ecfdce908fe7f658cf18c2df20bd3cd688fc4 (patch) | |
tree | 9ead7ffb73b8412da6f94f350e45973657dc53a8 /builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh | |
parent | Should not download dracut, dowloader scripts is doing it now (diff) | |
parent | Update dnbd3-ng version (diff) | |
download | systemd-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-x | builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh | 4 |
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" |