diff options
author | dir <diez.roggisch@ableton.com> | 2018-02-28 21:03:58 +0100 |
---|---|---|
committer | dir <dir@ableton.com> | 2018-08-13 17:54:03 +0200 |
commit | 70a42f6597b06f9be12db1bd32bb6a97d4a2e182 (patch) | |
tree | 83c060bb6e269ee4267c7e59dac4242faf8bfa69 /package/base-files/Makefile | |
parent | 922ca0cee6fd1c5b64e4a66c0167bb385f410bf2 (diff) |
Add option to mount debugfs at startup
@upstream
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -94,6 +94,10 @@ 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; \ echo "127.0.0.1 localhost" > $(IDIR_BASE_FILES)/etc/hosts |