240305fab4
as they become available (as determined by monitoring udev) and emits Upstart events to inform other jobs that the filesystems are mounted. This is very useful for NixOS (which currently ignores filesystems in the job dependency chain - very bad). Unfortunately, mountall depends on Plymouth (a boot splash implementation). The patch allows mountall to build without Plymouth. Since Plymouth is also used to inform users about failing mounts and get responses, some more changes will be needed. Probably mountall should emit a "mount-failed" event to trigger a root shell on the console to allow the user to repair the problem. svn path=/nixpkgs/trunk/; revision=22143
21 lines
625 B
Nix
21 lines
625 B
Nix
{ stdenv, fetchurl, pkgconfig, libnih, dbus, udev, autoconf, automake, libtool }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "mountall-2.15";
|
|
|
|
src = fetchurl {
|
|
url = https://launchpad.net/ubuntu/+archive/primary/+files/mountall_2.15.tar.gz;
|
|
sha256 = "1ik9r1av0f17byfxr4l2w0qpaijxkfqvxws6gmc98liq6fyyzn4v";
|
|
};
|
|
|
|
patches = [ ./no-plymouth.patch ];
|
|
|
|
preConfigure = "autoreconf";
|
|
|
|
buildInputs = [ pkgconfig libnih dbus.libs udev autoconf automake libtool ];
|
|
|
|
meta = {
|
|
homepage = https://launchpad.net/ubuntu/+source/mountall;
|
|
description = "Utility to mount all filesystems and emit Upstart events";
|
|
};
|
|
}
|