From ce283b8887455408d5e3178fb6651eeb535d632f Mon Sep 17 00:00:00 2001 From: Mirza Krak Date: Fri, 3 Feb 2017 09:26:50 +0100 Subject: [PATCH] rules: allow systemd to manage UBI volumes (#5214) UBI is a software layer on top of MTD devices that is used with flash chips. --- rules/99-systemd.rules.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in index 98153bce0f..edd1faa17a 100644 --- a/rules/99-systemd.rules.in +++ b/rules/99-systemd.rules.in @@ -10,6 +10,8 @@ ACTION=="remove", GOTO="systemd_end" SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*|ttysclp*|sclp_line*|3270/tty[0-9]*", TAG+="systemd" KERNEL=="vport*", TAG+="systemd" +SUBSYSTEM=="ubi", TAG+="systemd" + SUBSYSTEM=="block", TAG+="systemd" SUBSYSTEM=="block", ACTION=="add", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="0"