:: Re: [DNG] How to make non /usr merg…
Forside
Slet denne besked
Besvar denne besked
Skribent: aitor
Dato:  
Til: dng
Emne: Re: [DNG] How to make non /usr merged dpgs (was: Re: merged /usr breakage)

Hi Karl,

En 5 de enero de 2022 11:24:13 <karl@???> escribió:

> Karl:
>> The first one gives me an unbootable system
>> $ ldd /sbin/init | grep /usr
>> libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0
>> (0x00007f737ba28000)
> ...
>
> So, how do I change the above package to install the lib in
> /lib//x86_64-linux-gnu instead ?
>
> I can get the source with:
> $ apt-get source libpcre2-8-0
> $ cd pcre2-10.36/debian
>
> is it sufficient to change this file ?
> $ cat libpcre2-8-0.install
> debian/tmp/usr/lib/*/libpcre2-8.so.*
> $
>
> and if I manage to create the package, what name should I give it,
> something like libpcre2-8-0_nonusrmerge or what ?


I can't answer in detail from my mobile, but one way to go is majing use of
dh_exec. Look at this, as sample:

https://gitea.devuan.dev/aitor_czr/libnetaid/src/branch/gbp-master/debian

Keep in mind that the *.install files must be exeutable.

Aitor.





Enviado con Aqua Mail para Android
https://www.mobisystems.com/aqua-mail