This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITA] _autorebase


On 12/13/2014 10:56 AM, Achim Gratz wrote:
Requirements before deployment:

- all autodep stuff referring to _autorebase must be removed
- setup.exe version 2.858 or later must be used


Notes:

There will be no ITP for _incautorebase since Corinna wanted a
replacement for _autorebase instead.

Dependencies on _autorebase should not be used, but are harmless.  This
is a Base package and it will always be run in postinstall.

This release comes with an additional script rebase-trigger that can be
used to have the postinstall script run a full rebase or peflags the
next time setup.exe is run (with or without an update or additional
installations or removals).  Once this is in place the description of
how to do a manual full rebase should refer to this method instead since
I expect it to be much easier to follow.

Packages that need to tap into the autorebase infrastructure for dynamic
objects should drop a file /etc/rebase/dynpath.d/<package> that has the
path to be searched for dynamic objects as its content.  Currently these
files are delivered with _autorebase, but when packages get updated they
should take over that responsibility.  Please announce such changes so
that the corresponding file can be removed from the _autorebase package
before the new package version gets deployed.

A few questions:

1. Shouldn't you have removed the following line from rebase_do?

    peflags ${verbose} -d0 -t0 -T "${g}"

2. Did you intend to have a "verbose" option, or is ${verbose} just there for debugging?

3. Shouldn't 0p_autorebase.dash be given a name something like 0p_000autorebase.dash to make it reasonably sure that it will be run before all other 0p_* scripts?

Ken


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]