diff options
author | Benjamin Albrecht <[email protected]> | 2015-11-20 17:48:54 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-12-18 13:46:23 -0800 |
commit | 82dba185c8780e439958d1524f91167a2920d76c (patch) | |
tree | e26581ba517dbaa5c03ce8cbeb63d47f483be6bc /contrib/initramfs/Makefile.am | |
parent | 6b4e21c60eda9d9e514c933de7cbe214aa77f7f4 (diff) |
Activate LVM volume groups before looking for zpools.
Original-patch-by: @jgoerzen
Signed-off-by: Benjamin Albrecht <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes zfsonlinux/pkg-zfs#102
Closes #4029
Diffstat (limited to 'contrib/initramfs/Makefile.am')
-rw-r--r-- | contrib/initramfs/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/initramfs/Makefile.am b/contrib/initramfs/Makefile.am index fa2b5a283..998e588ab 100644 --- a/contrib/initramfs/Makefile.am +++ b/contrib/initramfs/Makefile.am @@ -1,15 +1,16 @@ initrddir = $(datarootdir)/initramfs-tools -initrd_SCRIPTS = conf-hooks.d/zfs hooks/zfs scripts/zfs +initrd_SCRIPTS = conf-hooks.d/zfs hooks/zfs scripts/zfs scripts/local-top/zfs EXTRA_DIST = \ $(top_srcdir)/contrib/initramfs/conf-hooks.d/zfs \ $(top_srcdir)/contrib/initramfs/hooks/zfs \ $(top_srcdir)/contrib/initramfs/scripts/zfs \ + $(top_srcdir)/contrib/initramfs/scripts/local-top/zfs \ $(top_srcdir)/contrib/initramfs/README.initramfs.markdown install-initrdSCRIPTS: $(EXTRA_DIST) - for d in conf-hooks.d hooks scripts; do \ + for d in conf-hooks.d hooks scripts scripts/local-top; do \ $(MKDIR_P) $(DESTDIR)$(initrddir)/$$d; \ cp $(top_srcdir)/contrib/initramfs/$$d/zfs \ $(DESTDIR)$(initrddir)/$$d/; \ |