I'm trying to build a rootfs for an embedded A10 board. This will be matched up against 3.0.62+ modules and a corresponding vmlinux image.
I've been trying for a few days to get a rootfs set up for a 3.x kernel using sid.
Attempting to install using debootstrap, ie:
sudo debootstrap --foreign --verbose --arch=armel --include=vim-nox,openssh-server,ntupdate,less --exclude=nano sid . http://ftp.au.debian.org/debian
is just giving me a build which expects the same kernel version as the host system.
So, for example, when I
sudo chroot into the new rootfs, I get:
root@njord:/lib/modules# depmod ERROR: could not open directory /lib/modules/2.6.32-5-amd64: No such file or directory
which is searching for modules corresponding to the host system, not the kernel image / modules installed.
I feel like I must be missing something very obvious here. Is there some flag I can set (either in the rootfs itself, or in the debootstrap phase) which sets the target kernel version to one that is different from the host?