tags 986507 upstream fixed-upstream thanks
Hi, thanks for the hint. I've applied a slitly modified patch upstream to replace binutils's strings by grep in needrestart 3.6+. Replacing the bintuils dependency by GNU grep lowers the total installation size by an order of magnitude. Regards, Thomas On Fri, 2021-10-08 at 15:56 +1100, Trent W. Buck wrote: > Trent W. Buck wrote: > > I want check-support-status to be happy, but I need needrestart: > > > > bash5$ check-support-status > > ⋮ > > * Source:binutils > > Details: Only suitable for trusted content; see > > https://lists.debian.org/msgid-search/87lfqsomtg....@mid.deneb.enyo.de > > ⋮ > > > > bash5$ aptitude why binutils > > i needrestart Depends binutils > > This annoyed me again today. > I noticed an even simple patch is to use "grep -ao". > This is working for me. > > You are already using "grep -a" elsewhere in the script, so > this is only assuming grep supports -o. > GNU grep supports both; busybox grep supports neither.