Bug#1002831: ITP: lsb-release-minimal -- minimal shell implementation of lsb_release

Gioele Barabucci gioele at svario.it
Wed Dec 29 15:53:15 GMT 2021

Package: wnpp
Severity: wishlist
X-Debbugs-Cc: debian-init-diversity at chiark.greenend.org.uk

* Package name    : lsb-release-minimal
   Version         : 0.1
   Upstream Author : Gioele Barabucci
* URL             : https://gioele.io/lsb-release-minimal
* License         : ISC
   Programming Lang: POSIX shell
   Description     : Linux Standard Base version reporting utility 
(minimal implementation)

The Debian packaging is already available in the `debian` branch, see 

 From the README:

This repository contains a bare-bones version of the `lsb_release` 
command, implemented as a tiny POSIX shell script (less than 100 
commented lines).

Instead of using LSB packages, this version of `lsb_release` uses the 
information in `/etc/os-release`. Nevertheless, the output of this 
version is byte-for-byte compatible with the Python-based version 
provided by Debian and its derivatives.

Using this implementation it is possible to avoid installing Python in a 
base OS image while still retaining compatibility with older scripts 
that expect `lsb_release` to exist.

Gioele Barabucci <gioele at svario.it>

More information about the Debian-init-diversity mailing list