systemd: really disable getty@tty at /etc, add -python subpkg for bindings.
This commit is contained in:
parent
7d50c53115
commit
56fb26bf3e
4 changed files with 30 additions and 4 deletions
1
srcpkgs/systemd-python
Symbolic link
1
srcpkgs/systemd-python
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
systemd
|
11
srcpkgs/systemd/systemd-python.rshlibs
Normal file
11
srcpkgs/systemd/systemd-python.rshlibs
Normal 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
|
10
srcpkgs/systemd/systemd-python.template
Normal file
10
srcpkgs/systemd/systemd-python.template
Normal 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
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'systemd'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=191
|
version=191
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-distro=other --libexecdir=/usr/lib
|
configure_args="--with-distro=other --libexecdir=/usr/lib
|
||||||
--disable-selinux --disable-tcpwrap --with-rootprefix=/usr
|
--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}"
|
udev>=${version}_${revision}"
|
||||||
makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel
|
makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel
|
||||||
dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel
|
dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel
|
||||||
libblkid-devel glib-devel libgcrypt-devel gobject-introspection"
|
libblkid-devel glib-devel libgcrypt-devel python-devel gobject-introspection"
|
||||||
subpackages="udev libudev libudev-devel libgudev libgudev-devel systemd-analyze systemd-devel systemd-libs"
|
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"
|
short_desc="A system and service manager for Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||||
|
@ -81,9 +82,12 @@ post_install() {
|
||||||
# Create /usr/sbin/init for compatibility.
|
# Create /usr/sbin/init for compatibility.
|
||||||
ln -sf /usr/lib/systemd/systemd ${DESTDIR}/usr/sbin/init
|
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
|
vinstall ${FILESDIR}/local-d.service 644 usr/lib/systemd/system
|
||||||
|
|
||||||
# Remove RPM stuff.
|
# Remove RPM stuff.
|
||||||
rm -rf ${DESTDIR}/etc/rpm
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue