From 993e091009ed4e75bbae2e8551dc18714e80a64d Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Mon, 16 May 2016 14:13:01 +0000 Subject: lvm2: Update udev rules path to /usr/lib These udev rules were being ignored since we configured Systemd to install things in /usr/bin and /usr/lib in 0a0da35e1a693fc909d1628f5e81cb3b2693c057. LVM device nodes weren't being created, and as a result, systems that had LVM volumes configured in fstab, weren't booting. Installing the udev rules in /usr/lib fixes the problem. Change-Id: Ia3372676700c78c655af8721bb8568549eb64666 --- strata/lvm/lvm2.morph | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/strata/lvm/lvm2.morph b/strata/lvm/lvm2.morph index 49b5f0fc..d9633bb9 100644 --- a/strata/lvm/lvm2.morph +++ b/strata/lvm/lvm2.morph @@ -7,11 +7,12 @@ configure-commands: # if left to the default, @sbindir@ is expanded to the literal string # '${exec_prefix}/sbin' in the generated .service files. # -# udev rules *must* go in /lib, they'll be ignored if they go in /usr/lib. +# udev rules *must* go in wherever Systemd is configured to look at. We don't expect +# Systemd to change anymore. - | ./configure --prefix="$PREFIX" \ --sbindir="$PREFIX"/sbin \ - --with-udev-prefix=/ \ + --with-udev-prefix="$PREFIX" \ --with-systemdsystemunitdir="$PREFIX"/lib/systemd/system \ --enable-applib --enable-cmdlib --enable-pkgconfig --enable-lvmetad \ --enable-dmeventd --enable-udev_sync -- cgit v1.2.1