r2548 - jhalfs/branches/experimental/common

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Thu Apr 13 11:30:41 PDT 2006


Author: manuel
Date: 2006-04-13 12:30:41 -0600 (Thu, 13 Apr 2006)
New Revision: 2548

Modified:
   jhalfs/branches/experimental/common/func_validate_configs.sh
Log:
Dirty BOOK validation hack. Nedd to be fixed

Modified: jhalfs/branches/experimental/common/func_validate_configs.sh
===================================================================
--- jhalfs/branches/experimental/common/func_validate_configs.sh	2006-04-13 18:24:34 UTC (rev 2547)
+++ jhalfs/branches/experimental/common/func_validate_configs.sh	2006-04-13 18:30:41 UTC (rev 2548)
@@ -205,6 +205,14 @@
       TARGET)     validate_target ;;
       GRSECURITY_HOST)  validate_against_str "x0x x1x" ;;
 
+      # BOOK validation. Very ugly, need be fixed
+      BOOK)        if [[ "${WC}" = "1" ]] ; then
+                     validate_dir -z -d
+                   else
+                     validate_against_str "x${PROGNAME}-developmentx xlfs-udev_updatex"
+                   fi
+                   ;;
+
       # Validate directories, testable states:
       #  fatal   -z -d -w,
       #  warning -z+   -w+
@@ -215,7 +223,6 @@
       #  warning -z+
       FSTAB)       validate_file -z+ -e -s ;;
       CONFIG)      validate_file -z+ -e -s ;;
-      BOOK)        [[ "${WC}" = 1 ]] && validate_file -z -e -s  ;;
       BOOT_CONFIG) [[ "${METHOD}" = "boot" ]] && validate_file -z -e -s ;;
 
       # Treatment of 'special' parameters




More information about the alfs-log mailing list