systemd: really disable getty@tty at /etc, add -python subpkg for bindings.

This commit is contained in:
Juan RP 2012-09-22 15:57:15 +02:00
parent 7d50c53115
commit 56fb26bf3e
4 changed files with 30 additions and 4 deletions

1
srcpkgs/systemd-python Symbolic link
View File

@ -0,0 +1 @@
systemd

View File

@ -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

View File

@ -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
}

View File

@ -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 <xtraeme@gmail.com>"
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
}