Install lsb_release from package
The URL we were using to download lsb_release from no longer works, install from package so this is not affected by disappearing URL's in future. This was originally installed from a URL because the package dependencies caused a 87M increase in the size of the base image. For fedora the increase is now 27M which is a little more tolerable. Change-Id: I6e56a4a81786b33c5c6b92df2bd8236cd3f19670
This commit is contained in:
parent
cafad0a148
commit
c26a9ee4b1
@ -1,10 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -eu
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
if [ -z "${NO_SOURCE_REPOSITORIES:-}" ]; then
|
|
||||||
install -m 0755 -o root -g root /opt/stack/lsb-release/lsb_release /usr/local/bin
|
|
||||||
else
|
|
||||||
install-packages redhat-lsb-core
|
|
||||||
fi
|
|
@ -2,4 +2,5 @@ gettext
|
|||||||
-grub2
|
-grub2
|
||||||
grub2-tools
|
grub2-tools
|
||||||
os-prober
|
os-prober
|
||||||
|
redhat-lsb-core
|
||||||
system-logos
|
system-logos
|
||||||
|
@ -1 +0,0 @@
|
|||||||
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
|
|
Loading…
Reference in New Issue
Block a user