* [PATCH 1/1] fbprogress: BUG only tool to show boot progress on built-in monochrome LCD
@ 2009-06-02 13:43 Marcin Juszkiewicz
2009-06-02 13:49 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Juszkiewicz @ 2009-06-02 13:43 UTC (permalink / raw)
To: openembedded-devel; +Cc: Marcin Juszkiewicz
From: Marcin Juszkiewicz <marcin@buglabs.net>
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
---
recipes/fbprogress/fbprogress/fbprogress-init | 34 +++++++++++++++++++++++++
recipes/fbprogress/fbprogress_1.1.bb | 32 +++++++++++++++++++++++
2 files changed, 66 insertions(+), 0 deletions(-)
create mode 100755 recipes/fbprogress/fbprogress/fbprogress-init
create mode 100644 recipes/fbprogress/fbprogress_1.1.bb
diff --git a/recipes/fbprogress/fbprogress/fbprogress-init b/recipes/fbprogress/fbprogress/fbprogress-init
new file mode 100755
index 0000000..c1dd378
--- /dev/null
+++ b/recipes/fbprogress/fbprogress/fbprogress-init
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+. /etc/init.d/functions
+
+case "$1" in
+ start)
+ # We don't want this script to block the rest of the boot process
+ if [ "$2" != "background" ]; then
+ $0 $1 background &
+ else
+ . /etc/profile
+
+ echo "Starting FBProgress"
+ fbprogress.sh &
+ fi
+ ;;
+
+ stop)
+ echo "Stopping FBProgress"
+ killproc fbprogress.sh
+ ;;
+
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+
+ *)
+ echo "usage: $0 { start | stop | restart }"
+ ;;
+esac
+
+exit 0
diff --git a/recipes/fbprogress/fbprogress_1.1.bb b/recipes/fbprogress/fbprogress_1.1.bb
new file mode 100644
index 0000000..8d603b8
--- /dev/null
+++ b/recipes/fbprogress/fbprogress_1.1.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "Bug framebuffer progress indicator"
+AUTHOR = "Angel Roman"
+HOMEPAGE = "http://www.buglabs.net/"
+LICENSE = "GPL"
+DEPENDS = "freetype zlib virtual/kernel"
+SRCREV = "9118"
+PR = "r1"
+
+SRC_URI = "svn://svn.buglabs.net/bug/trunk;module=com.buglabs.bug.native.fbprogress;proto=svn \
+ file://fbprogress-init"
+
+S = "${WORKDIR}/com.buglabs.bug.native.fbprogress"
+
+inherit update-rc.d
+
+EXTRA_OEMAKE = "BUG_LINUX_SRC=${STAGING_KERNEL_DIR}"
+
+do_install() {
+ install -d ${D}/${sysconfdir}/fbprogress
+ install -m 0644 ${S}/images/* ${D}/${sysconfdir}/fbprogress/
+ install -d ${D}${layout_bindir}
+ install -m 0755 fbprogress ${D}${layout_bindir}
+ install -m 0755 fbprogress.sh ${D}${layout_bindir}
+ install -d ${D}/${sysconfdir}/init.d
+ install -m 0755 ${WORKDIR}/fbprogress-init ${D}/${sysconfdir}/init.d/fbprogress
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "bug"
+
+INITSCRIPT_NAME = "fbprogress"
+INITSCRIPT_PARAMS = "start 01 S . stop 15 0 1 2 3 4 5 6 ."
--
1.6.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] fbprogress: BUG only tool to show boot progress on built-in monochrome LCD
2009-06-02 13:43 [PATCH 1/1] fbprogress: BUG only tool to show boot progress on built-in monochrome LCD Marcin Juszkiewicz
@ 2009-06-02 13:49 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2009-06-02 13:49 UTC (permalink / raw)
To: openembedded-devel
On 02-06-09 15:43, Marcin Juszkiewicz wrote:
> From: Marcin Juszkiewicz<marcin@buglabs.net>
Acked-by: Koen Kooi <koen@openembedded.org>
>
>
> Signed-off-by: Marcin Juszkiewicz<marcin@juszkiewicz.com.pl>
> ---
> recipes/fbprogress/fbprogress/fbprogress-init | 34 +++++++++++++++++++++++++
> recipes/fbprogress/fbprogress_1.1.bb | 32 +++++++++++++++++++++++
> 2 files changed, 66 insertions(+), 0 deletions(-)
> create mode 100755 recipes/fbprogress/fbprogress/fbprogress-init
> create mode 100644 recipes/fbprogress/fbprogress_1.1.bb
>
> diff --git a/recipes/fbprogress/fbprogress/fbprogress-init b/recipes/fbprogress/fbprogress/fbprogress-init
> new file mode 100755
> index 0000000..c1dd378
> --- /dev/null
> +++ b/recipes/fbprogress/fbprogress/fbprogress-init
> @@ -0,0 +1,34 @@
> +#!/bin/sh
> +
> +. /etc/init.d/functions
> +
> +case "$1" in
> + start)
> + # We don't want this script to block the rest of the boot process
> + if [ "$2" != "background" ]; then
> + $0 $1 background&
> + else
> + . /etc/profile
> +
> + echo "Starting FBProgress"
> + fbprogress.sh&
> + fi
> + ;;
> +
> + stop)
> + echo "Stopping FBProgress"
> + killproc fbprogress.sh
> + ;;
> +
> + restart)
> + $0 stop
> + sleep 1
> + $0 start
> + ;;
> +
> + *)
> + echo "usage: $0 { start | stop | restart }"
> + ;;
> +esac
> +
> +exit 0
> diff --git a/recipes/fbprogress/fbprogress_1.1.bb b/recipes/fbprogress/fbprogress_1.1.bb
> new file mode 100644
> index 0000000..8d603b8
> --- /dev/null
> +++ b/recipes/fbprogress/fbprogress_1.1.bb
> @@ -0,0 +1,32 @@
> +DESCRIPTION = "Bug framebuffer progress indicator"
> +AUTHOR = "Angel Roman"
> +HOMEPAGE = "http://www.buglabs.net/"
> +LICENSE = "GPL"
> +DEPENDS = "freetype zlib virtual/kernel"
> +SRCREV = "9118"
> +PR = "r1"
> +
> +SRC_URI = "svn://svn.buglabs.net/bug/trunk;module=com.buglabs.bug.native.fbprogress;proto=svn \
> + file://fbprogress-init"
> +
> +S = "${WORKDIR}/com.buglabs.bug.native.fbprogress"
> +
> +inherit update-rc.d
> +
> +EXTRA_OEMAKE = "BUG_LINUX_SRC=${STAGING_KERNEL_DIR}"
> +
> +do_install() {
> + install -d ${D}/${sysconfdir}/fbprogress
> + install -m 0644 ${S}/images/* ${D}/${sysconfdir}/fbprogress/
> + install -d ${D}${layout_bindir}
> + install -m 0755 fbprogress ${D}${layout_bindir}
> + install -m 0755 fbprogress.sh ${D}${layout_bindir}
> + install -d ${D}/${sysconfdir}/init.d
> + install -m 0755 ${WORKDIR}/fbprogress-init ${D}/${sysconfdir}/init.d/fbprogress
> +}
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +COMPATIBLE_MACHINE = "bug"
> +
> +INITSCRIPT_NAME = "fbprogress"
> +INITSCRIPT_PARAMS = "start 01 S . stop 15 0 1 2 3 4 5 6 ."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-02 13:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-02 13:43 [PATCH 1/1] fbprogress: BUG only tool to show boot progress on built-in monochrome LCD Marcin Juszkiewicz
2009-06-02 13:49 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.