On Fedora, use Linux Foundation bzr lsb_release

Installing redhat-lsb-core adds 87M to the install due
to bugzilla #1002342

lsb_release is a platform agnostic script, so this change fetches
a single file via source-repositories from linuxfoundation bzr http
and installs it to /usr/local/bin

Change-Id: I4c979d4eb5e34a753d9143d9dcfe4e5d08f74a0d
This commit is contained in:
Steve Baker 2013-08-29 13:49:48 +12:00
parent 9e5bc37265
commit c182fef45c
3 changed files with 5 additions and 1 deletions

View File

@ -4,3 +4,4 @@ cache-url
dkms dkms
yum yum
rpm-distro rpm-distro
source-repositories

View File

@ -1,3 +1,5 @@
#!/bin/bash #!/bin/bash
exec install-packages redhat-lsb-core set -eu
install -m 0755 -o root -g root /opt/stack/lsb-release/lsb_release /usr/local/bin

View File

@ -0,0 +1 @@
lsb-release file /opt/stack/lsb-release/lsb_release https://bzr.linuxfoundation.org/loggerhead/lsb/devel/si/download/head:/lsb_release-20060624065236-gakl5b7e37gwk5mg-12/lsb_release