Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144415707
D21805.id70947.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
942 B
Referenced Files
None
Subscribers
None
D21805.id70947.diff
View Options
Index: usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- usr.sbin/freebsd-update/freebsd-update.sh
+++ usr.sbin/freebsd-update/freebsd-update.sh
@@ -2876,7 +2876,7 @@
rm newfiles killfiles
}
-# Install new files, delete old files, and update linker.hints
+# Install new files, delete old files, and update generated files
install_files () {
# If we haven't already dealt with the kernel, deal with it.
if ! [ -f $1/kerneldone ]; then
@@ -2944,6 +2944,11 @@
install_from_index INDEX-NEW || return 1
install_delete INDEX-OLD INDEX-NEW || return 1
+ # Rehash certs if we actually have certctl installed.
+ if which certctl>/dev/null; then
+ env DESTDIR=${BASEDIR} certctl rehash
+ fi
+
# Rebuild generated pwd files.
if [ ${BASEDIR}/etc/master.passwd -nt ${BASEDIR}/etc/spwd.db ] ||
[ ${BASEDIR}/etc/master.passwd -nt ${BASEDIR}/etc/pwd.db ] ||
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 8:08 AM (3 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28556168
Default Alt Text
D21805.id70947.diff (942 B)
Attached To
Mode
D21805: freebsd-update: rehash certs
Attached
Detach File
Event Timeline
Log In to Comment