About your Debian Stretch armv7hf image



I’m surprised to get a kernel in 4.4 instead of the long awaited 4.9 when using this image : FROM resin/%%RESIN_ARCH%%-debian:stretch

root@d367deb:/# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION="9 (stretch)"

root@d367deb:/# uname -a
Linux d367deb **4.4.50** #2 SMP Thu Aug 17 11:35:58 UTC 2017 armv7l GNU/Linux

Is Debian 9 kernel different for arm ?


Hi @Tristan107

The kernel version is dependent on the resinOS version, not on the base image. We have an issue for the update but it is low priority at the moment.

Is there anything in 4.9 that you need or have been waiting for in particular?



Oh ok, it makes sense, but will some Debian Stretch feature crash running on an out of date kernel ?

About the host, there is a major fix about how docker handle layers (not rly Docker, more storage drivers including aufs and overlay2). In kernel 4.9 (in kernel ~4.6+), permissions and ownership (chmod, chown) set in an upper layer will override permissions already set in a lower layer (which is totally logical).


I don’t think any features in Debian Stretch will crash - the kernel is shared between the host and the docker container, switching between Wheezy and Stretch will only change the userspace but not do anything to the kernel space.


Yes but I guess every Stretch packages assume they are working on 4.9+ kernel.

I hope you have read the second part of my answer too, which is a good example of how some kernel bugs can impact some high level feature.


We will be updating the kernel in one of the next releases. There is already work on adding support for yocto pyro which will come with 4.9+ on RaspberryPi boards.