Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161548308
D42020.id128002.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
676 B
Referenced Files
None
Subscribers
None
D42020.id128002.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
@@ -3198,6 +3198,11 @@
# Install old files, delete new files, and update linker.hints
rollback_files () {
+ # Create directories first. They may be needed by files we will
+ # install in subsequent steps (PR273950).
+ awk -F \| '{if ($2 == "d") print }' $1/INDEX-OLD > INDEX-OLD
+ install_from_index INDEX-OLD || return 1
+
# Install old shared library files which don't have the same path as
# a new shared library file.
grep -vE '^/boot/' $1/INDEX-NEW |
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 5, 6:29 PM (12 m, 1 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34719878
Default Alt Text
D42020.id128002.diff (676 B)
Attached To
Mode
D42020: freebsd-update: for rollback, first create directories
Attached
Detach File
Event Timeline
Log In to Comment