[Lunar-commits] r25897 - in lunar/trunk: etc/lunar sbin usr/share/doc/lunar/core-documentation var/lib/lunar var/lib/lunar/functions

Auke Kok sofar at lunar-linux.org
Thu Sep 20 06:42:50 CEST 2007


Author: sofar
Date: 2007-09-20 06:42:50 +0200 (Thu, 20 Sep 2007)
New Revision: 25897

Modified:
   lunar/trunk/etc/lunar/config
   lunar/trunk/sbin/lunar
   lunar/trunk/usr/share/doc/lunar/core-documentation/_etc_lunar_local_config.html
   lunar/trunk/var/lib/lunar/functions/sources.lunar
   lunar/trunk/var/lib/lunar/unset.sh
Log:
Remove TMPFS option. The -pipe option obsoletes it. Don't use, it's not worth it.


Modified: lunar/trunk/etc/lunar/config
===================================================================
--- lunar/trunk/etc/lunar/config	2007-09-20 02:34:19 UTC (rev 25896)
+++ lunar/trunk/etc/lunar/config	2007-09-20 04:42:50 UTC (rev 25897)
@@ -61,7 +61,6 @@
               GARBAGE=${GARBAGE:-on}
          PROMPT_DELAY=${PROMPT_DELAY:-150}
         PROBE_EXPIRED=${PROBE_EXPIRED:-on}
-                TMPFS=${TMPFS:-off}
        LUNAR_PRIORITY="+10"
 
             LDD_CHECK=${LDD_CHECK:-on}

Modified: lunar/trunk/sbin/lunar
===================================================================
--- lunar/trunk/sbin/lunar	2007-09-20 02:34:19 UTC (rev 25896)
+++ lunar/trunk/sbin/lunar	2007-09-20 04:42:50 UTC (rev 25897)
@@ -495,7 +495,6 @@
 feature_menu()  {
   A_HELP="Create convenient auto-install scripts for common executables?"
   C_HELP="Colorized messages on lin and lrm?"
-  D_HELP="Use tmpfs for module installs?"
   E_HELP="Remove files when lrm?"
   F_HELP="Check for and repair broken programs after updating lunar?"
   G_HELP="Install the garbage documentation? (extras like README, LICENSE etc)"
@@ -529,10 +528,6 @@
          GARBAGE=${GARBAGE:-on}
 	 VERBOSE=${VERBOSE:off}
 
-        if [ -z $TMPFS ]; then
-          TMPFS=on;
-        fi
-
   if  TOGGLES=`$DIALOG  --title "Feature Menu"  \
                         --no-cancel             \
                         --item-help             \
@@ -554,7 +549,6 @@
       "VIEW_REPORTS"     "Toggle"  "$VIEW_REPORTS"  "$R_HELP"   \
       "VOYEUR"           "Toggle"  "$VOYEUR"        "$V_HELP"   \
       "REAP"             "Toggle"  "$REAP"          "$E_HELP"   \
-      "TMPFS"            "Toggle"  "$TMPFS"         "$D_HELP"   \
       "VERBOSE"          "Toggle"  "$VERBOSE"       "$W_HELP"   \
       "ZLOCAL_OVERRIDES" "Toggle"  "$ZLOCAL_OVERRIDES" "$Z_HELP" \
       "PROBE_EXPIRED"    "Toggle"  "$PROBE_EXPIRED" "$X_HELP"`
@@ -575,7 +569,6 @@
           VOYEUR=off
             REAP=off
          GARBAGE=off
-           TMPFS=off
 	 VERBOSE=off
 ZLOCAL_OVERRIDES=off
    PROBE_EXPIRED=off
@@ -596,7 +589,6 @@
               VOYEUR)        VOYEUR=on  ;;
                 REAP)          REAP=on  ;;
              GARBAGE)       GARBAGE=on  ;;
-               TMPFS)         TMPFS=on  ;;
 	     VERBOSE)       VERBOSE=on  ;;
     ZLOCAL_OVERRIDES) ZLOCAL_OVERRIDES=on ;;
        PROBE_EXPIRED)  PROBE_EXPIRED=on ;;
