Changeset 1792

Show
Ignore:
Timestamp:
12/16/06 07:07:05 (2 years ago)
Author:
alexander
Message:

Backported rule generators from udev-103
This is necessary because otherwise two network cards may be "swapped"
when hibernating and then resuming.

Location:
branches/6.2/packages/udev
Files:
1 added
1 modified
1 moved

Legend:

Unmodified
Added
Removed
  • branches/6.2/packages/udev/Makefile

    r1725 r1792  
    1515SHA-$(FILE1)= 5cd22b8e9cf1e996871e2bc540d75e57a4f706a3 
    1616 
     17PATCH1= $(DIR)-rule_generator-1.patch 
     18 
    1719# Targets 
    1820 
     
    2830 
    2931compile-stage2: 
     32        patch -Np1 -i ../$(PATCH1) 
    3033        tar xf ../$(FILE1) 
    3134        install -dv /lib/{firmware,udev/devices/{pts,shm}} 
     
    3942        make EXTRAS="`echo extras/*/`" 
    4043        make DESTDIR=/ EXTRAS="`echo extras/*/`" install 
    41         cp $(CONFDIR)/[0-9]* /etc/udev/rules.d/ 
     44        cp $(CONFDIR)/[0-6]* /etc/udev/rules.d/ 
     45        cp $(CONFDIR)/contrib/debian/81-cdrom.rules /etc/udev/rules.d/61-cdrom.rules 
    4246        echo 'ACTION=="add", BUS=="pci", SYSFS{class}=="0x030000", RUN+="detect-video"' >/etc/udev/rules.d/30-video.rules 
    4347        install -m755 ../detect-video ../dhcp-helper /lib/udev 
    44         install -m644 ../50-network.rules /etc/udev/rules.d/ 
     48        install -m644 ../76-network.rules /etc/udev/rules.d/ 
    4549        install -m644 -D docs/writing_udev_rules/index.html \ 
    4650         /usr/share/doc/$(DIR)/index.html