Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149329902
D50467.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D50467.diff
View Options
diff --git a/usr.sbin/bsdinstall/scripts/auto b/usr.sbin/bsdinstall/scripts/auto
--- a/usr.sbin/bsdinstall/scripts/auto
+++ b/usr.sbin/bsdinstall/scripts/auto
@@ -186,15 +186,24 @@
trap error SIGINT # Catch cntrl-C here
if [ -z "$BSDINSTALL_SKIP_HOSTNAME" ]; then bsdinstall hostname || error "Set hostname failed"; fi
+if [ -f /usr/freebsd-packages/repos/FreeBSD-base-offline.conf ]; then
+ HAVE_BASE_PACKAGES=yes
+ PKGBASE_DEFAULT_BUTTON=--default-no
+else
+ unset HAVE_BASE_PACKAGES
+ unset PKGBASE_DEFAULT_BUTTON
+fi
+
bsddialog --backtitle "$OSNAME Installer" --title "Select Installation Type" \
--yes-label "Traditional" --no-label "Packages (Experimental)" --yesno \
+ $PKGBASE_DEFAULT_BUTTON \
"Would you like to install the base system using traditional distribution sets or packages (experimental)?" 0 0
if [ $? -eq 1 ]; then
PKGBASE=yes
fi
if [ "$PKGBASE" == yes ]; then
- if [ -f /usr/freebsd-packages/repos/FreeBSD-base-offline.conf ]; then
+ if [ "$HAVE_BASE_PACKAGES" == yes ]; then
bsddialog --backtitle "$OSNAME Installer" --title "Network or Offline Installation" \
--yes-label "Network" --no-label "Offline (Limited Packages)" --yesno \
"Would you like to fetch packages from the internet or use the limited set of packages included in this installation media?" 0 0
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 24, 7:19 PM (2 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30266965
Default Alt Text
D50467.diff (1 KB)
Attached To
Mode
D50467: bsdinstall: Default to pkgbase if base packages are present
Attached
Detach File
Event Timeline
Log In to Comment