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 #29 from hypriot/add-rpi-3
Browse files Browse the repository at this point in the history
upgrade kernel and firmware for RPi3
  • Loading branch information
Govinda-Fichtner committed Apr 6, 2016
2 parents 0a0e87d + 4ed7e79 commit 8fb671d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ HYPRIOT_IMAGE_NAME="sd-card-rpi-${HYPRIOT_IMAGE_VERSION}.img"
export HYPRIOT_IMAGE_VERSION

# specific versions of kernel/firmware and docker tools
export KERNEL_BUILD="20151102-222318"
export KERNEL_VERSION="4.1.12"
export KERNEL_BUILD="20160404-055934"
export KERNEL_VERSION="4.1.20"
export DOCKER_ENGINE_VERSION="1.10.1-1"
export DOCKER_COMPOSE_VERSION="1.6.0-27"
export DOCKER_MACHINE_VERSION="0.4.1-72"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
end

describe command('docker run --rm -t hypriot/rpi-swarm --version') do
its(:stdout) { should match /swarm version 1.1.0 \(HEAD\)/ }
its(:stdout) { should match /swarm version 1.1.3 \(HEAD\)/ }
its(:exit_status) { should eq 0 }
end

describe command('docker images hypriot/rpi-swarm') do
its(:stdout) { should match /hypriot\/rpi-swarm .*latest .*5eab982fa301 / }
its(:stdout) { should match /hypriot\/rpi-swarm .*latest .*298de062190 / }
its(:exit_status) { should eq 0 }
end
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'spec_helper'

describe command('uname -r') do
its(:stdout) { should match /4.1.12(-v7)?+/ }
its(:stdout) { should match /4.1.20(-v7)?+/ }
its(:exit_status) { should eq 0 }
end

Expand Down Expand Up @@ -46,20 +46,20 @@
end

# with installed kernel headers
describe file('/lib/modules/4.1.12-hypriotos+/build') do
describe file('/lib/modules/4.1.20-hypriotos+/build') do
it { should be_symlink }
# it { should be_linked_to '/usr/src/linux-headers-4.1.12-hypriotos+' }
# it { should be_linked_to '/usr/src/linux-headers-4.1.20-hypriotos+' }
end

describe file('/lib/modules/4.1.12-hypriotos-v7+/build') do
describe file('/lib/modules/4.1.20-hypriotos-v7+/build') do
it { should be_symlink }
# it { should be_linked_to '/usr/src/linux-headers-4.1.12-hypriotos-v7+' }
# it { should be_linked_to '/usr/src/linux-headers-4.1.20-hypriotos-v7+' }
end

describe file('/usr/src/linux-headers-4.1.12-hypriotos-v7+') do
describe file('/usr/src/linux-headers-4.1.20-hypriotos-v7+') do
it { should be_directory }
end

describe file('/usr/src/linux-headers-4.1.12-hypriotos+') do
describe file('/usr/src/linux-headers-4.1.20-hypriotos+') do
it { should be_directory }
end

0 comments on commit 8fb671d

Please sign in to comment.