commit | a7f1b47a1e6e38d65519a225c7fbd609bbb2bf7d | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@us.ibm.com> | Wed Sep 06 17:01:15 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri Sep 08 17:37:20 2017 +0000 |
tree | 2375bcd7632d8da9658a7fb4dd5e048868e4c755 | |
parent | e3900db5c326e09747d056f9e3e2fde6ca4efe11 [diff] [blame] |
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>
diff --git a/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules b/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules index 16a7cfe..28e4586 100644 --- a/common/recipes-bsp/u-boot/files/76-mtd-partitions.rules +++ b/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}"