iso file doesn't take kernel changes


#1

Hi,
I made some small changes to the linux-image package (just a printk addition).
Then I build the linux-image using 586-vyos-virt flavor - all OK.
I then prepared the iso file, but it doesn’t contain the changes I made to the linux-image.

Does anyone know what am I doing wrong?

I’m running the following commands to build the linux-image file:

debian/bin/build-flavor.sh 586-vyos-virt
cd …/…
make linux-image
I’m running the following commands to build the iso file:
autoreconf -i
./configure --with-kernel-flavor=586-vyos-virt
make iso

Thanks in advance,
Ohad


#2

Eventually I found the reason.
It was solved after I checked out BOTH the build-iso and the linux-image submodule separetly.

If you do it by running "git checkout " in the build-iso folder only, it will not work.