Page MenuHomeFreeBSD

Preserve modificed conf file
ClosedPublic

Authored by garga on Jul 11 2017, 6:03 PM.
Tags
None
Referenced Files
F163123040: D11559.id30778.diff
Mon, Jul 20, 6:57 AM
Unknown Object (File)
Tue, Jul 7, 11:17 PM
Unknown Object (File)
Sun, Jul 5, 11:50 AM
Unknown Object (File)
Mon, Jun 29, 10:06 AM
Unknown Object (File)
Sat, Jun 27, 8:35 AM
Unknown Object (File)
Tue, Jun 23, 3:03 PM
Unknown Object (File)
Sun, Jun 21, 6:27 PM
Unknown Object (File)
Sat, Jun 20, 4:09 PM
Subscribers

Details

Summary

Make necessary changes to install waagent.conf using @sample mechanism and
preserve modified config file when package is deinstalled / upgraded

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sysutils/azure-agent/Makefile
39 ↗(On Diff #30649)

It would probably be simpler to let this install the file and ${MV} it in post-install.

sysutils/azure-agent/Makefile
39 ↗(On Diff #30649)

That was my first attempt, but waagent.conf ends up in final PLIST due to autoplist which breaks it

sysutils/azure-agent/Makefile
39 ↗(On Diff #30649)

Mmmm, yes, because python generates the plist, right.

The patch passed all tests on Azure.

This revision is now accepted and ready to land.Jul 14 2017, 2:22 AM
This revision was automatically updated to reflect the committed changes.