[Bug 646795] Re: lsb_release requires 9MB of Python, replace with C/Shell script

2012-03-07 Thread Didier Raboud
Wookey: what about using dpkg-vendor instead of lsb-release ? dpkg- vendor is in dpkg-dev and will read data from /etc/dpkg/origins/default and will tell you on which Debian-derivative you are building. Agreed, dpkg-dev is Debian-derivatives-specific, but still... -- You received this bug

[Bug 646795] Re: lsb_release requires 9MB of Python, replace with C/Shell script

2010-09-24 Thread Wookey
I came up on it in the context of making build chroots. They don't need python installed even on Ubuntu, and nothing causes it to be there until you install lsb-release. And as it has to be unpacked for every build it's good to keep the size/bloat down. I assume that python is still listed in