summaryrefslogtreecommitdiff
path: root/hooks/udev
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-12-05 17:19:00 +0100
committermaximilian attems <maks@debian.org>2005-12-05 17:19:00 +0100
commitefc90bbb5f64353714175bb4b2225422f3de86b2 (patch)
treebf92d7ea84f30edd5c968853deae92532d987d07 /hooks/udev
parentbfd7efb29d7e706d6378ad2b91d2be9d21f8b8ee (diff)
downloadinitramfs-tools-efc90bbb5f64353714175bb4b2225422f3de86b2.tar.gz
initramfs-tools-efc90bbb5f64353714175bb4b2225422f3de86b2.zip
resync with latest ubuntu, split udev done by hand.
Diffstat (limited to 'hooks/udev')
-rwxr-xr-xhooks/udev35
1 files changed, 0 insertions, 35 deletions
diff --git a/hooks/udev b/hooks/udev
deleted file mode 100755
index 4776d85..0000000
--- a/hooks/udev
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-PREREQ=""
-
-prereqs()
-{
- echo "$PREREQ"
-}
-
-case $1 in
-# get pre-requisites
-prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-# udev really wants to be able to do socket communications to udevd
-# This means that there's a bit of a race condition as the events come
-# flooding in and the kernels ability to autoload the 'unix' module.
-
-# We solve the problem thusly. Hopefully RIP Ubuntu# 12915
-
-. /usr/share/initramfs-tools/hook-functions
-
-force_load unix
-
-cp -a /etc/udev ${DESTDIR}/etc
-
-# Hack until udev is built with klibc
-copy_exec /sbin/udevd /sbin
-copy_exec /sbin/udevsynthesize /sbin
-
-mkdir "${DESTDIR}/lib/udev"
-copy_exec /lib/udev/udevsynthesize /lib/udev