Signed-off-by: Alexander Stein <alexander.st...@systec-electronic.com> --- generic/etc/mdev.conf | 6 ++++++ rules/busybox.make | 4 ++++ 2 files changed, 10 insertions(+), 0 deletions(-) create mode 100755 generic/etc/mdev.conf
diff --git a/generic/etc/mdev.conf b/generic/etc/mdev.conf new file mode 100755 index 0000000..197c774 --- /dev/null +++ b/generic/etc/mdev.conf @@ -0,0 +1,6 @@ +# Devices: +# Syntax: %s %d:%d %s +# devices user:group mode + +null 0:0 777 +zero 0:0 666 diff --git a/rules/busybox.make b/rules/busybox.make index bf2eb2b..8363671 100644 --- a/rules/busybox.make +++ b/rules/busybox.make @@ -144,6 +144,10 @@ endif # PTXCONF_INITMETHOD_BBINIT # # config files # # +ifdef PTXCONF_BUSYBOX_MDEV_CONF + @$(call install_alternative, busybox, 0, 0, 0644, /etc/mdev.conf) +endif + ifdef PTXCONF_BUSYBOX_UDHCPC @$(call install_alternative, busybox, 0, 0, 0754, /etc/udhcpc.script) @$(call install_link, busybox, ../../../etc/udhcpc.script, /usr/share/udhcpc/default.script) -- 1.6.4.4 -- ptxdist mailing list ptxdist@pengutronix.de