#60653 closed enhancement (fixed)
Allow ports to customize the launchd plist files in the destroot phase
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.7.0 |
Component: | base | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: |
Description
Currently MacPorts creates any launchd plists for startupitem / startupitems keywords after the destroot phase is completely over, even after any post-destroot blocks have run. This provides no opportunity for portfiles to customize the launchd plist. Many ports have a desire to do so and have had to resort to inelegant hacks like modifying the installed plist in a post-activate block.
Can we instead create the plist before the destroot phase runs, or after the main destroot command runs but before the post-destroot blocks?
Change History (2)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future → MacPorts 2.7.0 |
---|
Note: See
TracTickets for help on using
tickets.
In 6f7ed40b1df74c6dd62588a0f8cec5a7e8a6959e/macports-base (master):