[PC-BSD Commits] r8144 - pcbsd/current/src-qt4/pc-sysinstaller

svn at pcbsd.org svn at pcbsd.org
Sat Dec 4 09:46:49 PST 2010


Author: kris
Date: 2010-12-04 09:46:49 -0800 (Sat, 04 Dec 2010)
New Revision: 8144

Modified:
   pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp
Log:

Make sure devfs is loaded inside chroot when doing pc-metapkgmanager stuff



Modified: pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp	2010-12-04 17:39:42 UTC (rev 8143)
+++ pcbsd/current/src-qt4/pc-sysinstaller/sysinstaller.cpp	2010-12-04 17:46:49 UTC (rev 8144)
@@ -759,9 +759,6 @@
   if ( ! radioUpgrade->isChecked() && ! radioRestore->isChecked() )
     cfgList+=getUsersCfgSettings(summaryList);
 
-  // If doing install from package disk
-  if ( (availPackageData && hasPkgsOnMedia ) || ( availPackageData && radioNetworkInstall->isChecked() ) )
-    cfgList+=getDeskPkgCfg(summaryList);
 
   // If this is a PC-BSD Install, do a few extra commands after everything else
   if ( radioInstallPCBSD->isChecked() ) {
@@ -771,6 +768,12 @@
       	cfgList << "runCommand=sh /usr/local/share/pcbsd/scripts/reset-firewall";
   }
 
+  // If doing install from package disk
+  if ( (availPackageData && hasPkgsOnMedia ) || ( availPackageData && radioNetworkInstall->isChecked() ) ) {
+    cfgList << "runExtCommand=mount -t devfs devfs ${FSMNT}/dev";
+    cfgList+=getDeskPkgCfg(summaryList);
+    cfgList << "runExtCommand=umount ${FSMNT}/dev";
+  }
 
   textEditSummary->clear();
 



More information about the Commits mailing list