eudev: fix for runlevel switching

This commit is contained in:
Matt Housh 2019-06-09 11:51:24 -05:00
parent 01375fac9c
commit 0d0033642e
3 changed files with 12 additions and 10 deletions

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqk+1TQcpzzflxR9xaYmzIbVqEUJ13PdQjcL5OIX2HOb+3ukB5hwhcnER2xXPgDLPQ30BdEVjM2/JEr5KXU5dwgc=
SHA256 (Pkgfile) = 8160615cf53ec02e4a446a0b3596039964eace6492af02999c4407b7a9310552
RWRJc1FUaeVeqrOiP0Eai5HnEIpOzzxgM8YTJPvx/S61YWPKKJrtpB3pdmr5TmEgy2Mtnx3b6MKrwM7LErb0iNf6D8OeVdg7sgA=
SHA256 (Pkgfile) = 49cfdb14f6c9450486f9ebe85fdd3a55006724ea44c7419cd6c583fe8dd04b0e
SHA256 (.footprint) = 0462d65c7426a48874d18c1aeb96e1a6db4a93aea3532d15239fc2ac412941d0
SHA256 (eudev-3.2.8.tar.gz) = 61e4948e9e51271c3cce2bb5311a30b206dd03ef011062e6c627fb007e43f6b8
SHA256 (81-crux.rules) = d56da7164599c7d7e7b5377a550de2023e2a1ff2f765d366d2d7cc91688edb7c
SHA256 (start_udev) = c81035aef1acc76179c1408f68dfd1da65c5675d0b42d52c78b5184251f442a2
SHA256 (start_udev) = bf6d5dcffd0193a13dab90db623f4adf440782998797182715fc85281207905d

View File

@ -5,14 +5,14 @@
name=eudev
version=3.2.8
release=1
release=2
source=(http://dev.gentoo.org/~blueness/$name/$name-$version.tar.gz
81-crux.rules start_udev)
build() {
cd $name-$version
# needed for static linking, e.g. dmsetup.static
# needed for static linking, e.g. dmsetup.static
sed -i '/^Libs:/s/-ludev/-ludev -lrt/' src/libudev/libudev.pc.in
./configure --prefix=/usr \
@ -23,9 +23,9 @@ build() {
--libexecdir=/lib \
--disable-introspection \
--disable-manpages \
--enable-split-usr
--enable-split-usr
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
make CFLAGS="$CFLAGS -D_GNU_SOURCE"
make install DESTDIR=$PKG
make -C man install DESTDIR=$PKG

View File

@ -13,8 +13,10 @@ else
/bin/mount -n -t devtmpfs -o ${UDEVOPTS} dev /dev
fi
# mount /run directory
/bin/mount -n -t tmpfs -o mode=0755,nosuid,nodev,exec tmpfs /run
# mount /run directory if not mounted
if ! /bin/mountpoint -q /run ; then
/bin/mount -n -t tmpfs -o mode=0755,nosuid,nodev,exec tmpfs /run
fi
# copy devcies from /lib/udev/devices
cp -ar /lib/udev/devices/* /dev