udev: remove /dev/loop0 as it is no longer needed with util-linux-2.21

This commit is contained in:
Phil 2012-02-28 11:59:08 +00:00
parent d433de257b
commit 69fe2ea270
2 changed files with 3 additions and 8 deletions

View File

@ -6,7 +6,7 @@
pkgname=udev
pkgver=181
pkgrel=5
pkgrel=6
pkgdesc="The userspace dev tools (udev)"
depends=('util-linux' 'libusb-compat' 'glib2' 'kmod' 'pciutils' 'usbutils' 'pciutils')
install=udev.install
@ -46,13 +46,6 @@ package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
# /dev/loop0 is created for convenience, to autoload the module if necessary
# this is no longer needed when util-linux-2.21 is released as /dev/loop-control
# will be used instead. Support for this will go away in a future version of udev
install -d -m755 ${pkgdir}/lib/udev/devices/
mknod ${pkgdir}/lib/udev/devices/loop0 b 7 0
chgrp disk ${pkgdir}/lib/udev/devices/loop0
# udevd moved, symlink to make life easy for restarting udevd manually
ln -s /lib/udev/udevd ${pkgdir}/usr/bin/udevd

View File

@ -52,4 +52,6 @@ post_upgrade() {
echo " * udev-compat has been removed, and should be uninstalled."
echo " * Framebuffers are no longer blacklisted by default."
echo " * binaries moved from /sbin to /usr/bin"
echo " * if your kernel does not provide /dev/loop-control, you need to manually"
echo " load the 'loop' module before using losetup"
}