[Buildroot] [git commit] udev: remove left-over S10udev script from udev virtual package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Jul 31 18:20:15 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=d0903498683a2936f617d9c6d2c0a0ef2a8fe3fb
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
The S10udev script is not installed or referenced, and eudev has its own
S10udev. So we can simply remove it.
Signed-off-by: Danomi Manchego <danomimanchego123 at gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/udev/S10udev | 48 ------------------------------------------------
1 files changed, 0 insertions(+), 48 deletions(-)
diff --git a/package/udev/S10udev b/package/udev/S10udev
deleted file mode 100755
index cf825b4..0000000
--- a/package/udev/S10udev
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-#
-# udev This is a minimal non-LSB version of a UDEV startup script. It
-# was derived by stripping down the udev-058 LSB version for use
-# with buildroot on embedded hardware using Linux 2.6.34+ kernels.
-#
-# You may need to customize this for your system's resource limits
-# (including startup time!) and administration. For example, if
-# your early userspace has a custom initramfs or initrd you might
-# need /dev much earlier; or without hotpluggable busses (like USB,
-# PCMCIA, MMC/SD, and so on) your /dev might be static after boot.
-#
-# This script assumes your system boots right into the eventual root
-# filesystem, and that init runs this udev script before any programs
-# needing more device nodes than the bare-bones set -- /dev/console,
-# /dev/zero, /dev/null -- that's needed to boot and run this script.
-#
-
-# Check for missing binaries
-UDEV_BIN=/lib/udev/udevd
-test -x $UDEV_BIN || exit 5
-
-# Check for config file and read it
-UDEV_CONFIG=/etc/udev/udev.conf
-test -r $UDEV_CONFIG || exit 6
-. $UDEV_CONFIG
-
-case "$1" in
- start)
- printf "Populating ${udev_root:-/dev} using udev: "
- printf '\000\000\000\000' > /proc/sys/kernel/hotplug
- $UDEV_BIN -d || (echo "FAIL" && exit 1)
- udevadm trigger
- echo "done"
- ;;
- stop)
- # Stop execution of events
- udevadm control --stop-exec-queue
- killall udevd
- ;;
- *)
- echo "Usage: $0 {start|stop}"
- exit 1
- ;;
-esac
-
-
-exit 0
More information about the buildroot
mailing list