diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-05-16 14:13:01 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2016-05-16 14:13:07 +0000 |
commit | 993e091009ed4e75bbae2e8551dc18714e80a64d (patch) | |
tree | c97c31879deeb88d1b4cefaa1cf44c48e054e477 /strata/lvm | |
parent | c2c896afea90e68d39b1a5955743e3dd9bf6fbe0 (diff) | |
download | definitions-993e091009ed4e75bbae2e8551dc18714e80a64d.tar.gz |
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
Diffstat (limited to 'strata/lvm')
-rw-r--r-- | strata/lvm/lvm2.morph | 5 |
1 files 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 |