From 84e9b7b305c7d5b7c34ef3669bb459e2dd626037 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 27 May 2012 01:02:00 +0200 Subject: [PATCH] [systemd] udev: create compat /sbin/udev symlink. --- srcpkgs/systemd/systemd-analyze.template | 8 +++----- srcpkgs/systemd/template | 1 + srcpkgs/systemd/udev.template | 3 +++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/systemd/systemd-analyze.template b/srcpkgs/systemd/systemd-analyze.template index 868b5aeee22..e46a21df354 100644 --- a/srcpkgs/systemd/systemd-analyze.template +++ b/srcpkgs/systemd/systemd-analyze.template @@ -1,14 +1,12 @@ # Template file for 'systemd-analyze'. # -depends="python dbus-python systemd" -short_desc="${sourcepkg} - systemd analyze" +depends="python dbus-python systemd>=$version" +short_desc="A python utility to analyze some systemd results" long_desc="${long_desc} This package contains systemd-analyze, a python application to analyze systemd." - -do_install() -{ +do_install() { vmove usr/bin/systemd-analyze usr/bin } diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index 749e513c38a..d76d455bd07 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,6 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=183 +revision=1 distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz" build_style=gnu-configure configure_args="--with-distro=other --with-rootprefix= --enable-plymouth diff --git a/srcpkgs/systemd/udev.template b/srcpkgs/systemd/udev.template index 2bf1a0f091c..a47f46678b6 100644 --- a/srcpkgs/systemd/udev.template +++ b/srcpkgs/systemd/udev.template @@ -28,4 +28,7 @@ do_install() { usr/share/initramfs-tools/scripts/init-bottom udev vinstall ${FILESDIR}/udev.initramfs-inittop 755 \ usr/share/initramfs-tools/scripts/init-top udev + # Create /sbin/udev symlink just for compatibility. + vmkdir sbin + ln -sf /lib/systemd/systemd-udevd ${DESTDIR}/sbin/udevd }