Browse Source

odu-static-devicenames: rename static-devicenames-odu to odu-static-devicenames

[hfreyther: I asked to follow machine-name pattern]

Related: SYS#732
neels/inmarsat
Henning Heinold 7 years ago
committed by Holger Hans Peter Freyther
parent
commit
036d66a47c
  1. 8
      recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules
  2. 4
      recipes-bsp/odu-static-devicenames/odu-static-devicenames_1.bb

8
recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules → recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules

@ -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"

4
recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb → recipes-bsp/odu-static-devicenames/odu-static-devicenames_1.bb

@ -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…
Cancel
Save