lvm: Fixes bug-13151 - update 69-dm-lvm.rules

- Redhat updated lvm udev rule 69-dm-lvm.rules to only work with systemd
- Update 69-dm-lvm.rules to work with IPFire based on input from @Daniel of what worked
   to mount an existing lvm volume

Suggested-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
This commit is contained in:
Adolf Belka
2023-06-18 20:02:09 +02:00
committed by Peter Müller
parent d71d12a32e
commit afbb7db681
2 changed files with 85 additions and 0 deletions

View File

@@ -85,5 +85,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--enable-udev_sync
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
# copy the tailored lvm udev rules file that will mount volumes without systemd
cp -rf $(DIR_SRC)/config/lvm/69-dm-lvm.rules /lib/udev/rules.d/
@rm -rf $(DIR_APP)
@$(POSTBUILD)