Code review comment for lp://qastaging/~asac/linaro-seeds/lp670711

Revision history for this message
Loïc Minier (lool) wrote :

I'm not sure whether Steve is referring to bootloaders/kernels being pulled in the rootfs or not.

See discussion in bug #669591 for the rationale being not using dependencies from the kernel package to bootloaders.

The choice of a kernel and a bootloader are independent and are also independent of the choice of the software you want to run with it; I don't want the kernel to depend on the bootloader, I don't want headless to depend on a board specific package.

Now if we assume all Linaro boards are going to use u-boot, it would seem that it kind of makes sense to pull in the stuff like flash-kernel and uboot-mkimage at the seed level, but thinking about it a bit, it is not too nice.

Some use cases for not installing these packages: I don't want for flash-kernel to run when I install a kernel update in a NFS root, I don't want flash-kernel to run when creating an image on an armel buildd. There are ways to prevent that from happening, but if we can avoid flash-kernel in the first place, we should.

I'm not sure if there is any disadvantage in putting that in the hwpacks instead?

« Back to merge proposal