diff --git a/meta-digi-del/recipes-core/busybox/busybox-1.20.2/mdev b/meta-digi-del/recipes-core/busybox/busybox-1.20.2/mdev index 8744474b8..2483be6ed 100755 --- a/meta-digi-del/recipes-core/busybox/busybox-1.20.2/mdev +++ b/meta-digi-del/recipes-core/busybox/busybox-1.20.2/mdev @@ -21,8 +21,8 @@ if [ "${1}" != "start" ]; then fi MDEV="/sbin/mdev" -# MAKEDEVS="/sbin/makedevs" -# CONFIG="/etc/makedevs.d/${DEL_PLATFORM}" +MAKEDEVS="/sbin/makedevs" +CONFIG="/etc/device_table" # Create shared memory mount point mkdir -p /dev/shm @@ -37,11 +37,7 @@ fi ${MDEV} -s # Create rest device nodes via configuration file. -# if [ -f "${CONFIG}" ]; then -# [ -z "${quietboot}" ] && echo -n "Creating nodes via configuration file... " -# ${MAKEDEVS} -d "${CONFIG}" / >/dev/null 2>&1 -# [ -z "${quietboot}" ] && echo "done" -# fi +[ -f "${CONFIG}" ] && ${MAKEDEVS} -d "${CONFIG}" / >/dev/null 2>&1 # mount storage devices usbmount diff --git a/meta-digi-del/recipes-core/initscripts/initscripts-1.0/device_table.txt b/meta-digi-del/recipes-core/initscripts/initscripts-1.0/device_table.txt new file mode 100644 index 000000000..2552aa924 --- /dev/null +++ b/meta-digi-del/recipes-core/initscripts/initscripts-1.0/device_table.txt @@ -0,0 +1,9 @@ +# +# GPIO device nodes (LED2 and BUTTON2) +# +/dev/gpio d 755 0 0 +/dev/gpio/1 c 644 0 0 240 1 +/dev/gpio/73 c 644 0 0 240 73 +/dev/gpio/97 c 644 0 0 240 97 +/dev/gpio/100 c 644 0 0 240 100 +/dev/gpio/204 c 644 0 0 240 204 diff --git a/meta-digi-del/recipes-core/initscripts/initscripts_1.0.bbappend b/meta-digi-del/recipes-core/initscripts/initscripts_1.0.bbappend new file mode 100644 index 000000000..db34bad84 --- /dev/null +++ b/meta-digi-del/recipes-core/initscripts/initscripts_1.0.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:" + +PR_append_del = "+${DISTRO}.r0"