All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] added mounting debugfs recipe
@ 2013-05-02 18:36 zhoujt
  2013-05-02 19:54 ` Maupin, Chase
  0 siblings, 1 reply; 10+ messages in thread
From: zhoujt @ 2013-05-02 18:36 UTC (permalink / raw)
  To: meta-arago; +Cc: zhoujt

From: Jingting Zhou <a0221004@ares-ubuntu>

---
 .../packagegroup-arago-base-tisdk-server-extra.bb  |    3 ++-
 .../initscript-debugfs/files/debugfs.sh            |    8 ++++++++
 .../initscript-debugfs/initscript-debugfs.bb       |   17 +++++++++++++++++
 3 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100755 meta-arago-extras/recipes-bsp/initscript-debugfs/files/debugfs.sh
 create mode 100755 meta-arago-extras/recipes-bsp/initscript-debugfs/initscript-debugfs.bb

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb
index 46db7c2..ba618b2 100755
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk-server-extra.bb
@@ -66,7 +66,7 @@ RDEPENDS_${PN} = "\
     ptpd \
     vsftpd \
     syslog-ng \	
-	syslog-ng-plugins \
+    syslog-ng-plugins \
     dtc \
     strongswan \ 
     strongswan-plugins \ 
@@ -95,4 +95,5 @@ RDEPENDS_${PN} = "\
     ti-netapi \
     ti-ipc \
     ebtables \
+    initscript-debugfs \
 	"
diff --git a/meta-arago-extras/recipes-bsp/initscript-debugfs/files/debugfs.sh b/meta-arago-extras/recipes-bsp/initscript-debugfs/files/debugfs.sh
new file mode 100755
index 0000000..17e2474
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/initscript-debugfs/files/debugfs.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if ! [ -e /debug ] ; then
+  mkdir -p /debug
+fi
+mount -t debugfs debugfs /debug
+
+exit 0
diff --git a/meta-arago-extras/recipes-bsp/initscript-debugfs/initscript-debugfs.bb b/meta-arago-extras/recipes-bsp/initscript-debugfs/initscript-debugfs.bb
new file mode 100755
index 0000000..c9cb7d0
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/initscript-debugfs/initscript-debugfs.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Initscripts for debugfs"
+LICENSE = "BSD"
+
+LIC_FILES_CHKSUM = "file://debugfs.sh;md5=ecbae24c97c0fa80c5977bf22eec1f32"
+
+PR ="r1"
+
+SRC_URI = "file://debugfs.sh"
+
+S = "${WORKDIR}"
+
+do_install () {
+	install -d ${D}${sysconfdir}/init.d/
+	install -d ${D}${sysconfdir}/rcS.d/
+	install -c -m 755 ${WORKDIR}/debugfs.sh ${D}${sysconfdir}/init.d/debugfs.sh
+	ln -sf ../init.d/debugfs.sh ${D}${sysconfdir}/rcS.d/S09debugfs
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-05-03 17:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 18:36 [PATCH] added mounting debugfs recipe zhoujt
2013-05-02 19:54 ` Maupin, Chase
2013-05-02 21:33   ` Zhou, Jingting
2013-05-03 11:54     ` Maupin, Chase
2013-05-03 15:58       ` Zhou, Jingting
2013-05-03 16:22         ` Maupin, Chase
2013-05-03 17:26           ` Denys Dmytriyenko
2013-05-03 17:16       ` Denys Dmytriyenko
2013-05-03 16:48     ` Denys Dmytriyenko
2013-05-03 16:43   ` Denys Dmytriyenko

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.