[arch-commits] Commit in systemd/trunk (PKGBUILD)
Dave Reisner
dreisner at archlinux.org
Thu Feb 9 03:31:41 UTC 2012
Date: Wednesday, February 8, 2012 @ 22:31:41
Author: dreisner
Revision: 149697
upgpkg: systemd 41-1
- add symlink /bin/systemd -> ../lib/systemd/systemd
- remove unneeded /var/lib/systemd dir creation
- add kmod dependency
Modified:
systemd/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-09 03:27:19 UTC (rev 149696)
+++ PKGBUILD 2012-02-09 03:31:41 UTC (rev 149697)
@@ -2,13 +2,13 @@
# Maintainer: Dave Reisner <dreisner at archlinux.org>
pkgname=systemd
-pkgver=40
+pkgver=41
pkgrel=1
pkgdesc="Session and Startup manager"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
license=('GPL2')
-depends=('acl' 'dbus-core' 'kbd' 'libcap' 'util-linux>=2.19' 'udev>=172' 'xz')
+depends=('acl' 'dbus-core' 'kbd' 'kmod' 'libcap' 'util-linux' 'udev' 'xz')
makedepends=('gperf' 'cryptsetup' 'intltool' 'linux-api-headers')
optdepends=('cryptsetup: required for encrypted block devices'
'dbus-python: systemd-analyze'
@@ -26,10 +26,10 @@
etc/systemd/user.conf
etc/systemd/systemd-logind.conf
etc/systemd/systemd-journald.conf)
-install=systemd.install
+install="$pkgname.install"
source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
"os-release")
-md5sums=('8880180f54dac8618ef70c46492fd8d9'
+md5sums=('a73b50aeccaee088bf816e773fb4d0b8'
'752636def0db3c03f121f8b4f44a63cd')
build() {
@@ -59,12 +59,12 @@
make DESTDIR="$pkgdir" install
- # needed by systemd-loginctl for enable-linger
- install -dm755 "$pkgdir/var/lib/systemd"
-
install -Dm644 "$srcdir/os-release" "$pkgdir/etc/os-release"
printf "d /run/console 755 root root\n" > "$pkgdir/usr/lib/tmpfiles.d/console.conf"
+ # symlink to /bin/systemd for compat and sanity
+ ln -s ../lib/systemd/systemd "$pkgdir"/bin/systemd
+
# fix systemd-analyze for python2
sed -i '1s/python$/python2/' "$pkgdir/usr/bin/systemd-analyze"
More information about the arch-commits
mailing list