nixpkgs-suyu/pkgs/os-specific/linux/mountall/default.nix
Eelco Dolstra 995a44a897 * Fix a race condition in mountall: the USR1 signal handler must be
installed before we daemonise, otherwise another job might send 
  USR1 to mountall before the handler is installed, killing it.

svn path=/nixpkgs/trunk/; revision=33289
2012-03-20 10:25:11 +00:00

24 lines
910 B
Nix

{ stdenv, fetchurl, pkgconfig, libnih, dbus, udev, autoconf, automake, libtool, gettext }:
stdenv.mkDerivation {
name = "mountall-2.35";
src = fetchurl {
url = https://launchpad.net/ubuntu/+archive/primary/+files/mountall_2.35.tar.gz;
sha256 = "1k52d4x75balnwcsqgznvzrdqgbp2dqnrzw0n25kajdcwr192wwy";
};
patches = [ ./no-plymouth.patch ./fix-usr1-race.patch ];
preConfigure = "rm -R aclocal.m4; gettextize -f; autoreconf -vfi";
buildInputs = [ pkgconfig libnih dbus.libs udev autoconf automake libtool gettext ];
makeFlags = "initramfshookdir=$(out)/share/initramfs-tools/hooks upstart_jobs_initramfs_configdir=$(out)/share/initramfs-tools/event-driven/upstart-jobs";
meta = {
homepage = https://launchpad.net/ubuntu/+source/mountall;
description = "Utility to mount all filesystems and emit Upstart events";
platforms = stdenv.lib.platforms.linux;
};
}