[PC-BSD Commits] r20707 - pcbsd/current/build-files/src-patches

svn at pcbsd.org svn at pcbsd.org
Wed Dec 19 10:50:02 PST 2012


Author: kris
Date: 2012-12-19 18:50:02 +0000 (Wed, 19 Dec 2012)
New Revision: 20707

Modified:
   pcbsd/current/build-files/src-patches/patch-pc-sysinstall-pkgimprovements
Log:

Fix pc-sysinstall to ignore install scripts, and not hang on
user interaction prompts when installing pkgs



Modified: pcbsd/current/build-files/src-patches/patch-pc-sysinstall-pkgimprovements
===================================================================
--- pcbsd/current/build-files/src-patches/patch-pc-sysinstall-pkgimprovements	2012-12-19 18:20:40 UTC (rev 20706)
+++ pcbsd/current/build-files/src-patches/patch-pc-sysinstall-pkgimprovements	2012-12-19 18:50:02 UTC (rev 20707)
@@ -2,7 +2,7 @@
 ===================================================================
 --- usr.sbin/pc-sysinstall/backend/functions-installpackages.sh	(revision 244159)
 +++ usr.sbin/pc-sysinstall/backend/functions-installpackages.sh	(working copy)
-@@ -76,50 +76,109 @@
+@@ -76,50 +76,113 @@
  # Check for any packages specified, and begin loading them
  install_packages()
  {
@@ -56,9 +56,13 @@
 +     PKGEXT="$VAL"
 +  fi
 +  export PKGEXT
++  
++  # We dont want to be bothered with scripts asking questions
++  PACKAGE_BUILDING=yes
++  export PACKAGE_BUILDING
 +
 +  # Lets start by cleaning up the string and getting it ready to parse
-+  get_value_from_cfg installPackages
++  get_value_from_cfg_with_spaces installPackages
 +  PACKAGES="${VAL}"
 +  echo_log "Packages to install: `echo $PACKAGES | wc -w | awk '{print $1}'`"
 +  for i in $PACKAGES



More information about the Commits mailing list