diff options
author | Eddie James <eajames@us.ibm.com> | 2017-09-06 17:01:15 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-09-08 17:37:20 +0000 |
commit | abd654693e78213d413deaa2d339ecd154fbc646 (patch) | |
tree | cff94731bd5282a1e4b1a0c029cdf4b06406bdce /meta-phosphor/common/recipes-bsp | |
parent | 766749ed08792d1a90e6fd76e068012b27325719 (diff) | |
download | talos-openbmc-abd654693e78213d413deaa2d339ecd154fbc646.tar.gz talos-openbmc-abd654693e78213d413deaa2d339ecd154fbc646.zip |
Fix mtd partitions udev rule
Prevent the ro partitions from triggering the udev rule. They don't have the
necessary "name" attribute and so udev attempts to symlink them to the base
/dev/mtd/ directory.
Resolves openbmc/openbmc#2172
Change-Id: I438feb796b3e5c070949757d178d5382ce3a9e0f
Signed-off-by: Eddie James <eajames@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-bsp')
-rw-r--r-- | meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules b/meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules index 16a7cfe93..28e458645 100644 --- a/meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules +++ b/meta-phosphor/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules @@ -1 +1 @@ -SUBSYSTEM=="mtd", SYMLINK+="mtd/%s{name}" +ENV{DEVTYPE}=="mtd", SYMLINK+="mtd/%s{name}" |