[make-initrd] [PATCH v1 39/41] workaround: use PUT_FILES= instead PUT_UDEV_RULES=

Leonid Krivoshein klark.devel at gmail.com
Fri Sep 24 18:59:30 MSK 2021


add-udev-rules and PUT_UDEV_RULES temporary not working, see also:
https://lists.altlinux.org/pipermail/make-initrd/2021-September/000589.html
---
  make-initrd/features/bootchain-waitdev/config.mk | 6 +++---
  make-initrd/features/bootchain-waitdev/rules.mk  | 2 --
  2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/make-initrd/features/bootchain-waitdev/config.mk 
b/make-initrd/features/bootchain-waitdev/config.mk
index 38368e9..39df0dc 100644
--- a/make-initrd/features/bootchain-waitdev/config.mk
+++ b/make-initrd/features/bootchain-waitdev/config.mk
@@ -1,6 +1,6 @@
-$(call feature-requires,bootchain-core add-udev-rules)
+$(call feature-requires,bootchain-core)
   BOOTCHAIN_WAITDEV_DATADIR = $(FEATURESDIR)/bootchain-waitdev/data
  -BOOTCHAIN_WAITDEV_RULES = \
-	*-cdrom_id.rules
+BOOTCHAIN_WAITDEV_FILES = \
+	/lib/udev/rules.d/60-cdrom_id.rules
diff --git a/make-initrd/features/bootchain-waitdev/rules.mk 
b/make-initrd/features/bootchain-waitdev/rules.mk
index 44c05f2..a9cd6c3 100644
--- a/make-initrd/features/bootchain-waitdev/rules.mk
+++ b/make-initrd/features/bootchain-waitdev/rules.mk
@@ -1,4 +1,2 @@
-PUT_UDEV_RULES += $(BOOTCHAIN_WAITDEV_RULES)
-
  PUT_FEATURE_DIRS  += $(BOOTCHAIN_WAITDEV_DATADIR)
  PUT_FEATURE_FILES += $(BOOTCHAIN_WAITDEV_FILES)
-- 
2.21.0




More information about the Make-initrd mailing list