Page MenuHomeFreeBSD

devel/libvirt: improve configuration file handling
ClosedPublic

Authored by novel on Oct 19 2015, 3:38 PM.
Tags
None
Referenced Files
F82277001: D3938.diff
Sat, Apr 27, 5:50 AM
Unknown Object (File)
Wed, Apr 24, 6:19 PM
Unknown Object (File)
Wed, Apr 24, 5:55 PM
Unknown Object (File)
Mar 25 2024, 2:47 PM
Unknown Object (File)
Jan 12 2024, 6:33 PM
Unknown Object (File)
Jan 12 2024, 6:33 PM
Unknown Object (File)
Dec 20 2023, 1:08 AM
Unknown Object (File)
Nov 9 2023, 9:44 PM
Subscribers

Details

Summary

Use @sample to avoid overwriting default network configuration
on re-installs.
In order to prevent overriding user's configuration across reinstalls, do the
following:

  • Networks configuration goes into %%EXAMPLESDIR%%
  • pkg-message moved to files/pkg-message.in to allow substitution and updated with instructions how to enable default network
  • While here, convert virtlockd.conf to use @sample

PR: 203865

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

novel retitled this revision from to devel/libvirt: do not cobbler default network configuration on re-installs.
novel updated this object.
novel edited the test plan for this revision. (Show Details)
novel set the repository for this revision to rP FreeBSD ports repository.
mat added inline comments.
Makefile
144

So, you're removing the symlink in the ports Makefile to do it again here, I fail to see the point.

Makefile
144

When port's Makefile creates the symlink, the 'default.xml' doesn't exist yet (because @sample will create it only in post-install). I'm wondering if it could have any implications?

Makefile
144

Mmm, ok, sounds somewhat sensible, strange way of doing configuration things

novel retitled this revision from devel/libvirt: do not cobbler default network configuration on re-installs to devel/libvirt: improve configuration file handling.Oct 26 2015, 4:59 PM
novel updated this object.
This revision was automatically updated to reflect the committed changes.