diff options
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2/0001-udev-remove-unsupported-OPTIONS-event_timeout-rule.patch | 39 | ||||
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb | 1 |
2 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2/0001-udev-remove-unsupported-OPTIONS-event_timeout-rule.patch b/meta-oe/recipes-support/lvm2/lvm2/0001-udev-remove-unsupported-OPTIONS-event_timeout-rule.patch new file mode 100644 index 0000000000..5a6db4b886 --- /dev/null +++ b/meta-oe/recipes-support/lvm2/lvm2/0001-udev-remove-unsupported-OPTIONS-event_timeout-rule.patch | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | From e48f8328f9d35f23a24e5b27237e8ebf1dbfa269 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Thu, 10 Oct 2019 22:38:00 -0400 | ||
| 4 | Subject: [PATCH] udev: remove unsupported OPTIONS+="event_timeout" rule | ||
| 5 | |||
| 6 | The OPTIONS+="event_timeout" is Unsupported since systemd/udev version 216, | ||
| 7 | that is ~5 years ago. | ||
| 8 | |||
| 9 | Since systemd/udev version 243, there's a new message printed if unsupported | ||
| 10 | OPTIONS value is used: | ||
| 11 | |||
| 12 | Invalid value for OPTIONS key, ignoring: 'event_timeout=180' | ||
| 13 | |||
| 14 | Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1740666 | ||
| 15 | |||
| 16 | Signed-off-by: Peter Rajnoha <prajnoha@redhat.com> | ||
| 17 | |||
| 18 | Upstream-Status: Backport [https://github.com/lvmteam/lvm2/commit/125f27ac37bc9b93cc96f64052b9681b3d479ee1] | ||
| 19 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 20 | --- | ||
| 21 | udev/11-dm-lvm.rules.in | 2 -- | ||
| 22 | 1 file changed, 2 deletions(-) | ||
| 23 | |||
| 24 | diff --git a/udev/11-dm-lvm.rules.in b/udev/11-dm-lvm.rules.in | ||
| 25 | index 91cb991..7c58994 100644 | ||
| 26 | --- a/udev/11-dm-lvm.rules.in | ||
| 27 | +++ b/udev/11-dm-lvm.rules.in | ||
| 28 | @@ -37,8 +37,6 @@ ENV{DM_SUBSYSTEM_UDEV_FLAG0}!="1", ENV{DM_NOSCAN}=="1", ENV{DM_UDEV_DISABLE_OTHE | ||
| 29 | |||
| 30 | ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=="1", GOTO="lvm_end" | ||
| 31 | |||
| 32 | -OPTIONS+="event_timeout=180" | ||
| 33 | - | ||
| 34 | # Do not create symlinks for inappropriate subdevices. | ||
| 35 | ENV{DM_LV_NAME}=="pvmove?*|?*_vorigin", GOTO="lvm_disable" | ||
| 36 | ENV{DM_LV_LAYER}=="?*", GOTO="lvm_disable" | ||
| 37 | -- | ||
| 38 | 2.23.0 | ||
| 39 | |||
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb b/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb index 9907d4f922..875709cd90 100644 --- a/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb +++ b/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb | |||
| @@ -5,6 +5,7 @@ SRCREV = "913c28917e62577a2ef67152b2e5159237503dda" | |||
| 5 | SRC_URI += " \ | 5 | SRC_URI += " \ |
| 6 | file://0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch \ | 6 | file://0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch \ |
| 7 | file://0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch \ | 7 | file://0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch \ |
| 8 | file://0001-udev-remove-unsupported-OPTIONS-event_timeout-rule.patch \ | ||
| 8 | " | 9 | " |
| 9 | 10 | ||
| 10 | DEPENDS += "autoconf-archive-native" | 11 | DEPENDS += "autoconf-archive-native" |
