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 #74 from hypriot/update-kernel-4.4.10
Browse files Browse the repository at this point in the history
Update kernel to 4.4.10
  • Loading branch information
DieterReuter committed May 14, 2016
2 parents e5c4563 + 2fa0928 commit fd82468
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 12 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="20160404-055934"
export KERNEL_VERSION="4.1.20"
export KERNEL_BUILD="20160514-190208"
export KERNEL_VERSION="4.4.10"
export DOCKER_ENGINE_VERSION="1.11.1-1"
export DOCKER_COMPOSE_VERSION="1.7.1-38"
export DOCKER_MACHINE_VERSION="0.4.1-72"
Expand Down
1 change: 1 addition & 0 deletions builder/chroot-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ apt-get install -y \

# install kernel- and firmware-packages
apt-get install -y \
"raspberrypi-kernel=${KERNEL_BUILD}" \
"raspberrypi-bootloader=${KERNEL_BUILD}" \
"libraspberrypi0=${KERNEL_BUILD}" \
"libraspberrypi-dev=${KERNEL_BUILD}" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
end

describe command('vcdbg log msg') do
its(:stderr) { should match /Loading 'bcm.*\.dtb' from SD card/ }
its(:stderr) { should match /Loading 'bcm.*\.dtb' to/ }
its(:exit_status) { should eq 0 }
end
22 changes: 15 additions & 7 deletions builder/test-integration/spec/hypriotos-image/base/kernel_spec.rb
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.20(-v7)?+/ }
its(:stdout) { should match /4.4.10(-v7)?+/ }
its(:exit_status) { should eq 0 }
end

Expand Down Expand Up @@ -45,21 +45,29 @@
it { should_not be_directory }
end

describe file('/lib/modules/4.1.20+') do
it { should_not be_directory }
end

describe file('/lib/modules/4.1.20-v7+') do
it { should_not be_directory }
end

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

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

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

describe file('/usr/src/linux-headers-4.1.20-hypriotos+') do
describe file('/usr/src/linux-headers-4.4.10-hypriotos+') do
it { should be_directory }
end
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
its(:stdout) { should match /CONFIG_CGROUP_SCHED=y/ }
its(:stdout) { should match /CONFIG_CPUSETS=y/ }
its(:stdout) { should match /CONFIG_MEMCG=y/ }
its(:stdout) { should match /CONFIG_KEYS=y/ }
its(:stdout) { should match /CONFIG_MACVLAN=m/ }
its(:stdout) { should match /CONFIG_VETH=m/ }
its(:stdout) { should match /CONFIG_BRIDGE=m/ }
Expand All @@ -41,12 +42,14 @@
its(:stdout) { should match /CONFIG_POSIX_MQUEUE=y/ }
## Optional Features:
its(:stdout) { should match /CONFIG_USER_NS=y/ }
its(:stdout) { should match /CONFIG_SECCOMP=y/ }
its(:stdout) { should match /CONFIG_CGROUP_PIDS=y/ }
its(:stdout) { should match /CONFIG_MEMCG_KMEM=y/ }
its(:stdout) { should match /CONFIG_MEMCG_SWAP=y/ }
its(:stdout) { should match /CONFIG_MEMCG_SWAP_ENABLED=y/ }
its(:stdout) { should match /CONFIG_BLK_CGROUP=y/ }
its(:stdout) { should match /CONFIG_IOSCHED_CFQ=y/ }
its(:stdout) { should match /CONFIG_BLK_DEV_THROTTLING=y/ }
its(:stdout) { should match /CONFIG_IOSCHED_CFQ=y/ }
its(:stdout) { should match /CONFIG_CGROUP_PERF=y/ }
#its(:stdout) { should match /CONFIG_CGROUP_HUGETLB=y/ }
its(:stdout) { should match /CONFIG_NET_CLS_CGROUP=m/ }
Expand All @@ -55,12 +58,14 @@
its(:stdout) { should match /CONFIG_FAIR_GROUP_SCHED=y/ }
its(:stdout) { should match /CONFIG_RT_GROUP_SCHED=y/ }
its(:stdout) { should match /CONFIG_EXT3_FS=y/ }
its(:stdout) { should match /CONFIG_EXT3_FS_XATTR=y/ }
#its(:stdout) { should match /CONFIG_EXT3_FS_XATTR=y/ }
its(:stdout) { should match /CONFIG_EXT3_FS_POSIX_ACL=y/ }
its(:stdout) { should match /CONFIG_EXT3_FS_SECURITY=y/ }
its(:stdout) { should match /CONFIG_EXT4_FS=y/ }
its(:stdout) { should match /CONFIG_EXT4_FS_POSIX_ACL=y/ }
its(:stdout) { should match /CONFIG_EXT4_FS_SECURITY=y/ }
## Network Drivers:
its(:stdout) { should match /CONFIG_VXLAN=m/ }
## Storage Drivers:
#its(:stdout) { should match /CONFIG_AUFS_FS=m/ }
its(:stdout) { should match /CONFIG_BTRFS_FS=m/ }
Expand Down

0 comments on commit fd82468

Please sign in to comment.