From: Mirza Krak Date: Fri, 3 Feb 2017 08:26:50 +0000 (+0100) Subject: rules: allow systemd to manage UBI volumes (#5214) X-Git-Tag: v233~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce283b8887455408d5e3178fb6651eeb535d632f;p=thirdparty%2Fsystemd.git rules: allow systemd to manage UBI volumes (#5214) UBI is a software layer on top of MTD devices that is used with flash chips. --- diff --git a/rules/99-systemd.rules.in b/rules/99-systemd.rules.in index 98153bce0f7..edd1faa17a9 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"