summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2022-09-30 17:42:40 +0200
committerFrancesco Dolcini <francesco.dolcini@toradex.com>2022-09-30 15:48:44 +0000
commit1c7ee6861d8682b7c9c8d4bd12695729df8f1a5b (patch)
tree7f4bc2a4e1dfec9e28459d9e5a6e2eddfe3d2434
parent9d61de2a84b78852c74ad0b50910ffd219af621a (diff)
Revert "udev-toradex-rules: prevent mtd related errors"
This reverts commit adbb3d8aa65920ccda9f4afac9e4ab0df2adbbde. This is not achieving the required intent, remove it while we do proceed with a proper investigation on the topic. Related-to: ELB-4805 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
-rw-r--r--recipes-core/udev/files/50-mtd-persistent-storage.rules1
-rw-r--r--recipes-core/udev/udev-toradex-rules.bb2
2 files changed, 0 insertions, 3 deletions
diff --git a/recipes-core/udev/files/50-mtd-persistent-storage.rules b/recipes-core/udev/files/50-mtd-persistent-storage.rules
deleted file mode 100644
index 513ca5f..0000000
--- a/recipes-core/udev/files/50-mtd-persistent-storage.rules
+++ /dev/null
@@ -1 +0,0 @@
-KERNEL=="mtd*", ENV{UDEV_DISABLE_PERSISTENT_STORAGE_RULES_FLAG}="1"
diff --git a/recipes-core/udev/udev-toradex-rules.bb b/recipes-core/udev/udev-toradex-rules.bb
index 23dd0c6..c31f416 100644
--- a/recipes-core/udev/udev-toradex-rules.bb
+++ b/recipes-core/udev/udev-toradex-rules.bb
@@ -4,7 +4,6 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
SRC_URI = "\
file://10-toradex-wifi-ifnames.link \
- file://50-mtd-persistent-storage.rules \
file://99-toradex.rules \
file://bootpart-automount.rules \
file://toradex-adc.sh \
@@ -16,7 +15,6 @@ do_install () {
install -d ${D}${sysconfdir}/udev/scripts
install -d ${D}${sysconfdir}/systemd/network
install -m 0644 ${WORKDIR}/10-toradex-wifi-ifnames.link ${D}${sysconfdir}/systemd/network/
- install -m 0644 ${WORKDIR}/50-mtd-persistent-storage.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${WORKDIR}/99-toradex.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${WORKDIR}/bootpart-automount.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0755 ${WORKDIR}/toradex-adc.sh ${D}${sysconfdir}/udev/scripts/