[PC-BSD Commits] r16226 - pcbsd/current/mfsroot-overlay/root

svn at pcbsd.org svn at pcbsd.org
Tue Apr 3 09:35:06 PDT 2012


Author: kris
Date: 2012-04-03 16:35:06 +0000 (Tue, 03 Apr 2012)
New Revision: 16226

Modified:
   pcbsd/current/mfsroot-overlay/root/insMetaPkgs.sh
Log:

Mount the correct package set when installing from media



Modified: pcbsd/current/mfsroot-overlay/root/insMetaPkgs.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/root/insMetaPkgs.sh	2012-04-03 15:50:49 UTC (rev 16225)
+++ pcbsd/current/mfsroot-overlay/root/insMetaPkgs.sh	2012-04-03 16:35:06 UTC (rev 16226)
@@ -4,11 +4,14 @@
 
 PKGS="$1"
 LOC="$2"
+PKGSET="$3"
 
+if [ -z "$PKGSET" ] ; then PKGSET="pcbsd" ; fi
+
 # If installing pkgs from CD
 if [ "$LOC" = "CD" ] ; then
 	mkdir -p ${FSMNT}/.cdmnt
-	mount_nullfs ${CDMNT}/packages ${FSMNT}/.cdmnt
+	mount_nullfs ${CDMNT}/metapackages/${PKGSET}/packages ${FSMNT}/.cdmnt
 	LOC="/.cdmnt"
 else
 	# Need resolv.conf in the chroot environment



More information about the Commits mailing list