NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/57581: set lists should have a way to obsolete shlibs in DESTDIR but not in postinstall



The following reply was made to PR misc/57581; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: misc/57581: set lists should have a way to obsolete shlibs in
 DESTDIR but not in postinstall
Date: Mon, 14 Aug 2023 01:48:57 +0300

 > Currently, the mechanism we use in the set lists is to just delete
 > the entries for libfoo.so.N and libfoo.so.N.M, as documented at the
 > top of base/shl.mi:
 
 postinstall uses an awk script to obsolete old shlibs.  That script
 has a variable AllLibs that controls whether old majors are deleted.
 Currently that variable cannot be set via postinstall options.
 Perhaps postinstall should be taught a new flag and that flag is used
 when DESTDIR is cleaned as part of the build?
 
 -uwe
 


Home | Main Index | Thread Index | Old Index