[PC-BSD Commits] r7713 - pcbsd/current/mfsroot-overlay/etc
svn at pcbsd.org
svn at pcbsd.org
Tue Oct 5 10:14:08 PDT 2010
Author: kris
Date: 2010-10-05 10:14:08 -0700 (Tue, 05 Oct 2010)
New Revision: 7713
Modified:
pcbsd/current/mfsroot-overlay/etc/SetupInstall.sh
pcbsd/current/mfsroot-overlay/etc/SetupLive.sh
Log:
Added tests to see which media we are booting from, and set some flags so the front-end
can determine what is available for the user
Modified: pcbsd/current/mfsroot-overlay/etc/SetupInstall.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/etc/SetupInstall.sh 2010-10-05 16:50:26 UTC (rev 7712)
+++ pcbsd/current/mfsroot-overlay/etc/SetupInstall.sh 2010-10-05 17:14:08 UTC (rev 7713)
@@ -19,6 +19,10 @@
PATH="${PATH}:/usr/bin"
export PATH
+# See if we have install / meta pkgs for the front-end to use
+if [ -e "/cdmnt/no-meta-pkgs" ] ; then touch /usr/no-meta-pkgs ; fi
+if [ -e "/cdmnt/no-install-pkgs" ] ; then touch /usr/no-install-pkgs ; fi
+
# Check if we have a pc-autoinstall.conf file
if [ -e "/cdmnt/boot/pc-autoinstall.conf" ]
then
Modified: pcbsd/current/mfsroot-overlay/etc/SetupLive.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/etc/SetupLive.sh 2010-10-05 16:50:26 UTC (rev 7712)
+++ pcbsd/current/mfsroot-overlay/etc/SetupLive.sh 2010-10-05 17:14:08 UTC (rev 7713)
@@ -40,6 +40,10 @@
ln -s /mntuzip/usr/$i /usr/$i
done
+# See if we have install / meta pkgs for the front-end to use
+if [ -e "/cdmnt/no-meta-pkgs" ] ; then touch /usr/no-meta-pkgs ; fi
+if [ -e "/cdmnt/no-install-pkgs" ] ; then touch /usr/no-install-pkgs ; fi
+
# Now make /PCBSD sym-links
rm /usr/PCBSD
mkdir /usr/PCBSD
More information about the Commits
mailing list