generic-poky/meta/conf
Robert Yang 8a2dfa1691 image.bbclass: check INITRAMFS_MAXSIZE
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]

(From OE-Core rev: 155ba626b46bf71acde6c24402fce1682da53b90)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-26 22:31:59 +00:00
..
distro linux-libc-headers: update to 4.4 2016-01-24 09:40:20 +00:00
machine tune-*: use mcpu instead of mtune for ARM tunes 2016-01-07 13:40:19 +00:00
machine-sdk eglibc/machine-sdk: Drop SDK_GLIBC_ADDONS 2013-05-09 22:28:04 +01:00
swabber Stop using hardcoded paths, use new Ubuntu and generic filters. 2010-12-17 10:47:02 +00:00
abi_version.conf xserver-xorg: Upgrade 1.16.3 -> 1.17.1 (OELAYOUT_ABI change) 2015-06-03 16:38:48 +01:00
bitbake.conf image.bbclass: check INITRAMFS_MAXSIZE 2016-01-26 22:31:59 +00:00
conf-notes.txt conf-notes: remove meta-toolchain-sdk references 2013-12-20 12:26:28 +00:00
documentation.conf qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00
layer.conf meta/conf/layer.conf: bump layer version due to Qt4 removal 2016-01-07 13:40:15 +00:00
licenses.conf Add license file XFree86-1.0 2015-06-11 23:59:18 +01:00
migrate_localcount.conf prserv: add LOCALCOUNT to AUTOINCs migration feature 2013-01-22 16:01:32 +00:00
multilib.conf multilib.conf: Ensure MACHINE doesn't change target sigs 2015-10-01 07:43:35 +01:00
prexport.conf meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
primport.conf meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
sanity.conf sanity.conf: Bump minimum bitbake version to 1.27.1 for sstate change 2015-06-10 12:00:13 +01:00
toasterconf.json meta/conf/toasterconf.json: remove SDKMACHINE variable as it no longer used 2015-12-15 10:16:32 +00:00