mount debugfs when applicable
cover mount debugfs when applicable
From: Tom Zanussi <[email protected]>
If debugfs is available, it should be mounted and made available to users. This patch mounts it if present.
The following changes since commit df74f8d9a8b1500da3fffd77f12ec8d1900d0bf6:
gcc: Use 4.7.2 release tarball (2012-09-21 14:55:32 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/debugfs-mount
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/debugfs-mount
Tom Zanussi (1):
initscripts/sysfs.sh: mount debugfs if present
meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh | 4 ++++ meta/recipes-core/initscripts/initscripts_1.0.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.11.4
PATCH 1/1 initscripts/sysfs.sh: mount debugfs if present
From: Tom Zanussi <[email protected]>
debugfs is another kernel virtual file system that should be mounted if configured, so if it's configured into the kernel, mount it.
--- meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh | 4 ++++ meta/recipes-core/initscripts/initscripts_1.0.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)
meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh +4 -0
@@ -17,3 +17,7 @@ fi if [ -e /sys ] && grep -q sysfs /proc/filesystems && ! [ -e /sys/class ]; then mount -t sysfs sysfs /sys fi + +if [ -e /sys/kernel/debug ] && grep -q debugfs /proc/filesystems; then + mount -t debugfs debugfs /sys/kernel/debug +fi
meta/recipes-core/initscripts/initscripts_1.0.bb +1 -1
@@ -3,7 +3,7 @@ DESCRIPTION = "Initscripts provide the basic system startup initialization scrip SECTION = "base" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" -PR = "r136" +PR = "r137" INHIBIT_DEFAULT_DEPS = "1"
Signature · 1 line
1.7.11.4
Richard Purdie
AppliedRe: [PATCH 1/1] initscripts/sysfs.sh: mount debugfs if present
Quoted 10 lines · On Fri, 2012-09-21 at 14:11 -0500, [email protected] wrote:
From: Tom Zanussi <[email protected]>
debugfs is another kernel virtual file system that should be mounted if configured, so if it's configured into the kernel, mount it.
Signed-off-by Tom Zanussi <[email protected]>--- meta/recipes-core/initscripts/initscripts-1.0/sysfs.sh | 4 ++++ meta/recipes-core/initscripts/initscripts_1.0.bb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-)
Merged to master, thanks.
Richard