summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirza Krak <mirza.krak@hostmobility.com>2017-02-03 09:26:50 +0100
committerMartin Pitt <martinpitt@users.noreply.github.com>2017-02-03 09:26:50 +0100
commitce283b8887455408d5e3178fb6651eeb535d632f (patch)
tree2ac3600e9ac7e43e9f13775d84aeee0ac58ac203
parent7d049e304e8c9f6478bd3c6dc1781adf21d03e80 (diff)
rules: allow systemd to manage UBI volumes (#5214)
UBI is a software layer on top of MTD devices that is used with flash chips.
-rw-r--r--rules/99-systemd.rules.in2
1 files changed, 2 insertions, 0 deletions
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"