Page MenuHomeFreeBSD

Preserve modificed conf file
ClosedPublic

Authored by garga on Jul 11 2017, 6:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 15, 6:59 AM
Unknown Object (File)
Apr 8 2025, 11:10 AM
Unknown Object (File)
Mar 27 2025, 5:30 PM
Unknown Object (File)
Mar 4 2025, 2:36 PM
Unknown Object (File)
Feb 27 2025, 5:26 AM
Unknown Object (File)
Feb 23 2025, 1:39 AM
Unknown Object (File)
Dec 28 2024, 9:50 AM
Unknown Object (File)
Dec 27 2024, 6:42 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.