Re: next generation apt/dpkg-cross
Neil Williams <firstname.lastname@example.org> writes:
> On Thu, 21 Jan 2010 19:32:20 +0100
> Goswin von Brederlow <email@example.com> wrote:
>> No, it just adds /etc/apt/apt.conf.d/00apt-hookma to insert itself
>> into libapt. The user then uses the normal apt-get, aptitude or
>> synaptic and -cross support is totaly transparent.
> *begins to wonder* - would that process be able to do what apt-grip now
> does? (downloads the .deb, passes it through emgrip and installs the
> resulting .deb which has changes to the files inside but no change to
> the package name.)
> I really need to see this hook code - could you send it to me please?
If you don't need to change anything in the Packages file then you
only need to set Dir::Bin::dpkg to a wrapper that passes debs through
emgrip prior to invoking the real dpkg.