[oe-commits] Thomas Kunze : kexecboot-cfg: add initial verion
GIT User account
git at amethyst.openembedded.net
Sun Feb 8 21:02:04 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: bffe3f377e3213a3e60a031d44fabf6841dfd83e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=bffe3f377e3213a3e60a031d44fabf6841dfd83e
Author: Thomas Kunze <thommycheck at gmx.de>
Date: Thu Feb 5 21:38:13 2009 +0100
kexecboot-cfg: add initial verion
This version only packages the kernel commandline for now.
---
packages/kexecboot/kexecboot-cfg_0.1.bb | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/packages/kexecboot/kexecboot-cfg_0.1.bb b/packages/kexecboot/kexecboot-cfg_0.1.bb
new file mode 100644
index 0000000..fbb7493
--- /dev/null
+++ b/packages/kexecboot/kexecboot-cfg_0.1.bb
@@ -0,0 +1,26 @@
+LICENSE = "GPL"
+SECTION = "base"
+DESCRIPTION = "Configuration file for kexecboot"
+
+PR = "r1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+CMDLINE_CON = "console=ttyS0,115200n8 console=tty1 noinitrd"
+CMDLINE_CON_collie = "console=ttySA0,115200n8 console=tty1 noinitrd"
+CMDLINE_CON_qemuarm = "console=ttyAMA0,115200n8 console=tty1 noinitrd"
+
+CMDLINE_DEBUG = '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug",d)}'
+
+CMDLINE_MEM_collie = "mem=${mem}M"
+
+CMDLINE_ROTATE_spitz = "fbcon=rotate:1"
+CMDLINE_ROTATE_akita = "fbcon=rotate:1"
+CMDLINE_ROTATE_collie = "fbcon=rotate:1"
+CMDLINE_ROTATE_poodle = "fbcon=rotate:1"
+
+
+FILES = "/boot/kernel-cmdline"
+
+do_install () {
+ echo "${CMDLINE_CON} ${CMDLINE_MEM} ${CMDLINE_ROTATE} ${CMDLINE_OTHER} ${CMDLINE_DEBUG}"> "${D}/boot/kernel-cmdline"
+}
More information about the Openembedded-commits
mailing list