summaryrefslogtreecommitdiff
path: root/packages/kexecboot/linux-kexecboot.inc
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2009-01-27 00:47:12 +0100
committerAndrea Adami <andrea.adami@gmail.com>2009-01-27 22:42:43 +0100
commit024558cdc2bda76216aad0bbbaa7c6ad09b97056 (patch)
tree7e6da806314096197ec9f6520b915c2c27cf3647 /packages/kexecboot/linux-kexecboot.inc
parenta8056a506be839170dca74e420f43743fd8b9572 (diff)
linux-kexecboot: bootlogo patches
- logo will appear for just 1 second... - for 2.6.23, 2.6.24, 2.6.26 - custom logo for Angstrom distro
Diffstat (limited to 'packages/kexecboot/linux-kexecboot.inc')
-rw-r--r--packages/kexecboot/linux-kexecboot.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/kexecboot/linux-kexecboot.inc b/packages/kexecboot/linux-kexecboot.inc
index 924a83a459..1985ae4a8c 100644
--- a/packages/kexecboot/linux-kexecboot.inc
+++ b/packages/kexecboot/linux-kexecboot.inc
@@ -1,7 +1,10 @@
-require packages/linux/linux.inc
-
SRC_URI = "file://defconfig"
+LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga", d)}'
+SRC_URI += "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2"
+
+require packages/linux/linux.inc
+
DONT_CHECK_KERNELSIZE = ""
INITRAMFS_IMAGE = "initramfs-kexecboot-image"
@@ -38,6 +41,10 @@ sed -i -e /CONFIG_BLK_DEV_INITRD/d \
-e /CONFIG_DEBUG_KERNEL/d \
${S}/.config
+# Remove last tag appended by linux.inc (output messes screen)
+sed -i -e /CONFIG_CMDLINE/s/quiet/loglevel=3/1 ${S}/.config
+sed -i -e /CONFIG_CMDLINE/s/debug/loglevel=3/1 ${S}/.config
+
echo 'CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"
CONFIG_MODULES=n' >> ${S}/.config