Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164922056
D53034.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
746 B
Referenced Files
None
Subscribers
None
D53034.diff
View Options
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -213,6 +213,16 @@
install -y -r ${PKG_REPO_NAME} $pkg
done
metalog_add_data ./var/db/pkg/local.sqlite
+
+ # Add some database files which are created by pkg triggers;
+ # at some point in the future the tools which create these
+ # files should probably learn how to record them in METALOG
+ # (which would simplify no-root installworld as well).
+ metalog_add_data ./etc/login.conf.db
+ metalog_add_data ./etc/passwd
+ metalog_add_data ./etc/pwd.db
+ metalog_add_data ./etc/spwd.db 600
+ metalog_add_data ./var/db/services.db
else
if [ -n "${WITHOUT_QEMU}" ]; then
return 0
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 5, 8:56 PM (6 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36049857
Default Alt Text
D53034.diff (746 B)
Attached To
Mode
D53034: vmimage.subr: metalog_add generated databases
Attached
Detach File
Event Timeline
Log In to Comment