summaryrefslogtreecommitdiffstats
path: root/builder
diff options
context:
space:
mode:
authorThiago Abdo2019-10-15 15:28:28 +0200
committerThiago Abdo2019-10-15 15:28:28 +0200
commit254ca4a14bf5c9054fdaaa871b89bd87735bbb15 (patch)
tree8c1abbde3cac6abc703e4e625fde2bf90dff9862 /builder
parentuse full dinamicly linked losetup (diff)
downloadsystemd-init-254ca4a14bf5c9054fdaaa871b89bd87735bbb15.tar.gz
systemd-init-254ca4a14bf5c9054fdaaa871b89bd87735bbb15.tar.xz
systemd-init-254ca4a14bf5c9054fdaaa871b89bd87735bbb15.zip
add path to prepare-root
Signed-off-by: Thiago Abdo <tjabdo@inf.ufpr.br>
Diffstat (limited to 'builder')
-rwxr-xr-xbuilder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh6
1 files changed, 6 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 619226f5..8b5343cc 100755
--- a/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
+++ b/builder/modules.d/dnbd3-rootfs/hooks/prepare-root-partition.sh
@@ -3,6 +3,12 @@
type emergency_shell > /dev/null 2>&1 || source /lib/dracut-lib.sh
source /etc/openslx
source '/usr/lib/rebash/core.sh'
+
+export PATH="/usr/local/bin:$PATH"
+
+# quick fix, this must not be here!
+export LD_LIBRARY_PATH="/usr/local/lib"
+
core.import exceptions
core.import logging
# endregion