Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142862669
D21805.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
949 B
Referenced Files
None
Subscribers
None
D21805.id.diff
View Options
Index: head/usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- head/usr.sbin/freebsd-update/freebsd-update.sh
+++ head/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
@@ -2943,6 +2943,11 @@
grep -vE '^[^|]*/lib/[^|]*\.so\.[0-9]+\|' > INDEX-NEW
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 ] ||
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 25, 6:40 AM (4 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27929852
Default Alt Text
D21805.id.diff (949 B)
Attached To
Mode
D21805: freebsd-update: rehash certs
Attached
Detach File
Event Timeline
Log In to Comment