@@ -616,7 +608,6 @@
     set_local_config "VOYEUR" "$VOYEUR"
     set_local_config "REAP" "$REAP"
     set_local_config "GARBAGE" "$GARBAGE"
-    set_local_config "TMPFS" "$TMPFS"
     set_local_config "VERBOSE" "$VERBOSE"
     set_local_config "ZLOCAL_OVERRIDES" "$ZLOCAL_OVERRIDES"
     set_local_config "PROBE_EXPIRED" "$PROBE_EXPIRED"

Modified: lunar/trunk/usr/share/doc/lunar/core-documentation/_etc_lunar_local_config.html
===================================================================
--- lunar/trunk/usr/share/doc/lunar/core-documentation/_etc_lunar_local_config.html	2007-09-20 02:34:19 UTC (rev 25896)
+++ lunar/trunk/usr/share/doc/lunar/core-documentation/_etc_lunar_local_config.html	2007-09-20 04:42:50 UTC (rev 25897)
@@ -202,13 +202,6 @@
       </td>
     </tr>
     <tr>
-      <td style="vertical-align: top;">TMPFS=off<br>
-      </td>
-      <td style="vertical-align: top;">Turns on (or off) the use of
-tmpfs for compiling. Used by the rm_source_dir() and mk_source_dir()
-functions in /var/lib/lunar/subroutines.</td>
-    </tr>
-    <tr>
       <td style="vertical-align: top;">VERBOSE=on<br>
       </td>
       <td style="vertical-align: top;">Toggles verbose mode for

Modified: lunar/trunk/var/lib/lunar/functions/sources.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/sources.lunar	2007-09-20 02:34:19 UTC (rev 25896)
+++ lunar/trunk/var/lib/lunar/functions/sources.lunar	2007-09-20 04:42:50 UTC (rev 25897)
@@ -173,12 +173,7 @@
   DEAD_DIR=${DEAD_DIR:-$SOURCE_DIRECTORY}
 
   verbose_msg "destroying building dir \"$DEAD_DIR\""
-  if [ "$TMPFS" != "off" ] ; then
-    umount $DEAD_DIR 2> /dev/null
-    rmdir $DEAD_DIR 2> /dev/null
-  else
-    rm -rf $DEAD_DIR 2> /dev/null
-  fi
+  rm -rf $DEAD_DIR 2> /dev/null
 }
 
 
@@ -196,21 +191,11 @@
   NEW_DIR=${NEW_DIR:-$SOURCE_DIRECTORY}
 
   verbose_msg "creating building dir \"$NEW_DIR\""
-  if [ "$TMPFS" != "off" ] ; then 
-    if [ -d "$NEW_DIR" ] ; then
-      verbose_msg "Removing old source directory first!"
-      umount $NEW_DIR 2>/dev/null
-      rmdir $NEW_DIR 2>/dev/null
-    fi
-    mkdir -p $NEW_DIR &&
-    mount -o size=1g,nr_inodes=1m -t tmpfs tmpfs $NEW_DIR
-  else
-    if [ -d $NEW_DIR ] ; then
-      verbose_msg "Removing old source directory first!"
-      rm -rf $NEW_DIR 2>/dev/null
-    fi
-    mkdir -p $NEW_DIR
+  if [ -d $NEW_DIR ] ; then
+    verbose_msg "Removing old source directory first!"
+    rm -rf $NEW_DIR 2>/dev/null
   fi
+  mkdir -p $NEW_DIR
 }
 
 

Modified: lunar/trunk/var/lib/lunar/unset.sh
===================================================================
--- lunar/trunk/var/lib/lunar/unset.sh	2007-09-20 02:34:19 UTC (rev 25896)
+++ lunar/trunk/var/lib/lunar/unset.sh	2007-09-20 04:42:50 UTC (rev 25897)
@@ -87,7 +87,6 @@
 unset SUSTAINED
 unset SYM_CHECK
 unset SYMLINK_COLOR
-unset TMPFS
 unset TRACKED
 unset UNIQID
 unset USE_CACHE



More information about the Lunar-commits mailing list