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, Nov 19, 3:24 PM
Unknown Object (File)
Tue, Nov 19, 12:30 AM
Unknown Object (File)
Sun, Nov 17, 1:42 AM
Unknown Object (File)
Sat, Nov 16, 8:46 PM
Unknown Object (File)
Sat, Nov 16, 12:43 AM
Unknown Object (File)
Sat, Nov 16, 12:38 AM
Unknown Object (File)
Fri, Nov 15, 11:27 AM
Unknown Object (File)
Feb 17 2024, 7:00 AM
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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 10429
Build 10839: arc lint + arc unit

Event Timeline

sysutils/azure-agent/Makefile
39

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

sysutils/azure-agent/Makefile
39

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

sysutils/azure-agent/Makefile
39

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.