startupitem issue with unmounted volume (non-default prefix)
Ryan Schmidt
ryandesign at macports.org
Tue Jul 21 16:27:01 PDT 2015
> On Jul 21, 2015, at 5:07 PM, Daniel J. Luke wrote:
>
>> On Jul 20, 2015, at 5:25 PM, Brandon Allbery wrote:
>>
>>
>> On Mon, Jul 20, 2015 at 5:19 PM, Daniel J. Luke <dluke at geeklair.net> wrote:
>> Maybe we should add something like:
>>
>> <key>KeepAlive</key>
>> <dict>
>> <key>PathState</key>
>> <dict>
>> <key>$prefix</key>
>> <true/>
>> </dict>
>> </dict>
>>
>> to our auto-generated plists? (I /think/ that will make launchd wait until $prefix is available, but haven’t tested it yet).
>>
>> The problem is that MacPorts installs the plists themselves as symlinks under $prefix. They can't be resolved if $prefix hasn't been mounted yet.
>
> ok, so we should probably be copying the plist (instead of symlinking it - which is a lesson we should have already learned from back in the ‘images’ days) - and we likely also want something like the above.
I don't remember: any reason why we need a copy/symlink there? Why can't we just put the plist there (and only there)?
More information about the macports-dev
mailing list