summaryrefslogtreecommitdiffstats
path: root/meta-skeleton
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-01-24 23:25:14 -0800
committerRobert Yang <liezhi.yang@windriver.com>2016-01-25 00:44:57 -0800
commit23b13a29380ef5ce43dac44f683d1d48e9734ed4 (patch)
treecdf83148111f13905d7020d6bc9b5fa66e12a1b0 /meta-skeleton
parentbf6372fc361e7588e95f682103332d7a7159c851 (diff)
downloadopenembedded-core-contrib-rbt/initramfs.tar.gz
openembedded-core-contrib-rbt/initramfs.tar.bz2
openembedded-core-contrib-rbt/initramfs.zip
image.bbclass: check INITRAMFS_MAXSIZErbt/initramfs
Usually, the initramfs' maxsize can be 1/2 of ram size since modern kernel uses tmpfs as initramfs by dafault, and tmpfs allocates 1/2 of ram by default at boot time, which will be used to locate the initramfs. Set INITRAMFS_MAXSIZE to 131072K (128M) by default (ram 256M), the initramfs is small usually, for example, core-image-minimal-initramfs is about 21M (uncompressed, 17M * 1.3) by default, but if the user add a lot pkgs to initramfs, we can error and stop to let the user know ealier rather than fail to boot (e.g., OOM-killer) at boot time. Please see the bug for more info: https://bugzilla.yoctoproject.org/show_bug.cgi?id=5963 [YOCTO #5963] Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions