<commit_before>SUMMARY = "Specific udev rules for systemd"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

PR = "r0"

SRC_URI += " \
            file://50-gsmtty1.rules \
            file://50-ppp0.rules \
            file://50-sd.rules \
            file://50-ttygsm0-hl78xx-bl.rules \
            file://50-ttygsm0.rules \
            file://50-ttygsm1-hl78xx.rules \
            file://50-ttygsm2.rules \
            file://50-ttygsm4.rules \
            file://50-ttygsm5.rules \
            file://50-ttygsm6.rules \
            file://50-ttymxc.rules \
            file://50-wlan0.rules \
"

FILES_${PN}_append = " \
    ${sysconfdir}/udev/rules.d/ \
"

do_install() {
    install -d ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-gsmtty1.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ppp0.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-sd.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm0-hl78xx-bl.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm0.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm1-hl78xx.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm2.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm4.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm5.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm6.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttymxc.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-wlan0.rules ${D}${sysconfdir}/udev/rules.d/
}<commit_msg>Removed obsolete file from recipe.<commit_after>SUMMARY = "Specific udev rules for systemd"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

PR = "r0"

SRC_URI += " \
            file://50-gsmtty1.rules \
            file://50-sd.rules \
            file://50-ttygsm0-hl78xx-bl.rules \
            file://50-ttygsm0.rules \
            file://50-ttygsm1-hl78xx.rules \
            file://50-ttygsm2.rules \
            file://50-ttygsm4.rules \
            file://50-ttygsm5.rules \
            file://50-ttygsm6.rules \
            file://50-ttymxc.rules \
            file://50-wlan0.rules \
"

FILES_${PN}_append = " \
    ${sysconfdir}/udev/rules.d/ \
"

do_install() {
    install -d ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-gsmtty1.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-sd.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm0-hl78xx-bl.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm0.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm1-hl78xx.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm2.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm4.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm5.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttygsm6.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-ttymxc.rules ${D}${sysconfdir}/udev/rules.d/
    install -m 0644 ${WORKDIR}/50-wlan0.rules ${D}${sysconfdir}/udev/rules.d/
}
{'fraction_non_alphanumeric': 0.19225167491989514, 'fraction_numerical': 0.0809787357995922, 'mean_word_length': 2.5475206611570247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7469891', 'n_tokens_mistral': 1549, 'n_tokens_neox': 1399, 'n_words': 180}