summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Stone <ahs3@redhat.com>2012-12-29 14:27:18 -0700
committerAl Stone <ahs3@redhat.com>2012-12-29 14:27:18 -0700
commite52f9e3941c5319d6c1effc96137c2ac22b965bc (patch)
treea54c58c89660a408a4f9cd0f448c4e49b1cf9b20
parentf5c85090fb7e69a7c8f148f48aad5f7af9b90c61 (diff)
downloadbootstrap.git.DONOTUSE-e52f9e3941c5319d6c1effc96137c2ac22b965bc.tar.gz
bootstrap.git.DONOTUSE-e52f9e3941c5319d6c1effc96137c2ac22b965bc.tar.xz
bootstrap.git.DONOTUSE-e52f9e3941c5319d6c1effc96137c2ac22b965bc.zip
make sure /etc/ld.so.conf is correct in the rootfs for stage2
Signed-off-by: Al Stone <ahs3@redhat.com>
-rwxr-xr-xstage16
1 files changed, 6 insertions, 0 deletions
diff --git a/stage1 b/stage1
index beebbde..6d4717c 100755
--- a/stage1
+++ b/stage1
@@ -1145,6 +1145,12 @@ EOF
chmod a+x $ROOTFS/init-rootfs.sh
( cd $ROOTFS; sudo ./init-rootfs.sh )
+ # make sure ld.so.conf is set up properly
+ (
+ echo /lib$SUFFIX
+ echo /usr/lib$SUFFIX
+ ) > $ROOTFS/etc/ld.so.conf
+
echo stage2 ready
;;