aboutsummaryrefslogtreecommitdiffstats
path: root/udev-lfs
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-04-06 03:19:37 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-04-06 03:19:37 +0000
commitf8fe89705735085bfabefb9b87028e3562696af0 (patch)
tree2ba501ae06b587fd5f71c835d02e2bc51b71927c /udev-lfs
parentdf37fa9a29deacadd527fb37b1d0514b0244d562 (diff)
Add groups and a user for systemd.
Correct files so udev rule for persistent network cards works properly. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10525 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'udev-lfs')
-rw-r--r--udev-lfs/Makefile.lfs9
-rwxr-xr-xudev-lfs/write_net_rules1
2 files changed, 5 insertions, 5 deletions
diff --git a/udev-lfs/Makefile.lfs b/udev-lfs/Makefile.lfs
index 0bbc66584..6da7b3a06 100644
--- a/udev-lfs/Makefile.lfs
+++ b/udev-lfs/Makefile.lfs
@@ -3,7 +3,7 @@
# vim: tabstop=3
-VERSION=20140302
+VERSION=20140305
SHELL=/bin/bash
ifeq ($(V),)
@@ -21,9 +21,10 @@ install:
$(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
# Copy rules
- @cp -v udev-lfs-$(VERSION)/*.rules $(DESTDIR)/etc/udev/rules.d
- @cp -v udev-lfs-$(VERSION)/*_rules $(DESTDIR)/lib/udev
- @cp -v udev-lfs-$(VERSION)/init-net-rules.sh $(DESTDIR)/lib/udev
+ @cp -v udev-lfs-$(VERSION)/*.rules $(DESTDIR)/etc/udev/rules.d
+ @cp -v udev-lfs-$(VERSION)/*_rules \
+ udev-lfs-$(VERSION)/init-net-rules.sh \
+ udev-lfs-$(VERSION)/rule_generator.functions $(DESTDIR)/lib/udev
# Copy documentation
@cp -v udev-lfs-$(VERSION)/README $(DESTDIR)/usr/share/doc/udev-$(VERSION)/lfs
diff --git a/udev-lfs/write_net_rules b/udev-lfs/write_net_rules
index bcea4b09d..f7c77616f 100755
--- a/udev-lfs/write_net_rules
+++ b/udev-lfs/write_net_rules
@@ -115,7 +115,6 @@ if [ -z "$match" ]; then
fi
basename=${INTERFACE%%[0-9]*}
-match="$match, KERNEL==\"$basename*\""
if [ "$INTERFACE_NAME" ]; then
# external tools may request a custom name