diff options
| author | Frank Meerkoetter <meerkoetter@googlemail.com> | 2016-11-28 20:37:45 +0100 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-12-06 19:55:18 +0100 |
| commit | 17f0c233054791ff21dcaf747f842d901282ae05 (patch) | |
| tree | beec8eb58bbb6a1f63d0083dcbeff1ff8c446f18 | |
| parent | 064aa0a3884d4ef2cd7e9fdfebec19167b52b2e7 (diff) | |
| download | meta-raspberrypi-17f0c233054791ff21dcaf747f842d901282ae05.tar.gz | |
linux-rpi.inc: Do not rely on DISTRO_TYPE to enable/disable kernel debug
DISTRO_TYPE doesn't seem to be set anywhere in OE/poky. This causes
CMDLINE_DEBUG to default to "debug" which is very noisy. This is
especially true when building a systemd based system, as systemd
also looks at the kernel commandline to set the debug level.
Such a system is nearly unuseable from the serial console due
to the amount of data logged by systemd.
Signed-off-by: Frank Meerkoetter <meerkoetter@googlemail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
| -rw-r--r-- | recipes-kernel/linux/linux-rpi.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc index 95a9530..53383b0 100644 --- a/recipes-kernel/linux/linux-rpi.inc +++ b/recipes-kernel/linux/linux-rpi.inc | |||
| @@ -13,9 +13,9 @@ ARM_KEEP_OABI ?= "1" | |||
| 13 | # Quirk for udev greater or equal 141 | 13 | # Quirk for udev greater or equal 141 |
| 14 | UDEV_GE_141 ?= "1" | 14 | UDEV_GE_141 ?= "1" |
| 15 | 15 | ||
| 16 | # Set the verbosity of kernel messages during runtime | 16 | # You can define CMDLINE_DEBUG as "debug" in your local.conf or distro.conf |
| 17 | # You can define CMDLINE_DEBUG in your local.conf or distro.conf to override this behaviour | 17 | # to enable kernel debugging. |
| 18 | CMDLINE_DEBUG ?= '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug", d)}' | 18 | CMDLINE_DEBUG ?= "" |
| 19 | CMDLINE_append = " ${CMDLINE_DEBUG}" | 19 | CMDLINE_append = " ${CMDLINE_DEBUG}" |
| 20 | 20 | ||
| 21 | KERNEL_INITRAMFS ?= '${@base_conditional("INITRAMFS_IMAGE_BUNDLE", "1", "1", "", d)}' | 21 | KERNEL_INITRAMFS ?= '${@base_conditional("INITRAMFS_IMAGE_BUNDLE", "1", "1", "", d)}' |
