[Lunar-commits] <moonbase> coreutils, util-linux: fix a symlink creation for arch (put it in util-linux) where it belongs.

Florin Braescu florin at lunar-linux.org
Tue Nov 18 13:39:17 CET 2008


commit e4aadb3b555501799bf49b47049c486eea25fa61
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Tue Nov 18 14:39:17 2008 +0200

    coreutils, util-linux: fix a symlink creation for arch (put it in util-linux) where it belongs.
---
 utils/coreutils/BUILD  |    7 +++----
 utils/util-linux/BUILD |   11 ++++++++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/utils/coreutils/BUILD b/utils/coreutils/BUILD
index 9760e09..458ef36 100644
--- a/utils/coreutils/BUILD
+++ b/utils/coreutils/BUILD
@@ -43,10 +43,9 @@
     /bin/mv -f /usr/bin/chroot /usr/sbin
   ) &&
 
-  # Some apps use fixed paths to /usr/bin so we add symlinks to make
+  # Some apps use fixed paths to /usr/bin so we add a symlink to make
   # them happy. For example see config.log of any compiled app to see that
-  # autoconf looks for these coreutils apps only inside /usr/bin
-  ln -sf /bin/uname /usr/bin/uname &&
-  ln -sf /bin/arch  /usr/bin/arch
+  # autoconf looks for this coreutils app only inside /usr/bin
+  ln -sf /bin/uname /usr/bin/uname
 
 ) > $C_FIFO 2>&1
diff --git a/utils/util-linux/BUILD b/utils/util-linux/BUILD
index 897af60..cc3f998 100644
--- a/utils/util-linux/BUILD
+++ b/utils/util-linux/BUILD
@@ -5,8 +5,13 @@
          --disable-last --disable-mesg --enable-partx --enable-raw \
          --enable-rdev --enable-rename --disable-reset --disable-login-utils \
          --enable-shedutils --disable-wall --enable-write"
-  default_build &&
-  install -g0 -o0 -m755 $SCRIPT_DIRECTORY/make-issue \
-    /sbin/make-issue
+
+  default_build  &&
+
+  # Some apps use fixed paths to /usr/bin so we add a symlink to make
+  # them happy. For example autoconf looks for this app only inside /usr/bin
+  ln -sf /bin/arch  /usr/bin/arch  &&
+
+  install -g0 -o0 -m755 $SCRIPT_DIRECTORY/make-issue /sbin/make-issue
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list