From cd7e67aa6bf2050a501e0a64ef64af3159ae4498 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 22 Sep 2012 16:20:52 +0200 Subject: [PATCH] systemd: fixed INSTALL, use pycompile_module for -python subpkg. --- srcpkgs/systemd/INSTALL | 2 +- srcpkgs/systemd/systemd-python.template | 2 ++ srcpkgs/systemd/template | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/systemd/INSTALL b/srcpkgs/systemd/INSTALL index 9ac7744d5c..cb82399e8d 100644 --- a/srcpkgs/systemd/INSTALL +++ b/srcpkgs/systemd/INSTALL @@ -2,7 +2,7 @@ case "${ACTION}" in post) if [ -c dev/urandom -a ! -f etc/machine-id ]; then systemd-machine-id-setup - systemctl enable getty@.service + systemctl enable getty@.service || true fi ;; esac diff --git a/srcpkgs/systemd/systemd-python.template b/srcpkgs/systemd/systemd-python.template index b3e09cd50f..886924cf5a 100644 --- a/srcpkgs/systemd/systemd-python.template +++ b/srcpkgs/systemd/systemd-python.template @@ -5,6 +5,8 @@ long_desc="${long_desc} This package contains the systemd python bindings." +pycompile_module="systemd" + do_install() { vmove "usr/lib/python*" usr/lib } diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index 20106b39da..23276c58ea 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,7 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=191 -revision=4 +revision=5 build_style=gnu-configure configure_args="--with-distro=other --libexecdir=/usr/lib --disable-selinux --disable-tcpwrap --with-rootprefix=/usr