Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153000853
D36459.id111354.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
D36459.id111354.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
@@ -146,6 +146,8 @@
rm -rf $BSDINSTALL_TMPETC
mkdir $BSDINSTALL_TMPETC
+[ -f /usr/libexec/bsdinstall/local.pre-everything ] && f_dprintf "Running local.pre-everything" && sh /usr/libexec/bsdinstall/local.pre-everything "$BSDINSTALL_CHROOT"
+
trap true SIGINT # This section is optional
[ -z "$BSDINSTALL_SKIP_KEYMAP" ] && bsdinstall keymap
@@ -187,6 +189,8 @@
rm -f $PATH_FSTAB
touch $PATH_FSTAB
+[ -f /usr/libexec/bsdinstall/local.pre-partition ] && f_dprintf "Running local.pre-partition" && sh /usr/libexec/bsdinstall/local.pre-partition "$BSDINSTALL_CHROOT"
+
#
# Try to detect known broken platforms and apply their workarounds
#
@@ -334,6 +338,8 @@
;;
esac
+[ -f /usr/libexec/bsdinstall/local.pre-fetch ] && f_dprintf "Running local.pre-fetch" && sh /usr/libexec/bsdinstall/local.pre-fetch "$BSDINSTALL_CHROOT"
+
if [ -n "$FETCH_DISTRIBUTIONS" ]; then
exec 3>&1
export BSDINSTALL_DISTDIR=$(`dirname $0`/fetchmissingdists 2>&1 1>&3)
@@ -348,6 +354,8 @@
# Set up boot loader
bsdinstall bootconfig || error "Failed to configure bootloader"
+[ -f /usr/libexec/bsdinstall/local.pre-configure ] && f_dprintf "Running local.pre-configure" && sh /usr/libexec/bsdinstall/local.pre-configure "$BSDINSTALL_CHROOT"
+
bsdinstall rootpass || error "Could not set root password"
trap true SIGINT # This section is optional
@@ -425,6 +433,8 @@
rm -rf "$BSDINSTALL_FETCHDEST"
fi
+[ -f /usr/libexec/bsdinstall/local.post-configure ] && f_dprintf "Running local.post-configure" && sh /usr/libexec/bsdinstall/local.post-configure "$BSDINSTALL_CHROOT"
+
if [ -z "$BSDINSTALL_SKIP_MANUAL" ]; then
dialog --backtitle "$OSNAME Installer" --title "Manual Configuration" \
--default-button no --yesno \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 1:48 PM (3 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31774362
Default Alt Text
D36459.id111354.diff (1 KB)
Attached To
Mode
D36459: bsdinstall: add hooks to allow for easier customizing the install
Attached
Detach File
Event Timeline
Log In to Comment