04e8d1cc00
baseline-tools expects lsb_release (although tolerates it not being there) Order needs to be 01-override-yum-arch, 02-lsb, 03-baseline-tools hence the renames. Possibly lsb_release isn't cared enough about to do this. Change-Id: I03abffb1ab2f560e746ba4ffd407605de31f4930
16 lines
414 B
Bash
Executable file
16 lines
414 B
Bash
Executable file
#!/bin/bash
|
|
# Install baseline packages and tools.
|
|
|
|
set -e
|
|
|
|
# If lsb_release is missing, just do nothing.
|
|
DISTRO=`lsb_release -si` || true
|
|
|
|
case $DISTRO in
|
|
'Ubuntu'|'Debian')
|
|
# Note: add-apt-repository would be nice for RPM platforms too - so when we
|
|
# need something like it, create a wrapper in dpkg/bin and fedora/bin.
|
|
apt-get -y update
|
|
install-packages python-software-properties
|
|
;;
|
|
esac
|