Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #118 from hypriot/add-package-lsb-release
Browse files Browse the repository at this point in the history
Add package lsb-release to fully support Docker install.sh
  • Loading branch information
DieterReuter committed Aug 13, 2016
2 parents 4cde079 + 53bee9e commit 533eaa4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions builder/chroot-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,10 @@ apt-get install -y \
bluetooth \
pi-bluetooth

# ensure compatibility with Docker install.sh, so `raspbian` will be detected correctly
apt-get install -y \
lsb-release

# install hypriot packages for docker-tools
apt-get install -y \
"docker-hypriot=${DOCKER_ENGINE_VERSION}" \
Expand Down
4 changes: 2 additions & 2 deletions builder/get-cluster-lab-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ source versions.config || source ../versions.config
# pull save and zip consul
docker pull hypriot/rpi-consul:"${CONSUL_VERSION}"
docker save --output=builder/files/var/local/rpi-consul_"${CONSUL_VERSION}".tar hypriot/rpi-consul:"${CONSUL_VERSION}"
gzip builder/files/var/local/rpi-consul_"${CONSUL_VERSION}".tar
gzip -f builder/files/var/local/rpi-consul_"${CONSUL_VERSION}".tar

# pull save and zip swarm
docker pull hypriot/rpi-swarm:"${SWARM_VERSION}"
docker save --output=builder/files/var/local/rpi-swarm_"${SWARM_VERSION}".tar hypriot/rpi-swarm:"${SWARM_VERSION}"
gzip builder/files/var/local/rpi-swarm_"${SWARM_VERSION}".tar
gzip -f builder/files/var/local/rpi-swarm_"${SWARM_VERSION}".tar
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
it { should be_installed }
end

describe package('lsb-release') do
it { should be_installed }
end

describe package('wpasupplicant') do
it { should be_installed }
end
Expand Down

0 comments on commit 533eaa4

Please sign in to comment.