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 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 (0x7f737ba28000) ... 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 ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
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 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 (0x7f737ba28000) ... 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 you can give a try to dh_exec. The *.install files must be executables. Aitor. Enviado con Aqua Mail para Android https://www.mobisystems.com/aqua-mail ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] How to make non /usr merged dpgs (was: Re: merged /usr breakage)
On Wednesday 05 January 2022 at 11:24:08, k...@aspodata.se wrote: > > $ ldd /sbin/init | grep /usr > > > > libpcre2-8.so.0 => /usr/lib/x86_64-linux-gnu/libpcre2-8.so.0 > > (0x7f737ba28000) > > 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 Make sure you cd to the version you just downloaded :) > is it sufficient to change this file ? > $ cat libpcre2-8-0.install > debian/tmp/usr/lib/*/libpcre2-8.so.* > $ No, I would expect it to be one of the ./configure options during the build process. > and if I manage to create the package, what name should I give it, > something like libpcre2-8-0_nonusrmerge or what ? Sure; call it what you like. From De{bi,vu}an's point of view what's important is the "provides" section of the Debian build description. Antony. -- Douglas was one of those writers who honourably failed to get anywhere with 'weekending'. It put a premium on people who could write things that lasted thirty seconds, and Douglas was incapable of writing a single sentence that lasted less than thirty seconds. - Geoffrey Perkins, about Douglas Adams Please reply to the list; please *don't* CC me. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] How to make non /usr merged dpgs (was: Re: merged /usr breakage)
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 > (0x7f737ba28000) ... 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 ? Regards, /Karl Hammar ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng