summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-23 02:51:47 +0000
committerJeremy Katz <katzj@redhat.com>2002-10-23 02:51:47 +0000
commitaf446cc76efe837e4a3883b49c8fd6e9ec71b28b (patch)
treecca6e8b788637c46edc9c0904e5263904c346bee
parent30b3b9f49f8d1ae9f3e09bbed6bf1097c888125c (diff)
downloadanaconda-af446cc76efe837e4a3883b49c8fd6e9ec71b28b.tar.gz
anaconda-af446cc76efe837e4a3883b49c8fd6e9ec71b28b.tar.xz
anaconda-af446cc76efe837e4a3883b49c8fd6e9ec71b28b.zip
even if you're not using runroot, you need LD_LIBRARY_PATH set
-rwxr-xr-xscripts/upd-instroot6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index 9b2ccb6b7..34027db30 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -761,7 +761,7 @@ if [ -n "$NEEDGR" ]; then
REALPATH=`(cd $DESTGR; /bin/pwd | sed 's,/md1/,/,g')`
runroot $COMPONENT --onlyone --arch $ARCH "LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH /usr/sbin/chroot $REALPATH /usr/bin/pango-querymodules 2> $REALPATH/etc/pango/pango.modules"
else
- /usr/sbin/chroot $DESTGR /usr/bin/pango-querymodules > $DESTGR/etc/pango/pango.modules
+ LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH /usr/sbin/chroot $DESTGR /usr/bin/pango-querymodules > $DESTGR/etc/pango/pango.modules
fi
rm -f $DESTGR/usr/bin/pango-querymodules
fi
@@ -772,7 +772,7 @@ if [ -n "$NEEDGR" ]; then
REALPATH=`(cd $DESTGR; /bin/pwd | sed 's,/md1/,/,g')`
runroot $COMPONENT --onlyone --arch $ARCH "LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH /usr/sbin/chroot $REALPATH /usr/bin/gtk-query-immodules-2.0 2> $REALPATH/etc/gtk-2.0/gtk.immodules"
else
- /usr/sbin/chroot $DESTGR /usr/bin/gtk-query-immodules-2.0 > $DESTGR/etc/gtk-2.0/gtk.immodules
+ LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH /usr/sbin/chroot $DESTGR /usr/bin/gtk-query-immodules-2.0 > $DESTGR/etc/gtk-2.0/gtk.immodules
fi
rm -f $DESTGR/usr/bin/gtk-query-immodules-2.0
fi
@@ -877,7 +877,7 @@ if [ -n "$NEEDGR" ]; then
REALPATH=`(cd $DESTGR; /bin/pwd | sed 's,/md1/,/,g')`
runroot $COMPONENT --onlyone --arch $ARCH "LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH /usr/sbin/chroot $REALPATH /usr/bin/fc-cache -v"
else
- /usr/sbin/chroot $DESTGR /usr/bin/fc-cache -v
+ LD_LIBRARY_PATH=/usr/X11R6/lib:$LD_LIBRARY_PATH /usr/sbin/chroot $DESTGR /usr/bin/fc-cache -v
fi
rm -f $DESTGR/usr/bin/fc-cache
fi