Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144455469
D50347.id155434.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
D50347.id155434.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
@@ -161,10 +161,22 @@
fi
if [ "$PKGBASE" == yes ]; then
- bsddialog --backtitle "$OSNAME Installer" --title "Network Installation" \
- --msgbox "Installation of base system packages currently requires internet access. The next few screens will allow you to configure networking." 0 0
- bsdinstall netconfig || error
- NETCONFIG_DONE=yes
+ if [ -f /usr/freebsd-packages/repos/FreeBSD-base-offline.conf ]; 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
+ if [ $? -eq 1 ]; then
+ export BSDINSTALL_PKG_REPOS_DIR=/usr/freebsd-packages/repos/
+ else
+ bsdinstall netconfig || error
+ NETCONFIG_DONE=yes
+ fi
+ else
+ bsddialog --backtitle "$OSNAME Installer" --title "Network Installation" \
+ --msgbox "No base system packages are included in this installation media. The next few screens will allow you to configure networking." 0 0
+ bsdinstall netconfig || error
+ NETCONFIG_DONE=yes
+ fi
else
export DISTRIBUTIONS="${DISTRIBUTIONS:-base.txz kernel.txz}"
if [ -f $BSDINSTALL_DISTDIR/MANIFEST ]; then
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 1:07 PM (18 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28581746
Default Alt Text
D50347.id155434.diff (1 KB)
Attached To
Mode
D50347: bsdinstall: support offline pkgbase installation
Attached
Detach File
Event Timeline
Log In to Comment