[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 notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/646795

Title:
  lsb_release requires >9MB of Python, replace with C/Shell script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/646795/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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 dependencies in Ubuntu so it
will be brought in for packages that need it?

You are right that this is much worse problem on Debian. But for tools
that need to work on Debian and Ubuntu (I came across this working on
xapt) they need a way to decide which repository layout details to use.
lsb-release seems a nice clean way but it's not acceptable on the Debian
side if it brings in python. This is actually quite a general problem
which affects various tools. A clean and low-overhead method of choosing
behaviour would be good.

Another approach is to move anything that changes out into config files
so each distro is statically configured, but it seemed nice to make the
tools just DTRT so even if run in the wrong place they would work.

-- 
lsb_release requires >9MB of Python, replace with C/Shell script
https://bugs.launchpad.net/bugs/646795
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs