Re: Metapackage for latest backports kernel?
On Tue, 8 Jun 2021, Cyril Brulebois wrote:
> kibi@hamburg:~$ apt-cache show linux-image-amd64/buster-backports | sed 's/\(linux-\(image\|signed\)-amd64\).*/\1-backports-via-equivs/' > control && equivs-build control
Nice idea. It’ll explode once there are multiple packages
matching that query though. (Also, it depends awfully on
GNU regex vendor lock-in… though that’s not tragic given
this applies to Debian only anyway.)
equivs-build doesn’t seem to require the trailing empty
line, so perhaps…
apt-cache show linux-image-amd64/buster-backports | sed -e '/^$/,$d' -e …
… will avoid that particular possible trap.
bye,
//mirabilos
--
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
*************************************************
Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter
*************************************************
Reply to: