[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Draft spec for new dpkg "triggers" feature



Ian Jackson wrote:
> 1. There will obviously be a limit to how many trigger names can be
> passed in this way.  If a package comes too close to this limit we may
> have to consider offering a different way to pass this information, or
> perhaps just truncating it.  As a workaround, some distinct triggers
> could be merged.
> 
> 2. That's irrelevant.  dpkg does not need to run on every
> POSIX-confirming system.  It only has to run on reasonable free
> systems.  If the command-line length limit is too severe then that is
> a bug in the underlying system.
> 
> Other possibilities for passing this information seem to include:
>  * writing it to a temporary file (what a palaver both for dpkg
>    and for the maintainer script)
>  * environment variables (messy and still subject to possibly small
>    implementation limits)
>  * not at all

Couldn't dpkg just run the trigger muliple times (like xargs) if it came
to that?

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: