[systemd] udev: create compat /sbin/udev symlink.
This commit is contained in:
parent
5af7d966e2
commit
84e9b7b305
3 changed files with 7 additions and 5 deletions
|
@ -1,14 +1,12 @@
|
||||||
# Template file for 'systemd-analyze'.
|
# Template file for 'systemd-analyze'.
|
||||||
#
|
#
|
||||||
depends="python dbus-python systemd"
|
depends="python dbus-python systemd>=$version"
|
||||||
short_desc="${sourcepkg} - systemd analyze"
|
short_desc="A python utility to analyze some systemd results"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains systemd-analyze, a python application to analyze
|
This package contains systemd-analyze, a python application to analyze
|
||||||
systemd."
|
systemd."
|
||||||
|
|
||||||
|
do_install() {
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
vmove usr/bin/systemd-analyze usr/bin
|
vmove usr/bin/systemd-analyze usr/bin
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Template file for 'systemd'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=183
|
version=183
|
||||||
|
revision=1
|
||||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-distro=other --with-rootprefix= --enable-plymouth
|
configure_args="--with-distro=other --with-rootprefix= --enable-plymouth
|
||||||
|
|
|
@ -28,4 +28,7 @@ do_install() {
|
||||||
usr/share/initramfs-tools/scripts/init-bottom udev
|
usr/share/initramfs-tools/scripts/init-bottom udev
|
||||||
vinstall ${FILESDIR}/udev.initramfs-inittop 755 \
|
vinstall ${FILESDIR}/udev.initramfs-inittop 755 \
|
||||||
usr/share/initramfs-tools/scripts/init-top udev
|
usr/share/initramfs-tools/scripts/init-top udev
|
||||||
|
# Create /sbin/udev symlink just for compatibility.
|
||||||
|
vmkdir sbin
|
||||||
|
ln -sf /lib/systemd/systemd-udevd ${DESTDIR}/sbin/udevd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue