[Lunar-commits] r15154 - moonbase/trunk/filesys/e2fsprogs
Auke Kok
sofar at lunar-linux.org
Sun May 29 13:54:55 UTC 2005
Author: sofar
Date: 2005-05-29 13:54:54 +0000 (Sun, 29 May 2005)
New Revision: 15154
Modified:
moonbase/trunk/filesys/e2fsprogs/BUILD
Log:
Changing the hideously old and breaking BUILD file: a broken compile was not detected, and the old mount.sh stuff really can be cleaned up by a SA manually now. Force links as well.
Modified: moonbase/trunk/filesys/e2fsprogs/BUILD
===================================================================
--- moonbase/trunk/filesys/e2fsprogs/BUILD 2005-05-29 13:42:21 UTC (rev 15153)
+++ moonbase/trunk/filesys/e2fsprogs/BUILD 2005-05-29 13:54:54 UTC (rev 15154)
@@ -1,5 +1,5 @@
(
- set -x &&
+
./configure --build=$BUILD \
--prefix=/usr \
--with-root-prefix= \
@@ -7,40 +7,16 @@
--mandir=/usr/share/man \
--enable-elf-shlibs \
$OPTS &&
- set +x &&
- make &&
- prepare_install &&
- make install &&
- make install-libs &&
+ default_make &&
+ make install-libs ||
+ exit 1
-if [ -L "/etc/mtab" ]; then
- cp /etc/mtab /etc/mtab.nolinkplease
- rm -f /etc/mtab
- mv /etc/mtab.nolinkplease /etc/mtab
-fi &&
+ if [ ! -x /etc/init.d/mount ] ; then
+ cp $SCRIPT_DIRECTORY/init.d/mount /etc/init.d
+ fi &&
-[ -x /etc/init.d/mount ] || cp $SCRIPT_DIRECTORY/init.d/mount /etc/init.d &&
+ ln -sf /etc/init.d/mount /etc/rcS.d/S10mount &&
+ ln -sf /etc/init.d/mount /etc/rc6.d/K99mount &&
+ ln -sf /etc/init.d/mount /etc/rc0.d/K99mount
-if [ -e "/etc/init.d/mount.sh" ]; then
- rm -f /etc/init.d/mount.sh
-fi &&
-
-for DIR in /etc/rc*.d; do
- # Sanity checks first...
- if [ -d "$DIR" ]; then
- rm -f $DIR/???mount
- rm -f $DIR/???mount.sh
- fi
-done &&
-
-ln -sf /etc/init.d/mount /etc/rcS.d/S10mount &&
-
-if ! [ -e "/etc/rc6.d/K99mount" ]; then
- ln -s /etc/init.d/mount /etc/rc6.d/K99mount
-fi &&
-
-if ! [ -e "/etc/rc0.d/K99mount" ]; then
- ln -s /etc/init.d/mount /etc/rc0.d/K99mount
-fi
-
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list