summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2013-11-28 20:05:22 +0100
committerJonathan Bauer2013-11-28 20:05:22 +0100
commitae9d63c5466c7b2789c7b08123924e214f73e51f (patch)
tree1050ff9195cda91c877451ce100dc45ca6dc4702 /remote
parent[rootfs-stage31] unlink mount from busybox to avoid potential conflicts. (diff)
downloadtm-scripts-ae9d63c5466c7b2789c7b08123924e214f73e51f.tar.gz
tm-scripts-ae9d63c5466c7b2789c7b08123924e214f73e51f.tar.xz
tm-scripts-ae9d63c5466c7b2789c7b08123924e214f73e51f.zip
[rootfs-stage32] fix more symlinkage
Diffstat (limited to 'remote')
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
index cdb73342..a751b8f4 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
@@ -61,7 +61,10 @@ build() {
post_copy() {
# symlink for more
- [ ! -e "$TARGET_BUILD_DIR/bin/more" ] && ln -s /usr/bin/more "$TARGET_BUILD_DIR/bin/more"
+ if [ ! -e "$TARGET_BUILD_DIR/bin/more" ]; then
+ [ -e "$TARGET_BUILD_DIR/bin/less" ] && ln -s /bin/less "$TARGET_BUILD_DIR/bin/more"
+ [ -e "$TARGET_BUILD_DIR/usr/bin/less" ] && ln -s /usr/bin/less "$TARGET_BUILD_DIR/bin/more"
+ fi
# same hack for mount
[ ! -e "$TARGET_BUILD_DIR/bin/mount" ] && ln -s /usr/bin/mount "$TARGET_BUILD_DIR/bin/mount"