r3271 - jhalfs/trunk/HLFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Dec 9 11:32:35 PST 2006


Author: manuel
Date: 2006-12-09 12:32:34 -0700 (Sat, 09 Dec 2006)
New Revision: 3271

Modified:
   jhalfs/trunk/HLFS/master.sh
Log:
HLFS: Only kernfs need be in SUDO target.

Modified: jhalfs/trunk/HLFS/master.sh
===================================================================
--- jhalfs/trunk/HLFS/master.sh	2006-12-09 19:22:38 UTC (rev 3270)
+++ jhalfs/trunk/HLFS/master.sh	2006-12-09 19:32:34 UTC (rev 3271)
@@ -325,8 +325,8 @@
     # Append each name of the script files to a list (this will become
     # the names of the targets in the Makefile
     case "${this_script}" in
-      *kernfs* | *changingowner*) runasroot="$runasroot ${this_script}" ;;
-                               *) chapter6="$chapter6 ${this_script}" ;;
+      *kernfs* ) runasroot=" ${this_script}" ;;
+             * ) chapter6="$chapter6 ${this_script}" ;;
     esac
 
 
@@ -343,10 +343,10 @@
        PREV=$this_script
        continue
     fi
-    # kernfs and changingowner are run in SUDO target
+    # kernfs is run in SUDO target
     case "${this_script}" in
-      *kernfs* | *changingowner*)  LUSER_wrt_target  "${this_script}" "$PREV" ;;
-                               *)  CHROOT_wrt_target "${this_script}" "$PREV" ;;
+      *kernfs* )  LUSER_wrt_target  "${this_script}" "$PREV" ;;
+             * )  CHROOT_wrt_target "${this_script}" "$PREV" ;;
     esac
 
     # If $pkg_tarball isn't empty, we've got a package...
@@ -365,10 +365,10 @@
       [[ "$OPTIMIZE" != "0" ]] &&  wrt_optimize "$name" && wrt_makeflags "$name"
     fi
 
-    # In kernfs and changingowner we need to set HLFS and not to use chroot.
+    # In kernfs we need to set HLFS and not to use chroot.
     case "${this_script}" in
-      *kernfs* | *changingowner*) wrt_RunAsRoot "${file}" ;;
-                               *) CHROOT_wrt_RunAsRoot "${file}" ;;
+      *kernfs* ) wrt_RunAsRoot "${file}" ;;
+             * ) CHROOT_wrt_RunAsRoot "${file}" ;;
     esac
     #
     # Remove the build directory(ies) except if the package build fails.




More information about the alfs-log mailing list