Skip to contentSkip to conversation

kexecboot.inc: merge back in the main recipe

PATCH New Andrea Adami 1 participant 2 messages Oct 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 kexecboot.inc: merge back in the main recipe

and process with oe-stylize.py

---
 meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc | 58 --------------------
 .../recipes-bsp/kexecboot/kexecboot_git.bb         | 62 +++++++++++++++++++++-
 2 files changed, 60 insertions(+), 60 deletions(-)
 delete mode 100644 meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc
meta-initramfs/recipes-bsp/kexecboot/kexecboot.inc deleted +0 -58
deleted file mode 100644
index 065e3c1..0000000
@@ -1,58 +0,0 @@
-###########################
-# Configure options:
-#
-#  --enable-static-linking compile kexecboot as static executable [default=no]
-#  --enable-fbui           support framebuffer menu [default=yes]
-#  --enable-fbui-width     limit FB UI width to specified value [default=no]
-#  --enable-fbui-height    limit FB UI height to specified value [default=no]
-#  --enable-textui         support console text user interface [default=no]
-#  --enable-cfgfiles       support config files [default=yes]
-#  --enable-icons          support custom icons (depends on fbui) [default=yes]
-#  --enable-zaurus         compile Sharp Zaurus specific code [default=no]
-#  --enable-zimage         compile with zImage support [default=yes]
-#  --enable-uimage         compile with uImage support [default=no]
-#  --enable-machine-kernel look for machine-specific zImage kernel [default=no]
-#  --enable-devices-recreating
-#                          enable devices re-creating [default=yes]
-#  --enable-debug          enable debug output [default=no]
-#  --enable-host-debug     allow for non-destructive executing of kexecboot on
-#                            host system [default=no]
-#  --enable-numkeys        enable menu item selection by keys [0-9] [default=yes]
-#  --enable-bg-buffer      enable buffer for pre-drawed FB GUI background
-#
-#  --enable-timeout        allow to boot 1st kernel after timeout in seconds
-#                            [default=no]
-#  --enable-delay          specify delay before device scanning, allowing
-#                            initialization of old CF/SD cards [default=1]
-#  --enable-bpp            enable support of specified bpp modes
-#                            (all,32,24,18,16,4,2,1) [default=all]
-#  --enable-evdev-rate     change evdev (keyboard/mouse) repeat rate
-#                            in milliseconds e.g. "1000,250" [default=no]
-#  --with-kexec-binary     look for kexec binary at path
-#                            [default="/usr/sbin/kexec"]
-##########################
-SUMMARY = "kexecboot linux-as-bootloader"
-DESCRIPTION = "kexecboot is a graphical linux-as-bootloader implementation based on kexec."
-HOMEPAGE = "http://kexecboot.org"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
-inherit autotools
-
-EXTRA_OECONF = "--enable-delay=2 --enable-evdev-rate=1000,250"
-
-do_install () {
-    install -d ${D}${bindir}
-    install -m 0755 kexecboot ${D}${bindir}/
-    install -d ${D}/proc
-    install -d ${D}/mnt
-    install -d ${D}/dev
-    install -d ${D}/sys
-}
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-FILES_${PN} += " ${bindir}/kexecboot /init /proc /mnt /dev /sys"
-
-pkg_postinst_${PN} () {
-    ln -sf ${bindir}/kexecboot $D/init
-}
meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb +60 -2

69 lines not on this page · raw message

Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/2 kexecboot_cfg: process with oe-stylize.py

---
 .../recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb        | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)
meta-initramfs/recipes-bsp/kexecboot/kexecboot-cfg_0.1.bb +8 -11
index af3320f..ff91b20 100644
@@ -3,23 +3,13 @@ DESCRIPTION = "Default icon and boot.cfg for kexecboot linux-as-bootloader."
 SECTION = "base"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
-
 PR = "r14"
 
-INHIBIT_DEFAULT_DEPS = "1"
-
 SRC_URI = "file://icon.xpm"
 
-CMDLINE ?= ""
-CMDLINE_DEBUG ?= "quiet"
-
-# Note: for qvga the label is currently limited to about 24 chars
-KEXECBOOT_LABEL ?= "${@d.getVar('DISTRO', True) or d.getVar('DISTRO_VERSION', True)}-${MACHINE}"
-
 do_configure_prepend () {
     install -m 0644 ${WORKDIR}/icon.xpm ${S}
 }
-
 do_install_prepend () {
 echo '# /boot/boot.cfg - KEXECBOOT configuration file.
 #
@@ -53,7 +43,6 @@ APPEND=${CMDLINE} ${CMDLINE_DEBUG}
 # APPEND=${CMDLINE}
 #' > ${S}/boot.cfg
 }
-
 do_install () {
     install -d ${D}/boot
     install -m 0644 boot.cfg ${D}/boot/boot.cfg
@@ -63,3 +52,11 @@ do_install () {
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 FILES_${PN} += "/boot/*"
+
+CMDLINE ?= ""
+CMDLINE_DEBUG ?= "quiet"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+# Note: for qvga the label is currently limited to about 24 chars
+KEXECBOOT_LABEL ?= "${@d.getVar('DISTRO', True) or d.getVar('DISTRO_VERSION', True)}-${MACHINE}"
Signature · 1 line
1.8.1.5