diff --git a/srcpkgs/systemd-python b/srcpkgs/systemd-python new file mode 120000 index 00000000000..1514658181d --- /dev/null +++ b/srcpkgs/systemd-python @@ -0,0 +1 @@ +systemd \ No newline at end of file diff --git a/srcpkgs/systemd/systemd-python.rshlibs b/srcpkgs/systemd/systemd-python.rshlibs new file mode 100644 index 00000000000..082563434bd --- /dev/null +++ b/srcpkgs/systemd/systemd-python.rshlibs @@ -0,0 +1,11 @@ +libpthread.so.0 +libutil.so.1 +libm.so.6 +libpython2.7.so.1.0 +libsystemd-journal.so.0 +liblzma.so.5 +libgcrypt.so.11 +libgpg-error.so.0 +libdl.so.2 +librt.so.1 +libc.so.6 diff --git a/srcpkgs/systemd/systemd-python.template b/srcpkgs/systemd/systemd-python.template new file mode 100644 index 00000000000..b3e09cd50ff --- /dev/null +++ b/srcpkgs/systemd/systemd-python.template @@ -0,0 +1,10 @@ +# Template file for 'systemd-python'. +# +short_desc="${sourcepkg} - python bindings" +long_desc="${long_desc} + + This package contains the systemd python bindings." + +do_install() { + vmove "usr/lib/python*" usr/lib +} diff --git a/srcpkgs/systemd/template b/srcpkgs/systemd/template index e9cfe535e5f..20106b39da1 100644 --- a/srcpkgs/systemd/template +++ b/srcpkgs/systemd/template @@ -1,7 +1,7 @@ # Template file for 'systemd' pkgname=systemd version=191 -revision=3 +revision=4 build_style=gnu-configure configure_args="--with-distro=other --libexecdir=/usr/lib --disable-selinux --disable-tcpwrap --with-rootprefix=/usr @@ -12,8 +12,9 @@ depends="dbus run-parts kbd>=1.15.3_5 systemd-libs>=${version}_${revision} udev>=${version}_${revision}" makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel -libblkid-devel glib-devel libgcrypt-devel gobject-introspection" -subpackages="udev libudev libudev-devel libgudev libgudev-devel systemd-analyze systemd-devel systemd-libs" +libblkid-devel glib-devel libgcrypt-devel python-devel gobject-introspection" +subpackages="udev libudev libudev-devel libgudev libgudev-devel +systemd-analyze systemd-devel systemd-libs systemd-python" short_desc="A system and service manager for Linux" maintainer="Juan RP " homepage="http://www.freedesktop.org/wiki/Software/systemd" @@ -81,9 +82,12 @@ post_install() { # Create /usr/sbin/init for compatibility. ln -sf /usr/lib/systemd/systemd ${DESTDIR}/usr/sbin/init - # Install and enable local-d.service for multi-user.target by default. + # Install local-d.service. vinstall ${FILESDIR}/local-d.service 644 usr/lib/systemd/system # Remove RPM stuff. rm -rf ${DESTDIR}/etc/rpm + + # Disable units in /etc; we do this at post-install time. + rm -rf ${DESTDIR}/etc/systemd/system/getty.target.wants }