projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow DHCP client to create resolv.conf if local DNS server is disabled
[hvlinux.git]
/
stage1
/
create-symlinks
diff --git
a/stage1/create-symlinks
b/stage1/create-symlinks
index
6116775
..
19fc73a
100755
(executable)
--- a/
stage1/create-symlinks
+++ b/
stage1/create-symlinks
@@
-18,12
+18,14
@@
for link in ${source}/{bash,cat,echo,grep,pwd,sleep,stty}; do
fi
done
fi
done
+# 'env' symlink is for glib
source=/tools/bin
target=${LFS}/usr/bin
source=/tools/bin
target=${LFS}/usr/bin
-link=${source}/file
-if [ ! -L ${target}/$(basename ${link}) ]; then
- ln -sv ${link} ${target}
-fi
+for link in ${source}/{env,file}; do
+ if [ ! -L ${target}/$(basename ${link}) ]; then
+ ln -sv ${link} ${target}
+ fi
+done
source=/tools/lib
target=${LFS}/usr/lib
source=/tools/lib
target=${LFS}/usr/lib