From b4fd08972b99a8bf456da1900f9e36a21cd39817 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 4 May 2011 16:00:43 +0200 Subject: [PATCH] udev: use 'udevadm control --exit' to exit gracefully the udev daemon. --- srcpkgs/udev/files/udev.initramfs-bottom | 4 ++-- srcpkgs/udev/template | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/udev/files/udev.initramfs-bottom b/srcpkgs/udev/files/udev.initramfs-bottom index 5fa25a91aa..d16bd96c6d 100644 --- a/srcpkgs/udev/files/udev.initramfs-bottom +++ b/srcpkgs/udev/files/udev.initramfs-bottom @@ -17,8 +17,8 @@ case "$1" in esac -# Kill the udev daemon. -pkill udevd +# Make the udev daemon exit. +udevadm control --exit # Clean up udev state stuff. udevadm info --cleanup-db diff --git a/srcpkgs/udev/template b/srcpkgs/udev/template index 916142e247..1aa5d1d6ba 100644 --- a/srcpkgs/udev/template +++ b/srcpkgs/udev/template @@ -1,7 +1,7 @@ # Template file for 'udev' pkgname=udev version=168 -revision=1 +revision=2 distfiles="${KERNEL_SITE}/utils/kernel/hotplug/udev-${version}.tar.bz2" build_style=gnu_configure configure_args="--exec-prefix= --without-selinux --libexecdir=/lib/udev