summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-09-21 14:11:45 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-24 11:30:37 +0100
commitaf30de3ea1c04a2b5bcdcdc056097b5c7a8851a7 (patch)
tree4ea5171f40bfb5ccff4fc78c4f87962bc73c143b /meta/recipes-core
parente36751cdcd6b2a3db31f4597a0b4dd22d5c54330 (diff)
downloadpoky-af30de3ea1c04a2b5bcdcdc056097b5c7a8851a7.tar.gz
initscripts/sysfs.sh: mount debugfs if present
debugfs is another kernel virtual file system that should be mounted if configured, so if it's configured into the kernel, mount it. (From OE-Core rev: 55c4d3c55e4c3a7c2cda6d006cf7b78567bd3298) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh4
-rw-r--r--meta/recipes-core/initscripts/initscripts_1.0.bb2
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh b/meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh
index bd87dcddd2..0cfe76e230 100644
--- a/meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh
+++ b/meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh
@@ -17,3 +17,7 @@ fi
17if [ -e /sys ] && grep -q sysfs /proc/filesystems && ! [ -e /sys/class ]; then 17if [ -e /sys ] && grep -q sysfs /proc/filesystems && ! [ -e /sys/class ]; then
18 mount -t sysfs sysfs /sys 18 mount -t sysfs sysfs /sys
19fi 19fi
20
21if [ -e /sys/kernel/debug ] && grep -q debugfs /proc/filesystems; then
22 mount -t debugfs debugfs /sys/kernel/debug
23fi
diff --git a/meta/recipes-core/initscripts/initscripts_1.0.bb b/meta/recipes-core/initscripts/initscripts_1.0.bb
index b741b61f37..d25838b8ec 100644
--- a/meta/recipes-core/initscripts/initscripts_1.0.bb
+++ b/meta/recipes-core/initscripts/initscripts_1.0.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Initscripts provide the basic system startup initialization scrip
3SECTION = "base" 3SECTION = "base"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 5LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
6PR = "r136" 6PR = "r137"
7 7
8INHIBIT_DEFAULT_DEPS = "1" 8INHIBIT_DEFAULT_DEPS = "1"
9 9