Page MenuHomeFreeBSD

D36459.id111354.diff
No OneTemporary

D36459.id111354.diff

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

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)

Event Timeline