odu-static-devicenames: rename static-devicenames-odu to odu-static-devicenames
[hfreyther: I asked to follow machine-name pattern] Related: SYS#732
This commit is contained in:
parent
1c59f2af08
commit
036d66a47c
|
@ -1,8 +1,8 @@
|
|||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION=="remove", GOTO="persistent_serial_odu_end"
|
||||
SUBSYSTEM!="tty", GOTO="persistent_serial_odu_end"
|
||||
KERNEL!="ttyACM[0-9]*", GOTO="persistent_serial_odu_end"
|
||||
ACTION=="remove", GOTO="odu_persistent_serial_end"
|
||||
SUBSYSTEM!="tty", GOTO="odu_persistent_serial_end"
|
||||
KERNEL!="ttyACM[0-9]*", GOTO="odu_persistent_serial_end"
|
||||
|
||||
KERNELS=="1-1.2:1.0", SYMLINK+="ttyModemScan0"
|
||||
KERNELS=="1-1.2:1.2", SYMLINK+="ttyModemScan1"
|
||||
|
@ -20,4 +20,4 @@ KERNELS=="1-1.3:1.8", SYMLINK+="ttyModemUplink4"
|
|||
KERNELS=="1-1.3:1.10", SYMLINK+="ttyModemUplink5"
|
||||
KERNELS=="1-1.3:1.12", SYMLINK+="ttyModemUplink6"
|
||||
|
||||
LABEL="persistent_serial_odu_end"
|
||||
LABEL="odu_persistent_serial_end"
|
|
@ -2,7 +2,7 @@ DESCRIPTION = "Udev helper script for static device names on the sysmocom odu"
|
|||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
SRC_URI = "file://persistens-serial-odu.rules"
|
||||
SRC_URI = "file://odu-persistens-serial.rules"
|
||||
|
||||
PACKAGES = "${PN}"
|
||||
FILES_${PN} = "${BASELIB}/udev/rules.d/*"
|
||||
|
@ -10,5 +10,5 @@ RDPEPENDS_${PN} = "udev"
|
|||
|
||||
do_install() {
|
||||
install -d ${D}/${BASELIB}/udev/rules.d
|
||||
install -m 0644 ${WORKDIR}/persistens-serial-odu.rules ${D}/${BASELIB}/udev/rules.d/70-persistens-serial-odu.rules
|
||||
install -m 0644 ${WORKDIR}/odu-persistens-serial.rules ${D}/${BASELIB}/udev/rules.d/70-odu-persistens-serial.rules
|
||||
}
|
Loading…
Reference in New Issue