[Frugalware-git] frugalware-current: udev-149-1-i686

Miklos Vajna vmiklos at frugalware.org
Sat Dec 19 02:49:55 CET 2009


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=620d2152da72a8aff283ebabcc847f25d35ec09b

commit 620d2152da72a8aff283ebabcc847f25d35ec09b
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Thu Dec 10 00:51:05 2009 +0100

udev-149-1-i686

- make use of the new devtmpfs feature:
- don't mount a ramdisk on /dev manually
- no longer ship /dev/null and /dev/console in the fpm

diff --git a/source/base/udev/FrugalBuild b/source/base/udev/FrugalBuild
index 8fb1f9f..babade5 100644
--- a/source/base/udev/FrugalBuild
+++ b/source/base/udev/FrugalBuild
@@ -60,10 +60,6 @@ build()
Fln /etc/sysconfig/blacklist /etc/modprobe.d/blacklist.conf
Fdoc README.Frugalware
Fdocrel docs/*
-	mknod -m 700 $Fdestdir/dev/console c 5 1
-	chgrp tty $Fdestdir/dev/console
-	mknod -m 666 $Fdestdir/dev/null c 1 3
-	chgrp sys $Fdestdir/dev/null

# split libgudev
Fsplit libgudev usr/{include/,lib/lib,lib/pkgconfig/,share/gtk-doc/html/}gudev*
diff --git a/source/base/udev/rc.udev b/source/base/udev/rc.udev
index ecb7c14..a3e8a20 100644
--- a/source/base/udev/rc.udev
+++ b/source/base/udev/rc.udev
@@ -11,7 +11,6 @@
# Thanks go out to the Gentoo developers for proving
# that this is possible to do.

-mount / -o rw,remount
mount none -t sysfs /sys

export MODPROBE_OPTIONS="--use-blacklist"
@@ -52,9 +51,6 @@ if [ ! -d $sysfs_dir/block ]; then
exit 1
fi

-#echo "mounting... ramfs at $udev_root"
-mount -n -t ramfs none $udev_root
-
# propogate /udev from /sys
export ACTION=add
export UDEV_NO_SLEEP=1
@@ -101,6 +97,4 @@ fi
## just in case we have a box with a lot USB or external HW try detecting again
start

-mount / -o ro,remount
-
# end of rc.udev


More information about the Frugalware-git mailing list