From 036d66a47c9f638871b8cb2b6170c7a3a17ad12e Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 12 Dec 2014 16:44:30 +0100 Subject: [PATCH] odu-static-devicenames: rename static-devicenames-odu to odu-static-devicenames [hfreyther: I asked to follow machine-name pattern] Related: SYS#732 --- .../files/odu-persistens-serial.rules} | 8 ++++---- .../odu-static-devicenames_1.bb} | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) rename recipes-bsp/{static-devicenames-odu/files/persistens-serial-odu.rules => odu-static-devicenames/files/odu-persistens-serial.rules} (79%) rename recipes-bsp/{static-devicenames-odu/static-devicenames-odu_1.bb => odu-static-devicenames/odu-static-devicenames_1.bb} (67%) diff --git a/recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules b/recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules similarity index 79% rename from recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules rename to recipes-bsp/odu-static-devicenames/files/odu-persistens-serial.rules index d942af9..007075d 100644 --- a/recipes-bsp/static-devicenames-odu/files/persistens-serial-odu.rules +++ b/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" diff --git a/recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb b/recipes-bsp/odu-static-devicenames/odu-static-devicenames_1.bb similarity index 67% rename from recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb rename to recipes-bsp/odu-static-devicenames/odu-static-devicenames_1.bb index a6d2359..781e4b2 100644 --- a/recipes-bsp/static-devicenames-odu/static-devicenames-odu_1.bb +++ b/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 }