udev: add a rules file to fix perms, based off the one from Archlinux.
--HG-- extra : convert_revision : 2b574934b32189095af24f6fdafe136ddec310a6
This commit is contained in:
parent
605e166253
commit
28f31ff7d2
2 changed files with 135 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'udev'
|
||||
pkgname=udev
|
||||
version=140
|
||||
revision=1
|
||||
distfiles="
|
||||
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-${version}.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
|
@ -17,6 +18,15 @@ Add_dependency full procps
|
|||
|
||||
post_install()
|
||||
{
|
||||
# Install some additional rules.
|
||||
install -m644 ${FILESDIR}/81-xbps.rules ${DESTDIR}/lib/udev/rules.d
|
||||
install -m644 ${wrksrc}/rules/packages/* ${DESTDIR}/lib/udev/rules.d
|
||||
# Remove unneeded rules.
|
||||
for f in ia64 ppc s390; do
|
||||
rm ${DESTDIR}/lib/udev/rules.d/40-${f}.rules
|
||||
done
|
||||
|
||||
# Create some devices that are needed by the initramfs.
|
||||
install -d $DESTDIR/lib/firmware
|
||||
install -d $DESTDIR/lib/udev/devices/pts
|
||||
install -d $DESTDIR/lib/udev/devices/shm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue