systemd: Update to 195

This commit is contained in:
Eelco Dolstra 2012-10-23 13:51:13 +02:00
parent b91a3927e6
commit 8b9f3e9de4
2 changed files with 3 additions and 18 deletions

View File

@ -6,17 +6,16 @@
assert stdenv.gcc.libc or null != null;
stdenv.mkDerivation rec {
name = "systemd-194";
name = "systemd-195";
src = fetchurl {
url = "http://www.freedesktop.org/software/systemd/${name}.tar.xz";
sha256 = "0cgnnl6kqaz3als5y9g8jvsvbs4c8ccp0vl4s1g8rwk69w2cwxd2";
sha256 = "00v3haymdxhjk71pqp17irw9pm5ivfvz35ibvw41v5zdhj5il179";
};
patches =
[ ./reexec.patch
./ignore-duplicates.patch
./fix-device-aliases.patch
./crypt-devices-are-ready.patch
];
@ -68,7 +67,7 @@ stdenv.mkDerivation rec {
makeFlags = "CPPFLAGS=-I${stdenv.gcc.libc}/include";
installFlags = "localstatedir=$(TMPDIR)/var sysconfdir=$(out)/etc";
installFlags = "localstatedir=$(TMPDIR)/var sysconfdir=$(out)/etc sysvinitdir=$(TMPDIR)/etc/init.d";
# Get rid of configuration-specific data.
postInstall =

View File

@ -1,14 +0,0 @@
diff --git a/src/core/device.c b/src/core/device.c
index 5307341..7bbe99a 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -255,8 +255,7 @@ static int device_update_unit(Manager *m, struct udev_device *dev, const char *p
if (!is_path(alias))
log_warning("SYSTEMD_ALIAS for %s is not a path, ignoring: %s", sysfs, alias);
else {
- if ((r = device_add_escaped_name(u, alias)) < 0)
- goto fail;
+ device_update_unit(m, dev, alias, false);
}
}