From 70a42f6597b06f9be12db1bd32bb6a97d4a2e182 Mon Sep 17 00:00:00 2001 From: dir Date: Wed, 28 Feb 2018 21:03:58 +0100 Subject: Add option to mount debugfs at startup @upstream --- package/base-files/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/base-files/Makefile') diff --git a/package/base-files/Makefile b/package/base-files/Makefile index e9dd3d9cc..95f22f6f0 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -93,6 +93,10 @@ endif endif ifeq ($(ADK_RUNTIME_INIT_SYSVINIT),y) cp ./files/inittab.sysvinit $(IDIR_BASE_FILES)/etc/inittab +endif +ifeq ($(ADK_RUNTIME_MOUNT_DEBUGFS),y) + echo debugfs /sys/kernel/debug debugfs defaults 0 0 >> $(IDIR_BASE_FILES)/etc/fstab + echo null::sysinit:/bin/mount -a -t debugfs >> $(IDIR_BASE_FILES)/etc/inittab endif test -z $(ADK_RUNTIME_HOSTNAME) || \ echo $(ADK_RUNTIME_HOSTNAME) > $(IDIR_BASE_FILES)/etc/hostname; \ -- cgit v1.2.3