Page MenuHomeFreeBSD

D21805.id70947.diff
No OneTemporary

D21805.id70947.diff

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

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)

Event Timeline