busybox: remove busybox-static-nodes initscript

This script was added a long time ago and it never gets used anymore, so remove
it from our images.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2019-01-30 13:51:51 +01:00 committed by Arturo Buzarra
parent 45227325ee
commit c681701c27
6 changed files with 1 additions and 50 deletions

View File

@ -1,25 +0,0 @@
#!/bin/sh
#===============================================================================
#
# busybox-static-nodes
#
# Copyright (C) 2013 by Digi International Inc.
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published by
# the Free Software Foundation.
#
# !Description: make static device nodes from device table
#
#===============================================================================
set -e
MAKEDEVS="/sbin/makedevs"
DEVICE_TABLE_CFG="/etc/device_table"
# Create static device nodes via configuration file.
if [ -f "${DEVICE_TABLE_CFG}" ]; then
${MAKEDEVS} -d "${DEVICE_TABLE_CFG}" / >/dev/null 2>&1
fi

View File

@ -10,7 +10,6 @@ SRC_URI += "file://standby \
file://acpid.map \
file://pswitch-standby \
file://pswitch-poweroff \
file://busybox-static-nodes \
file://bridgeifupdown \
"
@ -36,13 +35,6 @@ INITSCRIPT_NAME_${PN}-acpid = "busybox-acpid"
# Start busybox-syslog at a very early state
INITSCRIPT_PARAMS_${PN}-syslog = "defaults 02"
# static-nodes package (create static nodes from /etc/device_table)
PACKAGES =+ "${PN}-static-nodes"
FILES_${PN}-static-nodes = "${sysconfdir}/init.d/busybox-static-nodes"
INITSCRIPT_PACKAGES =+ "${PN}-static-nodes"
INITSCRIPT_NAME_${PN}-static-nodes = "busybox-static-nodes"
INITSCRIPT_PARAMS_${PN}-static-nodes = "start 07 S ."
do_install_append() {
if grep "CONFIG_NTPD=y" ${WORKDIR}/defconfig; then
install -m 0755 ${WORKDIR}/busybox-ntpd ${D}${sysconfdir}/init.d/
@ -62,9 +54,6 @@ do_install_append() {
install -m 0755 ${WORKDIR}/pswitch-standby ${D}${sysconfdir}/acpi/
install -m 0755 ${WORKDIR}/pswitch-poweroff ${D}${sysconfdir}/acpi/
fi
if grep "CONFIG_MAKEDEVS=y" ${WORKDIR}/defconfig; then
install -m 0755 ${WORKDIR}/busybox-static-nodes ${D}${sysconfdir}/init.d/
fi
# Install bridgeifupdown script
if grep "CONFIG_BRCTL" ${WORKDIR}/defconfig; then

View File

@ -7,7 +7,6 @@ IMAGE_INSTALL= "\
base-files \
base-passwd \
busybox \
busybox-static-nodes \
sysvinit \
initscripts \
${CORE_IMAGE_EXTRA_INSTALL} \

View File

@ -1,9 +0,0 @@
#
# 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

View File

@ -2,15 +2,13 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:"
SRC_URI += "file://device_table.txt \
file://devtmpfs.sh"
SRC_URI += "file://devtmpfs.sh"
SRC_URI_append_ccimx6ul = " file://caam_jr0_wakeup.sh"
do_install_append() {
install -m 755 ${WORKDIR}/devtmpfs.sh ${D}${sysconfdir}/init.d/devtmpfs.sh
update-rc.d -r ${D} devtmpfs.sh start 03 S .
install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table
}
do_install_append_ccimx6ul() {

View File

@ -31,7 +31,6 @@ RDEPENDS_${PN} = "\
base-passwd \
busybox \
busybox-acpid \
busybox-static-nodes \
cloudconnector \
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \