Autor: aitor_czr Data: A: Daniel Reurich, svante.signell, dng Assumpte: Re: [DNG] overriding install paths in debian/rules
Hi again,
El 08/03/17 a las 14:53, aitor_czr escribió: >
> Hi Dan,
>
> El 08/03/17 a las 13:00, Daniel Reurich <daniel@???>
> escribió:
>> On 08/03/17 21:16, Daniel Reurich wrote:
>>> On 08/03/17 20:51, Svante Signell wrote:
>>>> On Wed, 2017-03-08 at 17:38 +1300, Daniel Reurich wrote:
>>>>> Hi,
>>>>>
>>>>> I need a bit of advice with regards to the specific usage of overrides
>>>>> in debian/rules.
>>>>>
>>>>> The situation I have is I want to rename an installed in the debian
>>>>> package so I can use dpkg alternatives. I know I can do this using a
>>>>> quilt patch on the original source, but would rather do this in
>>>>> debian/rules if that is possible.
>>>> Hi Daniel,
>>>>
>>>> Take a look at dh-exec.
>>>>
>>> so I use dh-exec to move the file after dh-install runs?
>>>
>>> I did look at that a little while back but didn't seem to really fit...
>>>
>> hmmm another look at dh-exec's manpage reveals that it is what I
>> probably need!!
>>
>> Thanks for the pointer svante!
>
> Using:
>
> override_dh_ [ configure / build / install / clean, etc... ]
>
> instead of:
>
> dh_configure, dh_build...
>
> Maybe?
>
> Cheers,
>
> Aitor.
Probably i misunderstood your question...
In reference to quilt, surelly you will not be able to rename a binary
file, since it's not possible to add a binary file to the sources via
quilt, because quilt is not compatible with binaries.
But that's good: imagine, for example, someone downloading the sources
of linux-libre from the fsfla's website. He will not be able to add a
binary file using quilt; so, pristine-tar will be enough to verify the
lack of binary blobs.