]> sourceware.org Git - lvm2.git/commitdiff
make: correct sed line in udev's Makefile
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 22 Oct 2013 13:13:58 +0000 (15:13 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Tue, 22 Oct 2013 13:13:58 +0000 (15:13 +0200)
udev/Makefile.in

index 8f0dc8a7823219468643cbc850d6bbaf274551c6..40a4671634a664849b5e3ff948ac0d15baba91cb 100644 (file)
@@ -47,9 +47,7 @@ BLKID_RULE=IMPORT{program}=\"${SBIN}\/blkid -o udev -p \$$tempnode\"
 endif
 
 ifeq ("@UDEV_SYSTEMD_BACKGROUND_JOBS@", "yes")
-PVSCAN_RULE="ENV{SYSTEMD_ALIAS}=\"/dev/block/$$major:$$minor\" \
-            ENV{ID_MODEL}=\"LVM PV $$env{ID_FS_UUID_ENC} on /dev/$$name\" \
-            ENV{SYSTEMD_WANTS}=\"lvm2-pvscan@\$$devnode.service\""
+PVSCAN_RULE=ENV{SYSTEMD_ALIAS}=\"\/dev\/block\/\$$major:\$$minor\"\nENV{ID_MODEL}=\"LVM PV \$$env{ID_FS_UUID_ENC} on \/dev\/\$$name\"\nENV{SYSTEMD_WANTS}=\"lvm2-pvscan@\$$major:\$$minor.service\"
 else
 PVSCAN_RULE=RUN\+\=\"$(LVM_EXEC)/lvm pvscan --background --cache --activate ay --major \$$major --minor \$$minor\", ENV{LVM_SCANNED}=\"1\"
 endif
This page took 0.038331 seconds and 5 git commands to generate.