| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch add the "whole rootfs in initrd in kernel image" feature to
the kernel. The whole root file system in form of an cpio image should
be linked into the kernel.
The procedure is split into two parts:
If the feature is active, during the kernel's compile stage an empty
file is linked into the kernel. Because:
a) the kernel should be compiled in the compile stage
b) the root file system isn't read yet, because it is usually not
compiled. Maybe we even want to put modules into the rootfs.
The second part happens during the "images" stage. First the cpio is
created, then it is linked into the kernel image. Last but not least the
kernel image is installed to "images/kernel" as usual.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|
|
This patch moves the installation of the kernel image from the
targetinstall stage into the images stage.
This is a preparation for the "whole rootfs in initrd in kernel image"
use case, where first the root file system is build and bundled into a
cpio and then linked into the kernel image.
We define some new symbols:
- IMAGE_KERNEL:
It's automatically activated if the kernel is build. When active the
kernel is install to "images/linuximage".
- IMAGE_KERNEL_INSTALL_EARLY:
default "y". When active the kernel is copied to "images/linuximage"
during targetinstall.
- IMAGE_KERNEL_INSTALL_LATE:
If selected the kernel is installed later, during the "images" stage.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
|