]> git.proxmox.com Git - mirror_zfs-debian.git/blob - debian/patches/0004-Remove-the-upstream-dracut-component.patch
45412e70efb583e2fb86858667eb724014e71cea
[mirror_zfs-debian.git] / debian / patches / 0004-Remove-the-upstream-dracut-component.patch
1 From 5f451a636a56fdec948e0541032adfd37ecd667b Mon Sep 17 00:00:00 2001
2 From: Darik Horn <dajhorn@vanadac.com>
3 Date: Tue, 17 Jan 2012 20:27:32 -0600
4 Subject: [PATCH 4/6] Remove the upstream dracut component.
5
6 The dracut/ component broke deb systems when it first added to the
7 upstream ZoL repository, had a near-zero download count when it was
8 fixed, seems to be unmaintained, and is incompatible with the
9 dracut-005 package that is currently published in Debian and Ubuntu.
10 ---
11 Makefile.am | 2 +-
12 configure.ac | 2 -
13 dracut/90zfs/.gitignore | 3 -
14 dracut/90zfs/Makefile.am | 21 --
15 dracut/90zfs/Makefile.in | 549 --------------------------------
16 dracut/90zfs/module-setup.sh.in | 55 ----
17 dracut/90zfs/mount-zfs.sh.in | 71 ----
18 dracut/90zfs/parse-zfs.sh.in | 58 ----
19 dracut/Makefile.am | 3 -
20 dracut/Makefile.in | 669 ---------------------------------------
21 dracut/README.dracut.markdown | 166 ----------
22 11 files changed, 1 insertions(+), 1598 deletions(-)
23 delete mode 100644 dracut/90zfs/.gitignore
24 delete mode 100644 dracut/90zfs/Makefile.am
25 delete mode 100644 dracut/90zfs/Makefile.in
26 delete mode 100755 dracut/90zfs/module-setup.sh.in
27 delete mode 100755 dracut/90zfs/mount-zfs.sh.in
28 delete mode 100755 dracut/90zfs/parse-zfs.sh.in
29 delete mode 100644 dracut/Makefile.am
30 delete mode 100644 dracut/Makefile.in
31 delete mode 100644 dracut/README.dracut.markdown
32
33 diff --git a/Makefile.am b/Makefile.am
34 index 3ab5cb3..b8f64ba 100644
35 --- a/Makefile.am
36 +++ b/Makefile.am
37 @@ -4,7 +4,7 @@ include $(top_srcdir)/config/tgz.am
38 include $(top_srcdir)/config/arch.am
39
40 if CONFIG_USER
41 -USER_DIR = dracut udev etc man scripts lib cmd
42 +USER_DIR = udev etc man scripts lib cmd
43 endif
44 if CONFIG_KERNEL
45 KERNEL_DIR = module
46 diff --git a/configure.ac b/configure.ac
47 index 14aed03..46e372f 100644
48 --- a/configure.ac
49 +++ b/configure.ac
50 @@ -55,8 +55,6 @@ ZFS_AC_DEBUG
51
52 AC_CONFIG_FILES([
53 Makefile
54 - dracut/Makefile
55 - dracut/90zfs/Makefile
56 udev/Makefile
57 udev/rules.d/Makefile
58 etc/Makefile
59 diff --git a/dracut/90zfs/.gitignore b/dracut/90zfs/.gitignore
60 deleted file mode 100644
61 index 6f4a5ae..0000000
62 --- a/dracut/90zfs/.gitignore
63 +++ /dev/null
64 @@ -1,3 +0,0 @@
65 -module-setup.sh
66 -mount-zfs.sh
67 -parse-zfs.sh
68 diff --git a/dracut/90zfs/Makefile.am b/dracut/90zfs/Makefile.am
69 deleted file mode 100644
70 index 4112061..0000000
71 --- a/dracut/90zfs/Makefile.am
72 +++ /dev/null
73 @@ -1,21 +0,0 @@
74 -pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
75 -pkgdracut_SCRIPTS = \
76 - $(top_srcdir)/dracut/90zfs/module-setup.sh \
77 - $(top_srcdir)/dracut/90zfs/mount-zfs.sh \
78 - $(top_srcdir)/dracut/90zfs/parse-zfs.sh
79 -
80 -EXTRA_DIST = \
81 - $(top_srcdir)/dracut/90zfs/module-setup.sh.in \
82 - $(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
83 - $(top_srcdir)/dracut/90zfs/parse-zfs.sh.in
84 -
85 -$(pkgdracut_SCRIPTS):
86 - -$(SED) -e 's,@bindir\@,$(bindir),g' \
87 - -e 's,@sbindir\@,$(sbindir),g' \
88 - -e 's,@udevdir\@,$(udevdir),g' \
89 - -e 's,@udevruledir\@,$(udevruledir),g' \
90 - -e 's,@sysconfdir\@,$(sysconfdir),g' \
91 - '$@.in' >'$@'
92 -
93 -distclean-local::
94 - -$(RM) $(pkgdracut_SCRIPTS)
95 diff --git a/dracut/90zfs/Makefile.in b/dracut/90zfs/Makefile.in
96 deleted file mode 100644
97 index ca1d860..0000000
98 --- a/dracut/90zfs/Makefile.in
99 +++ /dev/null
100 @@ -1,549 +0,0 @@
101 -# Makefile.in generated by automake 1.11.1 from Makefile.am.
102 -# @configure_input@
103 -
104 -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
105 -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
106 -# Inc.
107 -# This Makefile.in is free software; the Free Software Foundation
108 -# gives unlimited permission to copy and/or distribute it,
109 -# with or without modifications, as long as this notice is preserved.
110 -
111 -# This program is distributed in the hope that it will be useful,
112 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
113 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
114 -# PARTICULAR PURPOSE.
115 -
116 -@SET_MAKE@
117 -
118 -VPATH = @srcdir@
119 -pkgdatadir = $(datadir)/@PACKAGE@
120 -pkgincludedir = $(includedir)/@PACKAGE@
121 -pkglibdir = $(libdir)/@PACKAGE@
122 -pkglibexecdir = $(libexecdir)/@PACKAGE@
123 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
124 -install_sh_DATA = $(install_sh) -c -m 644
125 -install_sh_PROGRAM = $(install_sh) -c
126 -install_sh_SCRIPT = $(install_sh) -c
127 -INSTALL_HEADER = $(INSTALL_DATA)
128 -transform = $(program_transform_name)
129 -NORMAL_INSTALL = :
130 -PRE_INSTALL = :
131 -POST_INSTALL = :
132 -NORMAL_UNINSTALL = :
133 -PRE_UNINSTALL = :
134 -POST_UNINSTALL = :
135 -build_triplet = @build@
136 -host_triplet = @host@
137 -target_triplet = @target@
138 -subdir = dracut/90zfs
139 -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
140 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
141 -am__aclocal_m4_deps = \
142 - $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
143 - $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
144 - $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
145 - $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
146 - $(top_srcdir)/config/kernel-bdi.m4 \
147 - $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
148 - $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
149 - $(top_srcdir)/config/kernel-bio-failfast.m4 \
150 - $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
151 - $(top_srcdir)/config/kernel-blk-end-request.m4 \
152 - $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
153 - $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
154 - $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
155 - $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
156 - $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
157 - $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
158 - $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
159 - $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
160 - $(top_srcdir)/config/kernel-evict-inode.m4 \
161 - $(top_srcdir)/config/kernel-fmode-t.m4 \
162 - $(top_srcdir)/config/kernel-fsync.m4 \
163 - $(top_srcdir)/config/kernel-get-disk-ro.m4 \
164 - $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
165 - $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
166 - $(top_srcdir)/config/kernel-kobj-name-len.m4 \
167 - $(top_srcdir)/config/kernel-mount-nodev.m4 \
168 - $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
169 - $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
170 - $(top_srcdir)/config/kernel-rq-is_sync.m4 \
171 - $(top_srcdir)/config/kernel-security-inode-init.m4 \
172 - $(top_srcdir)/config/kernel-set-nlink.m4 \
173 - $(top_srcdir)/config/kernel-shrink.m4 \
174 - $(top_srcdir)/config/kernel-truncate-setsize.m4 \
175 - $(top_srcdir)/config/kernel-xattr-handler.m4 \
176 - $(top_srcdir)/config/kernel.m4 \
177 - $(top_srcdir)/config/user-arch.m4 \
178 - $(top_srcdir)/config/user-frame-larger-than.m4 \
179 - $(top_srcdir)/config/user-ioctl.m4 \
180 - $(top_srcdir)/config/user-libblkid.m4 \
181 - $(top_srcdir)/config/user-libuuid.m4 \
182 - $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
183 - $(top_srcdir)/config/user-selinux.m4 \
184 - $(top_srcdir)/config/user-udev.m4 \
185 - $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
186 - $(top_srcdir)/config/zfs-build.m4 \
187 - $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
188 -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
189 - $(ACLOCAL_M4)
190 -mkinstalldirs = $(install_sh) -d
191 -CONFIG_HEADER = $(top_builddir)/zfs_config.h
192 -CONFIG_CLEAN_FILES =
193 -CONFIG_CLEAN_VPATH_FILES =
194 -am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
195 -am__vpath_adj = case $$p in \
196 - $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
197 - *) f=$$p;; \
198 - esac;
199 -am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
200 -am__install_max = 40
201 -am__nobase_strip_setup = \
202 - srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
203 -am__nobase_strip = \
204 - for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
205 -am__nobase_list = $(am__nobase_strip_setup); \
206 - for p in $$list; do echo "$$p $$p"; done | \
207 - sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
208 - $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
209 - if (++n[$$2] == $(am__install_max)) \
210 - { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
211 - END { for (dir in files) print dir, files[dir] }'
212 -am__base_list = \
213 - sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
214 - sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
215 -am__installdirs = "$(DESTDIR)$(pkgdracutdir)"
216 -SCRIPTS = $(pkgdracut_SCRIPTS)
217 -AM_V_GEN = $(am__v_GEN_$(V))
218 -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
219 -am__v_GEN_0 = @echo " GEN " $@;
220 -AM_V_at = $(am__v_at_$(V))
221 -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
222 -am__v_at_0 = @
223 -SOURCES =
224 -DIST_SOURCES =
225 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
226 -ACLOCAL = @ACLOCAL@
227 -ALIEN = @ALIEN@
228 -ALIEN_VERSION = @ALIEN_VERSION@
229 -AMTAR = @AMTAR@
230 -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
231 -AR = @AR@
232 -AUTOCONF = @AUTOCONF@
233 -AUTOHEADER = @AUTOHEADER@
234 -AUTOMAKE = @AUTOMAKE@
235 -AWK = @AWK@
236 -CC = @CC@
237 -CCAS = @CCAS@
238 -CCASDEPMODE = @CCASDEPMODE@
239 -CCASFLAGS = @CCASFLAGS@
240 -CCDEPMODE = @CCDEPMODE@
241 -CFLAGS = @CFLAGS@
242 -CPP = @CPP@
243 -CPPFLAGS = @CPPFLAGS@
244 -CYGPATH_W = @CYGPATH_W@
245 -DEBUG_CFLAGS = @DEBUG_CFLAGS@
246 -DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
247 -DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
248 -DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
249 -DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
250 -DEFS = @DEFS@
251 -DEPDIR = @DEPDIR@
252 -DPKG = @DPKG@
253 -DPKGBUILD = @DPKGBUILD@
254 -DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
255 -DPKG_VERSION = @DPKG_VERSION@
256 -DSYMUTIL = @DSYMUTIL@
257 -DUMPBIN = @DUMPBIN@
258 -ECHO_C = @ECHO_C@
259 -ECHO_N = @ECHO_N@
260 -ECHO_T = @ECHO_T@
261 -EGREP = @EGREP@
262 -EXEEXT = @EXEEXT@
263 -FGREP = @FGREP@
264 -FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
265 -GREP = @GREP@
266 -HAVE_ALIEN = @HAVE_ALIEN@
267 -HAVE_DPKG = @HAVE_DPKG@
268 -HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
269 -HAVE_MAKEPKG = @HAVE_MAKEPKG@
270 -HAVE_PACMAN = @HAVE_PACMAN@
271 -HAVE_RPM = @HAVE_RPM@
272 -HAVE_RPMBUILD = @HAVE_RPMBUILD@
273 -INSTALL = @INSTALL@
274 -INSTALL_DATA = @INSTALL_DATA@
275 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
276 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
277 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
278 -KERNELCPPFLAGS = @KERNELCPPFLAGS@
279 -KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
280 -LD = @LD@
281 -LDFLAGS = @LDFLAGS@
282 -LIBBLKID = @LIBBLKID@
283 -LIBOBJS = @LIBOBJS@
284 -LIBS = @LIBS@
285 -LIBSELINUX = @LIBSELINUX@
286 -LIBTOOL = @LIBTOOL@
287 -LIBUUID = @LIBUUID@
288 -LINUX = @LINUX@
289 -LINUX_OBJ = @LINUX_OBJ@
290 -LINUX_SYMBOLS = @LINUX_SYMBOLS@
291 -LINUX_VERSION = @LINUX_VERSION@
292 -LIPO = @LIPO@
293 -LN_S = @LN_S@
294 -LTLIBOBJS = @LTLIBOBJS@
295 -MAINT = @MAINT@
296 -MAKEINFO = @MAKEINFO@
297 -MAKEPKG = @MAKEPKG@
298 -MAKEPKG_VERSION = @MAKEPKG_VERSION@
299 -MKDIR_P = @MKDIR_P@
300 -NM = @NM@
301 -NMEDIT = @NMEDIT@
302 -NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
303 -OBJDUMP = @OBJDUMP@
304 -OBJEXT = @OBJEXT@
305 -OTOOL = @OTOOL@
306 -OTOOL64 = @OTOOL64@
307 -PACKAGE = @PACKAGE@
308 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
309 -PACKAGE_NAME = @PACKAGE_NAME@
310 -PACKAGE_STRING = @PACKAGE_STRING@
311 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
312 -PACKAGE_VERSION = @PACKAGE_VERSION@
313 -PACMAN = @PACMAN@
314 -PACMAN_VERSION = @PACMAN_VERSION@
315 -PATH_SEPARATOR = @PATH_SEPARATOR@
316 -RANLIB = @RANLIB@
317 -RPM = @RPM@
318 -RPMBUILD = @RPMBUILD@
319 -RPMBUILD_VERSION = @RPMBUILD_VERSION@
320 -RPM_VERSION = @RPM_VERSION@
321 -SED = @SED@
322 -SET_MAKE = @SET_MAKE@
323 -SHELL = @SHELL@
324 -SPL = @SPL@
325 -SPL_OBJ = @SPL_OBJ@
326 -SPL_SYMBOLS = @SPL_SYMBOLS@
327 -SPL_VERSION = @SPL_VERSION@
328 -STRIP = @STRIP@
329 -TARGET_ASM_DIR = @TARGET_ASM_DIR@
330 -VENDOR = @VENDOR@
331 -VERSION = @VERSION@
332 -ZFS_CONFIG = @ZFS_CONFIG@
333 -ZFS_META_ALIAS = @ZFS_META_ALIAS@
334 -ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
335 -ZFS_META_DATA = @ZFS_META_DATA@
336 -ZFS_META_LICENSE = @ZFS_META_LICENSE@
337 -ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
338 -ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
339 -ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
340 -ZFS_META_NAME = @ZFS_META_NAME@
341 -ZFS_META_RELEASE = @ZFS_META_RELEASE@
342 -ZFS_META_VERSION = @ZFS_META_VERSION@
343 -ZLIB = @ZLIB@
344 -abs_builddir = @abs_builddir@
345 -abs_srcdir = @abs_srcdir@
346 -abs_top_builddir = @abs_top_builddir@
347 -abs_top_srcdir = @abs_top_srcdir@
348 -ac_ct_CC = @ac_ct_CC@
349 -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
350 -am__include = @am__include@
351 -am__leading_dot = @am__leading_dot@
352 -am__quote = @am__quote@
353 -am__tar = @am__tar@
354 -am__untar = @am__untar@
355 -bindir = @bindir@
356 -build = @build@
357 -build_alias = @build_alias@
358 -build_cpu = @build_cpu@
359 -build_os = @build_os@
360 -build_vendor = @build_vendor@
361 -builddir = @builddir@
362 -datadir = @datadir@
363 -datarootdir = @datarootdir@
364 -docdir = @docdir@
365 -dvidir = @dvidir@
366 -exec_prefix = @exec_prefix@
367 -host = @host@
368 -host_alias = @host_alias@
369 -host_cpu = @host_cpu@
370 -host_os = @host_os@
371 -host_vendor = @host_vendor@
372 -htmldir = @htmldir@
373 -includedir = @includedir@
374 -infodir = @infodir@
375 -install_sh = @install_sh@
376 -libdir = @libdir@
377 -libexecdir = @libexecdir@
378 -localedir = @localedir@
379 -localstatedir = @localstatedir@
380 -lt_ECHO = @lt_ECHO@
381 -mandir = @mandir@
382 -mkdir_p = @mkdir_p@
383 -oldincludedir = @oldincludedir@
384 -pdfdir = @pdfdir@
385 -prefix = @prefix@
386 -program_transform_name = @program_transform_name@
387 -psdir = @psdir@
388 -sbindir = @sbindir@
389 -sharedstatedir = @sharedstatedir@
390 -srcdir = @srcdir@
391 -sysconfdir = @sysconfdir@
392 -target = @target@
393 -target_alias = @target_alias@
394 -target_cpu = @target_cpu@
395 -target_os = @target_os@
396 -target_vendor = @target_vendor@
397 -top_build_prefix = @top_build_prefix@
398 -top_builddir = @top_builddir@
399 -top_srcdir = @top_srcdir@
400 -udevdir = @udevdir@
401 -udevruledir = @udevruledir@
402 -pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
403 -pkgdracut_SCRIPTS = \
404 - $(top_srcdir)/dracut/90zfs/module-setup.sh \
405 - $(top_srcdir)/dracut/90zfs/mount-zfs.sh \
406 - $(top_srcdir)/dracut/90zfs/parse-zfs.sh
407 -
408 -EXTRA_DIST = \
409 - $(top_srcdir)/dracut/90zfs/module-setup.sh.in \
410 - $(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
411 - $(top_srcdir)/dracut/90zfs/parse-zfs.sh.in
412 -
413 -all: all-am
414 -
415 -.SUFFIXES:
416 -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
417 - @for dep in $?; do \
418 - case '$(am__configure_deps)' in \
419 - *$$dep*) \
420 - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
421 - && { if test -f $@; then exit 0; else break; fi; }; \
422 - exit 1;; \
423 - esac; \
424 - done; \
425 - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dracut/90zfs/Makefile'; \
426 - $(am__cd) $(top_srcdir) && \
427 - $(AUTOMAKE) --gnu dracut/90zfs/Makefile
428 -.PRECIOUS: Makefile
429 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
430 - @case '$?' in \
431 - *config.status*) \
432 - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
433 - *) \
434 - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
435 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
436 - esac;
437 -
438 -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
439 - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
440 -
441 -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
442 - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
443 -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
444 - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
445 -$(am__aclocal_m4_deps):
446 -install-pkgdracutSCRIPTS: $(pkgdracut_SCRIPTS)
447 - @$(NORMAL_INSTALL)
448 - test -z "$(pkgdracutdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdracutdir)"
449 - @list='$(pkgdracut_SCRIPTS)'; test -n "$(pkgdracutdir)" || list=; \
450 - for p in $$list; do \
451 - if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
452 - if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
453 - done | \
454 - sed -e 'p;s,.*/,,;n' \
455 - -e 'h;s|.*|.|' \
456 - -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
457 - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
458 - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
459 - if ($$2 == $$4) { files[d] = files[d] " " $$1; \
460 - if (++n[d] == $(am__install_max)) { \
461 - print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
462 - else { print "f", d "/" $$4, $$1 } } \
463 - END { for (d in files) print "f", d, files[d] }' | \
464 - while read type dir files; do \
465 - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
466 - test -z "$$files" || { \
467 - echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(pkgdracutdir)$$dir'"; \
468 - $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(pkgdracutdir)$$dir" || exit $$?; \
469 - } \
470 - ; done
471 -
472 -uninstall-pkgdracutSCRIPTS:
473 - @$(NORMAL_UNINSTALL)
474 - @list='$(pkgdracut_SCRIPTS)'; test -n "$(pkgdracutdir)" || exit 0; \
475 - files=`for p in $$list; do echo "$$p"; done | \
476 - sed -e 's,.*/,,;$(transform)'`; \
477 - test -n "$$list" || exit 0; \
478 - echo " ( cd '$(DESTDIR)$(pkgdracutdir)' && rm -f" $$files ")"; \
479 - cd "$(DESTDIR)$(pkgdracutdir)" && rm -f $$files
480 -
481 -mostlyclean-libtool:
482 - -rm -f *.lo
483 -
484 -clean-libtool:
485 - -rm -rf .libs _libs
486 -tags: TAGS
487 -TAGS:
488 -
489 -ctags: CTAGS
490 -CTAGS:
491 -
492 -
493 -distdir: $(DISTFILES)
494 - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
495 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
496 - list='$(DISTFILES)'; \
497 - dist_files=`for file in $$list; do echo $$file; done | \
498 - sed -e "s|^$$srcdirstrip/||;t" \
499 - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
500 - case $$dist_files in \
501 - */*) $(MKDIR_P) `echo "$$dist_files" | \
502 - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
503 - sort -u` ;; \
504 - esac; \
505 - for file in $$dist_files; do \
506 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
507 - if test -d $$d/$$file; then \
508 - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
509 - if test -d "$(distdir)/$$file"; then \
510 - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
511 - fi; \
512 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
513 - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
514 - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
515 - fi; \
516 - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
517 - else \
518 - test -f "$(distdir)/$$file" \
519 - || cp -p $$d/$$file "$(distdir)/$$file" \
520 - || exit 1; \
521 - fi; \
522 - done
523 -check-am: all-am
524 -check: check-am
525 -all-am: Makefile $(SCRIPTS)
526 -installdirs:
527 - for dir in "$(DESTDIR)$(pkgdracutdir)"; do \
528 - test -z "$$dir" || $(MKDIR_P) "$$dir"; \
529 - done
530 -install: install-am
531 -install-exec: install-exec-am
532 -install-data: install-data-am
533 -uninstall: uninstall-am
534 -
535 -install-am: all-am
536 - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
537 -
538 -installcheck: installcheck-am
539 -install-strip:
540 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
541 - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
542 - `test -z '$(STRIP)' || \
543 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
544 -mostlyclean-generic:
545 -
546 -clean-generic:
547 -
548 -distclean-generic:
549 - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
550 - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
551 -
552 -maintainer-clean-generic:
553 - @echo "This command is intended for maintainers to use"
554 - @echo "it deletes files that may require special tools to rebuild."
555 -clean: clean-am
556 -
557 -clean-am: clean-generic clean-libtool mostlyclean-am
558 -
559 -distclean: distclean-am
560 - -rm -f Makefile
561 -distclean-am: clean-am distclean-generic distclean-local
562 -
563 -dvi: dvi-am
564 -
565 -dvi-am:
566 -
567 -html: html-am
568 -
569 -html-am:
570 -
571 -info: info-am
572 -
573 -info-am:
574 -
575 -install-data-am: install-pkgdracutSCRIPTS
576 -
577 -install-dvi: install-dvi-am
578 -
579 -install-dvi-am:
580 -
581 -install-exec-am:
582 -
583 -install-html: install-html-am
584 -
585 -install-html-am:
586 -
587 -install-info: install-info-am
588 -
589 -install-info-am:
590 -
591 -install-man:
592 -
593 -install-pdf: install-pdf-am
594 -
595 -install-pdf-am:
596 -
597 -install-ps: install-ps-am
598 -
599 -install-ps-am:
600 -
601 -installcheck-am:
602 -
603 -maintainer-clean: maintainer-clean-am
604 - -rm -f Makefile
605 -maintainer-clean-am: distclean-am maintainer-clean-generic
606 -
607 -mostlyclean: mostlyclean-am
608 -
609 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
610 -
611 -pdf: pdf-am
612 -
613 -pdf-am:
614 -
615 -ps: ps-am
616 -
617 -ps-am:
618 -
619 -uninstall-am: uninstall-pkgdracutSCRIPTS
620 -
621 -.MAKE: install-am install-strip
622 -
623 -.PHONY: all all-am check check-am clean clean-generic clean-libtool \
624 - distclean distclean-generic distclean-libtool distclean-local \
625 - distdir dvi dvi-am html html-am info info-am install \
626 - install-am install-data install-data-am install-dvi \
627 - install-dvi-am install-exec install-exec-am install-html \
628 - install-html-am install-info install-info-am install-man \
629 - install-pdf install-pdf-am install-pkgdracutSCRIPTS install-ps \
630 - install-ps-am install-strip installcheck installcheck-am \
631 - installdirs maintainer-clean maintainer-clean-generic \
632 - mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
633 - ps ps-am uninstall uninstall-am uninstall-pkgdracutSCRIPTS
634 -
635 -
636 -$(pkgdracut_SCRIPTS):
637 - -$(SED) -e 's,@bindir\@,$(bindir),g' \
638 - -e 's,@sbindir\@,$(sbindir),g' \
639 - -e 's,@udevdir\@,$(udevdir),g' \
640 - -e 's,@udevruledir\@,$(udevruledir),g' \
641 - -e 's,@sysconfdir\@,$(sysconfdir),g' \
642 - '$@.in' >'$@'
643 -
644 -distclean-local::
645 - -$(RM) $(pkgdracut_SCRIPTS)
646 -
647 -# Tell versions [3.59,3.63) of GNU make to not export all variables.
648 -# Otherwise a system limit (for SysV at least) may be exceeded.
649 -.NOEXPORT:
650 diff --git a/dracut/90zfs/module-setup.sh.in b/dracut/90zfs/module-setup.sh.in
651 deleted file mode 100755
652 index c01915e..0000000
653 --- a/dracut/90zfs/module-setup.sh.in
654 +++ /dev/null
655 @@ -1,55 +0,0 @@
656 -#!/bin/sh
657 -
658 -check() {
659 - # We depend on udev-rules being loaded
660 - [ "$1" = "-d" ] && return 0
661 -
662 - # Verify the zfs tool chain
663 - which zpool >/dev/null 2>&1 || return 1
664 - which zfs >/dev/null 2>&1 || return 1
665 -
666 - return 0
667 -}
668 -
669 -depends() {
670 - echo udev-rules
671 - return 0
672 -}
673 -
674 -installkernel() {
675 - instmods zfs
676 - instmods zcommon
677 - instmods znvpair
678 - instmods zavl
679 - instmods zunicode
680 - instmods spl
681 - instmods zlib_deflate
682 - instmods zlib_inflate
683 -}
684 -
685 -install() {
686 - inst_rules @udevruledir@/90-zfs.rules
687 - inst_rules @udevruledir@/60-zpool.rules
688 - inst_rules @udevruledir@/60-zvol.rules
689 - inst @sysconfdir@/zfs/zdev.conf
690 - inst @sysconfdir@/zfs/zpool.cache
691 - dracut_install @sbindir@/zfs
692 - dracut_install @sbindir@/zpool
693 - dracut_install @bindir@/zpool_layout
694 - dracut_install @udevdir@/zpool_id
695 - dracut_install @udevdir@/zvol_id
696 - dracut_install mount.zfs
697 - dracut_install hostid
698 - inst_hook cmdline 95 "$moddir/parse-zfs.sh"
699 - inst_hook mount 98 "$moddir/mount-zfs.sh"
700 -
701 - # Synchronize initramfs and system hostid
702 - TMP=`mktemp`
703 - AA=`hostid | cut -b 1,2`
704 - BB=`hostid | cut -b 3,4`
705 - CC=`hostid | cut -b 5,6`
706 - DD=`hostid | cut -b 7,8`
707 - printf "\x$DD\x$CC\x$BB\x$AA" >$TMP
708 - inst_simple "$TMP" /etc/hostid
709 - rm "$TMP"
710 -}
711 diff --git a/dracut/90zfs/mount-zfs.sh.in b/dracut/90zfs/mount-zfs.sh.in
712 deleted file mode 100755
713 index 2d2afd8..0000000
714 --- a/dracut/90zfs/mount-zfs.sh.in
715 +++ /dev/null
716 @@ -1,71 +0,0 @@
717 -#!/bin/sh
718 -
719 -. /lib/dracut-lib.sh
720 -
721 -ZPOOL_FORCE=""
722 -
723 -if getargbool 0 zfs_force -y zfs.force -y zfsforce ; then
724 - warn "ZFS: Will force-import pools if necessary."
725 - ZPOOL_FORCE="-f"
726 -fi
727 -
728 -case "$root" in
729 - zfs:*)
730 - # We have ZFS modules loaded, so we're able to import pools now.
731 - if [ "$root" = "zfs:AUTO" ] ; then
732 - # Need to parse bootfs attribute
733 - info "ZFS: Attempting to detect root from imported ZFS pools."
734 -
735 - # Might be imported by the kernel module, so try searching before
736 - # we import anything.
737 - zfsbootfs=`zpool list -H -o bootfs | sed -n '/-/ !p' | sed 'q'`
738 - if [ "$?" != "0" ] || [ "$zfsbootfs" = "" ] || \
739 - [ "$zfsbootfs" = "no pools available" ] ; then
740 - # Not there, so we need to import everything.
741 - info "ZFS: Attempting to import additional pools."
742 - zpool import -N -a ${ZPOOL_FORCE}
743 - zfsbootfs=`zpool list -H -o bootfs | sed -n '/-/ !p' | sed 'q'`
744 - if [ "$?" != "0" ] || [ "$zfsbootfs" = "" ] || \
745 - [ "$zfsbootfs" = "no pools available" ] ; then
746 - rootok=0
747 - pool=""
748 -
749 - warn "ZFS: No bootfs attribute found in importable pools."
750 -
751 - # Re-export everything since we're not prepared to take
752 - # responsibility for them.
753 - zpool list -H | while read fs rest ; do
754 - zpool export "$fs"
755 - done
756 -
757 - return 1
758 - fi
759 - fi
760 - info "ZFS: Using ${zfsbootfs} as root."
761 - else
762 - # Should have an explicit pool set, so just import it and we're done.
763 - zfsbootfs="${root#zfs:}"
764 - pool="${zfsbootfs%%/*}"
765 - if ! zpool list -H $pool > /dev/null ; then
766 - # pool wasn't imported automatically by the kernel module, so
767 - # try it manually.
768 - info "ZFS: Importing pool ${pool}..."
769 - if ! zpool import -N ${ZPOOL_FORCE} $pool ; then
770 - warn "ZFS: Unable to import pool ${pool}."
771 - rootok=0
772 -
773 - return 1
774 - fi
775 - fi
776 - fi
777 -
778 - # Above should have left our rpool imported and pool/dataset in $root.
779 - # We need zfsutil for non-legacy mounts and not for legacy mounts.
780 - mountpoint=`zfs get -H -o value mountpoint $zfsbootfs`
781 - if [ "$mountpoint" = "legacy" ] ; then
782 - mount -t zfs "$zfsbootfs" "$NEWROOT" && ROOTFS_MOUNTED=yes
783 - else
784 - mount -o zfsutil -t zfs "$zfsbootfs" "$NEWROOT" && ROOTFS_MOUNTED=yes
785 - fi
786 - ;;
787 -esac
788 diff --git a/dracut/90zfs/parse-zfs.sh.in b/dracut/90zfs/parse-zfs.sh.in
789 deleted file mode 100755
790 index 571d263..0000000
791 --- a/dracut/90zfs/parse-zfs.sh.in
792 +++ /dev/null
793 @@ -1,58 +0,0 @@
794 -#!/bin/sh
795 -
796 -. /lib/dracut-lib.sh
797 -
798 -# Let the command line override our host id.
799 -spl_hostid=`getarg spl_hostid=`
800 -if [ "${spl_hostid}" != "" ] ; then
801 - info "ZFS: Using hostid from command line: ${spl_hostid}"
802 - AA=`echo ${spl_hostid} | cut -b 1,2`
803 - BB=`echo ${spl_hostid} | cut -b 3,4`
804 - CC=`echo ${spl_hostid} | cut -b 5,6`
805 - DD=`echo ${spl_hostid} | cut -b 7,8`
806 - printf "\x$DD\x$CC\x$BB\x$AA" >/etc/hostid
807 -elif [ -f /etc/hostid ] ; then
808 - info "ZFS: Using hostid from /etc/hostid: `hostid`"
809 -else
810 - warn "ZFS: No hostid found on kernel command line or /etc/hostid. "
811 - warn "ZFS: Pools may not import correctly."
812 -fi
813 -
814 -case "$root" in
815 - ""|zfs|zfs:)
816 - # We'll take root unset, root=zfs, or root=zfs:
817 - # No root set, so we want to read the bootfs attribute. We
818 - # can't do that until udev settles so we'll set dummy values
819 - # and hope for the best later on.
820 - root="zfs:AUTO"
821 - rootok=1
822 - wait_for_zfs=1
823 -
824 - info "ZFS: Enabling autodetection of bootfs after udev settles."
825 - ;;
826 -
827 - ZFS\=*|zfs:*|zfs:FILESYSTEM\=*|FILESYSTEM\=*)
828 - # root is explicit ZFS root. Parse it now. We can handle
829 - # a root=... param in any of the following formats:
830 - # root=ZFS=rpool/ROOT
831 - # root=zfs:rpool/ROOT
832 - # root=zfs:FILESYSTEM=rpool/ROOT
833 - # root=FILESYSTEM=rpool/ROOT
834 -
835 - # Strip down to just the pool/fs
836 - root="${root#zfs:}"
837 - root="${root#FILESYSTEM=}"
838 - root="zfs:${root#ZFS=}"
839 - rootok=1
840 - wait_for_zfs=1
841 -
842 - info "ZFS: Set ${root} as bootfs."
843 - ;;
844 -esac
845 -
846 -# Make sure Dracut is happy that we have a root and will wait for ZFS
847 -# modules to settle before mounting.
848 -if [ "${wait_for_zfs}" = "1" ]; then
849 - ln -s /dev/null /dev/root 2>/dev/null
850 - echo '[ -e /dev/zfs ]' > $hookdir/initqueue/finished/zfs.sh
851 -fi
852 diff --git a/dracut/Makefile.am b/dracut/Makefile.am
853 deleted file mode 100644
854 index 35b88c3..0000000
855 --- a/dracut/Makefile.am
856 +++ /dev/null
857 @@ -1,3 +0,0 @@
858 -SUBDIRS = 90zfs
859 -
860 -EXTRA_DIST = README.dracut.markdown
861 diff --git a/dracut/Makefile.in b/dracut/Makefile.in
862 deleted file mode 100644
863 index f385985..0000000
864 --- a/dracut/Makefile.in
865 +++ /dev/null
866 @@ -1,669 +0,0 @@
867 -# Makefile.in generated by automake 1.11.1 from Makefile.am.
868 -# @configure_input@
869 -
870 -# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
871 -# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
872 -# Inc.
873 -# This Makefile.in is free software; the Free Software Foundation
874 -# gives unlimited permission to copy and/or distribute it,
875 -# with or without modifications, as long as this notice is preserved.
876 -
877 -# This program is distributed in the hope that it will be useful,
878 -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
879 -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
880 -# PARTICULAR PURPOSE.
881 -
882 -@SET_MAKE@
883 -VPATH = @srcdir@
884 -pkgdatadir = $(datadir)/@PACKAGE@
885 -pkgincludedir = $(includedir)/@PACKAGE@
886 -pkglibdir = $(libdir)/@PACKAGE@
887 -pkglibexecdir = $(libexecdir)/@PACKAGE@
888 -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
889 -install_sh_DATA = $(install_sh) -c -m 644
890 -install_sh_PROGRAM = $(install_sh) -c
891 -install_sh_SCRIPT = $(install_sh) -c
892 -INSTALL_HEADER = $(INSTALL_DATA)
893 -transform = $(program_transform_name)
894 -NORMAL_INSTALL = :
895 -PRE_INSTALL = :
896 -POST_INSTALL = :
897 -NORMAL_UNINSTALL = :
898 -PRE_UNINSTALL = :
899 -POST_UNINSTALL = :
900 -build_triplet = @build@
901 -host_triplet = @host@
902 -target_triplet = @target@
903 -subdir = dracut
904 -DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
905 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
906 -am__aclocal_m4_deps = \
907 - $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
908 - $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \
909 - $(top_srcdir)/config/kernel-bdev-logical-size.m4 \
910 - $(top_srcdir)/config/kernel-bdi-setup-and-register.m4 \
911 - $(top_srcdir)/config/kernel-bdi.m4 \
912 - $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \
913 - $(top_srcdir)/config/kernel-bio-end-io-t-args.m4 \
914 - $(top_srcdir)/config/kernel-bio-failfast.m4 \
915 - $(top_srcdir)/config/kernel-bio-rw-syncio.m4 \
916 - $(top_srcdir)/config/kernel-blk-end-request.m4 \
917 - $(top_srcdir)/config/kernel-blk-fetch-request.m4 \
918 - $(top_srcdir)/config/kernel-blk-requeue-request.m4 \
919 - $(top_srcdir)/config/kernel-blk-rq-bytes.m4 \
920 - $(top_srcdir)/config/kernel-blk-rq-pos.m4 \
921 - $(top_srcdir)/config/kernel-blk-rq-sectors.m4 \
922 - $(top_srcdir)/config/kernel-blkdev-get-by-path.m4 \
923 - $(top_srcdir)/config/kernel-check-disk-size-change.m4 \
924 - $(top_srcdir)/config/kernel-d-obtain-alias.m4 \
925 - $(top_srcdir)/config/kernel-evict-inode.m4 \
926 - $(top_srcdir)/config/kernel-fmode-t.m4 \
927 - $(top_srcdir)/config/kernel-fsync.m4 \
928 - $(top_srcdir)/config/kernel-get-disk-ro.m4 \
929 - $(top_srcdir)/config/kernel-insert-inode-locked.m4 \
930 - $(top_srcdir)/config/kernel-invalidate-bdev-args.m4 \
931 - $(top_srcdir)/config/kernel-kobj-name-len.m4 \
932 - $(top_srcdir)/config/kernel-mount-nodev.m4 \
933 - $(top_srcdir)/config/kernel-open-bdev-exclusive.m4 \
934 - $(top_srcdir)/config/kernel-rq-for-each_segment.m4 \
935 - $(top_srcdir)/config/kernel-rq-is_sync.m4 \
936 - $(top_srcdir)/config/kernel-security-inode-init.m4 \
937 - $(top_srcdir)/config/kernel-set-nlink.m4 \
938 - $(top_srcdir)/config/kernel-shrink.m4 \
939 - $(top_srcdir)/config/kernel-truncate-setsize.m4 \
940 - $(top_srcdir)/config/kernel-xattr-handler.m4 \
941 - $(top_srcdir)/config/kernel.m4 \
942 - $(top_srcdir)/config/user-arch.m4 \
943 - $(top_srcdir)/config/user-frame-larger-than.m4 \
944 - $(top_srcdir)/config/user-ioctl.m4 \
945 - $(top_srcdir)/config/user-libblkid.m4 \
946 - $(top_srcdir)/config/user-libuuid.m4 \
947 - $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \
948 - $(top_srcdir)/config/user-selinux.m4 \
949 - $(top_srcdir)/config/user-udev.m4 \
950 - $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \
951 - $(top_srcdir)/config/zfs-build.m4 \
952 - $(top_srcdir)/config/zfs-meta.m4 $(top_srcdir)/configure.ac
953 -am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
954 - $(ACLOCAL_M4)
955 -mkinstalldirs = $(install_sh) -d
956 -CONFIG_HEADER = $(top_builddir)/zfs_config.h
957 -CONFIG_CLEAN_FILES =
958 -CONFIG_CLEAN_VPATH_FILES =
959 -AM_V_GEN = $(am__v_GEN_$(V))
960 -am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
961 -am__v_GEN_0 = @echo " GEN " $@;
962 -AM_V_at = $(am__v_at_$(V))
963 -am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
964 -am__v_at_0 = @
965 -SOURCES =
966 -DIST_SOURCES =
967 -RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
968 - html-recursive info-recursive install-data-recursive \
969 - install-dvi-recursive install-exec-recursive \
970 - install-html-recursive install-info-recursive \
971 - install-pdf-recursive install-ps-recursive install-recursive \
972 - installcheck-recursive installdirs-recursive pdf-recursive \
973 - ps-recursive uninstall-recursive
974 -RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
975 - distclean-recursive maintainer-clean-recursive
976 -AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
977 - $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
978 - distdir
979 -ETAGS = etags
980 -CTAGS = ctags
981 -DIST_SUBDIRS = $(SUBDIRS)
982 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
983 -am__relativize = \
984 - dir0=`pwd`; \
985 - sed_first='s,^\([^/]*\)/.*$$,\1,'; \
986 - sed_rest='s,^[^/]*/*,,'; \
987 - sed_last='s,^.*/\([^/]*\)$$,\1,'; \
988 - sed_butlast='s,/*[^/]*$$,,'; \
989 - while test -n "$$dir1"; do \
990 - first=`echo "$$dir1" | sed -e "$$sed_first"`; \
991 - if test "$$first" != "."; then \
992 - if test "$$first" = ".."; then \
993 - dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
994 - dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
995 - else \
996 - first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
997 - if test "$$first2" = "$$first"; then \
998 - dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
999 - else \
1000 - dir2="../$$dir2"; \
1001 - fi; \
1002 - dir0="$$dir0"/"$$first"; \
1003 - fi; \
1004 - fi; \
1005 - dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
1006 - done; \
1007 - reldir="$$dir2"
1008 -ACLOCAL = @ACLOCAL@
1009 -ALIEN = @ALIEN@
1010 -ALIEN_VERSION = @ALIEN_VERSION@
1011 -AMTAR = @AMTAR@
1012 -AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
1013 -AR = @AR@
1014 -AUTOCONF = @AUTOCONF@
1015 -AUTOHEADER = @AUTOHEADER@
1016 -AUTOMAKE = @AUTOMAKE@
1017 -AWK = @AWK@
1018 -CC = @CC@
1019 -CCAS = @CCAS@
1020 -CCASDEPMODE = @CCASDEPMODE@
1021 -CCASFLAGS = @CCASFLAGS@
1022 -CCDEPMODE = @CCDEPMODE@
1023 -CFLAGS = @CFLAGS@
1024 -CPP = @CPP@
1025 -CPPFLAGS = @CPPFLAGS@
1026 -CYGPATH_W = @CYGPATH_W@
1027 -DEBUG_CFLAGS = @DEBUG_CFLAGS@
1028 -DEBUG_STACKFLAGS = @DEBUG_STACKFLAGS@
1029 -DEFAULT_INIT_DIR = @DEFAULT_INIT_DIR@
1030 -DEFAULT_INIT_SCRIPT = @DEFAULT_INIT_SCRIPT@
1031 -DEFAULT_PACKAGE = @DEFAULT_PACKAGE@
1032 -DEFS = @DEFS@
1033 -DEPDIR = @DEPDIR@
1034 -DPKG = @DPKG@
1035 -DPKGBUILD = @DPKGBUILD@
1036 -DPKGBUILD_VERSION = @DPKGBUILD_VERSION@
1037 -DPKG_VERSION = @DPKG_VERSION@
1038 -DSYMUTIL = @DSYMUTIL@
1039 -DUMPBIN = @DUMPBIN@
1040 -ECHO_C = @ECHO_C@
1041 -ECHO_N = @ECHO_N@
1042 -ECHO_T = @ECHO_T@
1043 -EGREP = @EGREP@
1044 -EXEEXT = @EXEEXT@
1045 -FGREP = @FGREP@
1046 -FRAME_LARGER_THAN = @FRAME_LARGER_THAN@
1047 -GREP = @GREP@
1048 -HAVE_ALIEN = @HAVE_ALIEN@
1049 -HAVE_DPKG = @HAVE_DPKG@
1050 -HAVE_DPKGBUILD = @HAVE_DPKGBUILD@
1051 -HAVE_MAKEPKG = @HAVE_MAKEPKG@
1052 -HAVE_PACMAN = @HAVE_PACMAN@
1053 -HAVE_RPM = @HAVE_RPM@
1054 -HAVE_RPMBUILD = @HAVE_RPMBUILD@
1055 -INSTALL = @INSTALL@
1056 -INSTALL_DATA = @INSTALL_DATA@
1057 -INSTALL_PROGRAM = @INSTALL_PROGRAM@
1058 -INSTALL_SCRIPT = @INSTALL_SCRIPT@
1059 -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1060 -KERNELCPPFLAGS = @KERNELCPPFLAGS@
1061 -KERNELMAKE_PARAMS = @KERNELMAKE_PARAMS@
1062 -LD = @LD@
1063 -LDFLAGS = @LDFLAGS@
1064 -LIBBLKID = @LIBBLKID@
1065 -LIBOBJS = @LIBOBJS@
1066 -LIBS = @LIBS@
1067 -LIBSELINUX = @LIBSELINUX@
1068 -LIBTOOL = @LIBTOOL@
1069 -LIBUUID = @LIBUUID@
1070 -LINUX = @LINUX@
1071 -LINUX_OBJ = @LINUX_OBJ@
1072 -LINUX_SYMBOLS = @LINUX_SYMBOLS@
1073 -LINUX_VERSION = @LINUX_VERSION@
1074 -LIPO = @LIPO@
1075 -LN_S = @LN_S@
1076 -LTLIBOBJS = @LTLIBOBJS@
1077 -MAINT = @MAINT@
1078 -MAKEINFO = @MAKEINFO@
1079 -MAKEPKG = @MAKEPKG@
1080 -MAKEPKG_VERSION = @MAKEPKG_VERSION@
1081 -MKDIR_P = @MKDIR_P@
1082 -NM = @NM@
1083 -NMEDIT = @NMEDIT@
1084 -NO_UNUSED_BUT_SET_VARIABLE = @NO_UNUSED_BUT_SET_VARIABLE@
1085 -OBJDUMP = @OBJDUMP@
1086 -OBJEXT = @OBJEXT@
1087 -OTOOL = @OTOOL@
1088 -OTOOL64 = @OTOOL64@
1089 -PACKAGE = @PACKAGE@
1090 -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
1091 -PACKAGE_NAME = @PACKAGE_NAME@
1092 -PACKAGE_STRING = @PACKAGE_STRING@
1093 -PACKAGE_TARNAME = @PACKAGE_TARNAME@
1094 -PACKAGE_VERSION = @PACKAGE_VERSION@
1095 -PACMAN = @PACMAN@
1096 -PACMAN_VERSION = @PACMAN_VERSION@
1097 -PATH_SEPARATOR = @PATH_SEPARATOR@
1098 -RANLIB = @RANLIB@
1099 -RPM = @RPM@
1100 -RPMBUILD = @RPMBUILD@
1101 -RPMBUILD_VERSION = @RPMBUILD_VERSION@
1102 -RPM_VERSION = @RPM_VERSION@
1103 -SED = @SED@
1104 -SET_MAKE = @SET_MAKE@
1105 -SHELL = @SHELL@
1106 -SPL = @SPL@
1107 -SPL_OBJ = @SPL_OBJ@
1108 -SPL_SYMBOLS = @SPL_SYMBOLS@
1109 -SPL_VERSION = @SPL_VERSION@
1110 -STRIP = @STRIP@
1111 -TARGET_ASM_DIR = @TARGET_ASM_DIR@
1112 -VENDOR = @VENDOR@
1113 -VERSION = @VERSION@
1114 -ZFS_CONFIG = @ZFS_CONFIG@
1115 -ZFS_META_ALIAS = @ZFS_META_ALIAS@
1116 -ZFS_META_AUTHOR = @ZFS_META_AUTHOR@
1117 -ZFS_META_DATA = @ZFS_META_DATA@
1118 -ZFS_META_LICENSE = @ZFS_META_LICENSE@
1119 -ZFS_META_LT_AGE = @ZFS_META_LT_AGE@
1120 -ZFS_META_LT_CURRENT = @ZFS_META_LT_CURRENT@
1121 -ZFS_META_LT_REVISION = @ZFS_META_LT_REVISION@
1122 -ZFS_META_NAME = @ZFS_META_NAME@
1123 -ZFS_META_RELEASE = @ZFS_META_RELEASE@
1124 -ZFS_META_VERSION = @ZFS_META_VERSION@
1125 -ZLIB = @ZLIB@
1126 -abs_builddir = @abs_builddir@
1127 -abs_srcdir = @abs_srcdir@
1128 -abs_top_builddir = @abs_top_builddir@
1129 -abs_top_srcdir = @abs_top_srcdir@
1130 -ac_ct_CC = @ac_ct_CC@
1131 -ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
1132 -am__include = @am__include@
1133 -am__leading_dot = @am__leading_dot@
1134 -am__quote = @am__quote@
1135 -am__tar = @am__tar@
1136 -am__untar = @am__untar@
1137 -bindir = @bindir@
1138 -build = @build@
1139 -build_alias = @build_alias@
1140 -build_cpu = @build_cpu@
1141 -build_os = @build_os@
1142 -build_vendor = @build_vendor@
1143 -builddir = @builddir@
1144 -datadir = @datadir@
1145 -datarootdir = @datarootdir@
1146 -docdir = @docdir@
1147 -dvidir = @dvidir@
1148 -exec_prefix = @exec_prefix@
1149 -host = @host@
1150 -host_alias = @host_alias@
1151 -host_cpu = @host_cpu@
1152 -host_os = @host_os@
1153 -host_vendor = @host_vendor@
1154 -htmldir = @htmldir@
1155 -includedir = @includedir@
1156 -infodir = @infodir@
1157 -install_sh = @install_sh@
1158 -libdir = @libdir@
1159 -libexecdir = @libexecdir@
1160 -localedir = @localedir@
1161 -localstatedir = @localstatedir@
1162 -lt_ECHO = @lt_ECHO@
1163 -mandir = @mandir@
1164 -mkdir_p = @mkdir_p@
1165 -oldincludedir = @oldincludedir@
1166 -pdfdir = @pdfdir@
1167 -prefix = @prefix@
1168 -program_transform_name = @program_transform_name@
1169 -psdir = @psdir@
1170 -sbindir = @sbindir@
1171 -sharedstatedir = @sharedstatedir@
1172 -srcdir = @srcdir@
1173 -sysconfdir = @sysconfdir@
1174 -target = @target@
1175 -target_alias = @target_alias@
1176 -target_cpu = @target_cpu@
1177 -target_os = @target_os@
1178 -target_vendor = @target_vendor@
1179 -top_build_prefix = @top_build_prefix@
1180 -top_builddir = @top_builddir@
1181 -top_srcdir = @top_srcdir@
1182 -udevdir = @udevdir@
1183 -udevruledir = @udevruledir@
1184 -SUBDIRS = 90zfs
1185 -EXTRA_DIST = README.dracut.markdown
1186 -all: all-recursive
1187 -
1188 -.SUFFIXES:
1189 -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
1190 - @for dep in $?; do \
1191 - case '$(am__configure_deps)' in \
1192 - *$$dep*) \
1193 - ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
1194 - && { if test -f $@; then exit 0; else break; fi; }; \
1195 - exit 1;; \
1196 - esac; \
1197 - done; \
1198 - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu dracut/Makefile'; \
1199 - $(am__cd) $(top_srcdir) && \
1200 - $(AUTOMAKE) --gnu dracut/Makefile
1201 -.PRECIOUS: Makefile
1202 -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
1203 - @case '$?' in \
1204 - *config.status*) \
1205 - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
1206 - *) \
1207 - echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
1208 - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
1209 - esac;
1210 -
1211 -$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
1212 - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1213 -
1214 -$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
1215 - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1216 -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
1217 - cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
1218 -$(am__aclocal_m4_deps):
1219 -
1220 -mostlyclean-libtool:
1221 - -rm -f *.lo
1222 -
1223 -clean-libtool:
1224 - -rm -rf .libs _libs
1225 -
1226 -# This directory's subdirectories are mostly independent; you can cd
1227 -# into them and run `make' without going through this Makefile.
1228 -# To change the values of `make' variables: instead of editing Makefiles,
1229 -# (1) if the variable is set in `config.status', edit `config.status'
1230 -# (which will cause the Makefiles to be regenerated when you run `make');
1231 -# (2) otherwise, pass the desired values on the `make' command line.
1232 -$(RECURSIVE_TARGETS):
1233 - @fail= failcom='exit 1'; \
1234 - for f in x $$MAKEFLAGS; do \
1235 - case $$f in \
1236 - *=* | --[!k]*);; \
1237 - *k*) failcom='fail=yes';; \
1238 - esac; \
1239 - done; \
1240 - dot_seen=no; \
1241 - target=`echo $@ | sed s/-recursive//`; \
1242 - list='$(SUBDIRS)'; for subdir in $$list; do \
1243 - echo "Making $$target in $$subdir"; \
1244 - if test "$$subdir" = "."; then \
1245 - dot_seen=yes; \
1246 - local_target="$$target-am"; \
1247 - else \
1248 - local_target="$$target"; \
1249 - fi; \
1250 - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1251 - || eval $$failcom; \
1252 - done; \
1253 - if test "$$dot_seen" = "no"; then \
1254 - $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1255 - fi; test -z "$$fail"
1256 -
1257 -$(RECURSIVE_CLEAN_TARGETS):
1258 - @fail= failcom='exit 1'; \
1259 - for f in x $$MAKEFLAGS; do \
1260 - case $$f in \
1261 - *=* | --[!k]*);; \
1262 - *k*) failcom='fail=yes';; \
1263 - esac; \
1264 - done; \
1265 - dot_seen=no; \
1266 - case "$@" in \
1267 - distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1268 - *) list='$(SUBDIRS)' ;; \
1269 - esac; \
1270 - rev=''; for subdir in $$list; do \
1271 - if test "$$subdir" = "."; then :; else \
1272 - rev="$$subdir $$rev"; \
1273 - fi; \
1274 - done; \
1275 - rev="$$rev ."; \
1276 - target=`echo $@ | sed s/-recursive//`; \
1277 - for subdir in $$rev; do \
1278 - echo "Making $$target in $$subdir"; \
1279 - if test "$$subdir" = "."; then \
1280 - local_target="$$target-am"; \
1281 - else \
1282 - local_target="$$target"; \
1283 - fi; \
1284 - ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1285 - || eval $$failcom; \
1286 - done && test -z "$$fail"
1287 -tags-recursive:
1288 - list='$(SUBDIRS)'; for subdir in $$list; do \
1289 - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
1290 - done
1291 -ctags-recursive:
1292 - list='$(SUBDIRS)'; for subdir in $$list; do \
1293 - test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
1294 - done
1295 -
1296 -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1297 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1298 - unique=`for i in $$list; do \
1299 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1300 - done | \
1301 - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1302 - END { if (nonempty) { for (i in files) print i; }; }'`; \
1303 - mkid -fID $$unique
1304 -tags: TAGS
1305 -
1306 -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1307 - $(TAGS_FILES) $(LISP)
1308 - set x; \
1309 - here=`pwd`; \
1310 - if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1311 - include_option=--etags-include; \
1312 - empty_fix=.; \
1313 - else \
1314 - include_option=--include; \
1315 - empty_fix=; \
1316 - fi; \
1317 - list='$(SUBDIRS)'; for subdir in $$list; do \
1318 - if test "$$subdir" = .; then :; else \
1319 - test ! -f $$subdir/TAGS || \
1320 - set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1321 - fi; \
1322 - done; \
1323 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1324 - unique=`for i in $$list; do \
1325 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1326 - done | \
1327 - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1328 - END { if (nonempty) { for (i in files) print i; }; }'`; \
1329 - shift; \
1330 - if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1331 - test -n "$$unique" || unique=$$empty_fix; \
1332 - if test $$# -gt 0; then \
1333 - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1334 - "$$@" $$unique; \
1335 - else \
1336 - $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1337 - $$unique; \
1338 - fi; \
1339 - fi
1340 -ctags: CTAGS
1341 -CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
1342 - $(TAGS_FILES) $(LISP)
1343 - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1344 - unique=`for i in $$list; do \
1345 - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1346 - done | \
1347 - $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1348 - END { if (nonempty) { for (i in files) print i; }; }'`; \
1349 - test -z "$(CTAGS_ARGS)$$unique" \
1350 - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1351 - $$unique
1352 -
1353 -GTAGS:
1354 - here=`$(am__cd) $(top_builddir) && pwd` \
1355 - && $(am__cd) $(top_srcdir) \
1356 - && gtags -i $(GTAGS_ARGS) "$$here"
1357 -
1358 -distclean-tags:
1359 - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1360 -
1361 -distdir: $(DISTFILES)
1362 - @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1363 - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1364 - list='$(DISTFILES)'; \
1365 - dist_files=`for file in $$list; do echo $$file; done | \
1366 - sed -e "s|^$$srcdirstrip/||;t" \
1367 - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1368 - case $$dist_files in \
1369 - */*) $(MKDIR_P) `echo "$$dist_files" | \
1370 - sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1371 - sort -u` ;; \
1372 - esac; \
1373 - for file in $$dist_files; do \
1374 - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1375 - if test -d $$d/$$file; then \
1376 - dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1377 - if test -d "$(distdir)/$$file"; then \
1378 - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1379 - fi; \
1380 - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1381 - cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1382 - find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1383 - fi; \
1384 - cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1385 - else \
1386 - test -f "$(distdir)/$$file" \
1387 - || cp -p $$d/$$file "$(distdir)/$$file" \
1388 - || exit 1; \
1389 - fi; \
1390 - done
1391 - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1392 - if test "$$subdir" = .; then :; else \
1393 - test -d "$(distdir)/$$subdir" \
1394 - || $(MKDIR_P) "$(distdir)/$$subdir" \
1395 - || exit 1; \
1396 - fi; \
1397 - done
1398 - @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1399 - if test "$$subdir" = .; then :; else \
1400 - dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1401 - $(am__relativize); \
1402 - new_distdir=$$reldir; \
1403 - dir1=$$subdir; dir2="$(top_distdir)"; \
1404 - $(am__relativize); \
1405 - new_top_distdir=$$reldir; \
1406 - echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1407 - echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1408 - ($(am__cd) $$subdir && \
1409 - $(MAKE) $(AM_MAKEFLAGS) \
1410 - top_distdir="$$new_top_distdir" \
1411 - distdir="$$new_distdir" \
1412 - am__remove_distdir=: \
1413 - am__skip_length_check=: \
1414 - am__skip_mode_fix=: \
1415 - distdir) \
1416 - || exit 1; \
1417 - fi; \
1418 - done
1419 -check-am: all-am
1420 -check: check-recursive
1421 -all-am: Makefile
1422 -installdirs: installdirs-recursive
1423 -installdirs-am:
1424 -install: install-recursive
1425 -install-exec: install-exec-recursive
1426 -install-data: install-data-recursive
1427 -uninstall: uninstall-recursive
1428 -
1429 -install-am: all-am
1430 - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1431 -
1432 -installcheck: installcheck-recursive
1433 -install-strip:
1434 - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1435 - install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1436 - `test -z '$(STRIP)' || \
1437 - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1438 -mostlyclean-generic:
1439 -
1440 -clean-generic:
1441 -
1442 -distclean-generic:
1443 - -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1444 - -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1445 -
1446 -maintainer-clean-generic:
1447 - @echo "This command is intended for maintainers to use"
1448 - @echo "it deletes files that may require special tools to rebuild."
1449 -clean: clean-recursive
1450 -
1451 -clean-am: clean-generic clean-libtool mostlyclean-am
1452 -
1453 -distclean: distclean-recursive
1454 - -rm -f Makefile
1455 -distclean-am: clean-am distclean-generic distclean-tags
1456 -
1457 -dvi: dvi-recursive
1458 -
1459 -dvi-am:
1460 -
1461 -html: html-recursive
1462 -
1463 -html-am:
1464 -
1465 -info: info-recursive
1466 -
1467 -info-am:
1468 -
1469 -install-data-am:
1470 -
1471 -install-dvi: install-dvi-recursive
1472 -
1473 -install-dvi-am:
1474 -
1475 -install-exec-am:
1476 -
1477 -install-html: install-html-recursive
1478 -
1479 -install-html-am:
1480 -
1481 -install-info: install-info-recursive
1482 -
1483 -install-info-am:
1484 -
1485 -install-man:
1486 -
1487 -install-pdf: install-pdf-recursive
1488 -
1489 -install-pdf-am:
1490 -
1491 -install-ps: install-ps-recursive
1492 -
1493 -install-ps-am:
1494 -
1495 -installcheck-am:
1496 -
1497 -maintainer-clean: maintainer-clean-recursive
1498 - -rm -f Makefile
1499 -maintainer-clean-am: distclean-am maintainer-clean-generic
1500 -
1501 -mostlyclean: mostlyclean-recursive
1502 -
1503 -mostlyclean-am: mostlyclean-generic mostlyclean-libtool
1504 -
1505 -pdf: pdf-recursive
1506 -
1507 -pdf-am:
1508 -
1509 -ps: ps-recursive
1510 -
1511 -ps-am:
1512 -
1513 -uninstall-am:
1514 -
1515 -.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
1516 - install-am install-strip tags-recursive
1517 -
1518 -.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1519 - all all-am check check-am clean clean-generic clean-libtool \
1520 - ctags ctags-recursive distclean distclean-generic \
1521 - distclean-libtool distclean-tags distdir dvi dvi-am html \
1522 - html-am info info-am install install-am install-data \
1523 - install-data-am install-dvi install-dvi-am install-exec \
1524 - install-exec-am install-html install-html-am install-info \
1525 - install-info-am install-man install-pdf install-pdf-am \
1526 - install-ps install-ps-am install-strip installcheck \
1527 - installcheck-am installdirs installdirs-am maintainer-clean \
1528 - maintainer-clean-generic mostlyclean mostlyclean-generic \
1529 - mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
1530 - uninstall uninstall-am
1531 -
1532 -
1533 -# Tell versions [3.59,3.63) of GNU make to not export all variables.
1534 -# Otherwise a system limit (for SysV at least) may be exceeded.
1535 -.NOEXPORT:
1536 diff --git a/dracut/README.dracut.markdown b/dracut/README.dracut.markdown
1537 deleted file mode 100644
1538 index 909273a..0000000
1539 --- a/dracut/README.dracut.markdown
1540 +++ /dev/null
1541 @@ -1,166 +0,0 @@
1542 -How to setup a zfs root filesystem using dracut
1543 ------------------------------------------------
1544 -
1545 -1) Install the zfs-dracut package. This package adds a zfs dracut module
1546 -to the /usr/share/dracut/modules.d/ directory which allows dracut to
1547 -create an initramfs which is zfs aware.
1548 -
1549 -2) Set the bootfs property for the bootable dataset in the pool. Then set
1550 -the dataset mountpoint property to '/'.
1551 -
1552 - $ zpool set bootfs=pool/dataset pool
1553 - $ zfs set mountpoint=/ pool/dataset
1554 -
1555 -Alternately, legacy mountpoints can be used by setting the 'root=' option
1556 -on the kernel line of your grub.conf/menu.lst configuration file. Then
1557 -set the dataset mountpoint property to 'legacy'.
1558 -
1559 - $ grub.conf/menu.lst: kernel ... root=ZFS=pool/dataset
1560 - $ zfs set mountpoint=legacy pool/dataset
1561 -
1562 -3) To set zfs module options put them in /etc/modprobe.d/zfs.conf file.
1563 -The complete list of zfs module options is available by running the
1564 -_modinfo zfs_ command. Commonly set options include: zfs_arc_min,
1565 -zfs_arc_max, zfs_prefetch_disable, and zfs_vdev_max_pending.
1566 -
1567 -4) Finally, create your new initramfs by running dracut.
1568 -
1569 - $ dracut --force /path/to/initramfs kernel_version
1570 -
1571 -Kernel Command Line
1572 --------------------
1573 -
1574 -The initramfs' behavior is influenced by the following kernel command line
1575 -parameters passed in from the boot loader:
1576 -
1577 -* `root=...`: If not set, importable pools are searched for a bootfs
1578 -attribute. If an explicitly set root is desired, you may use
1579 -`root=ZFS:pool/dataset`
1580 -
1581 -* `zfs_force=0`: If set to 1, the initramfs will run `zpool import -f` when
1582 -attempting to import pools if the required pool isn't automatically imported
1583 -by the zfs module. This can save you a trip to a bootcd if hostid has
1584 -changed, but is dangerous and can lead to zpool corruption, particularly in
1585 -cases where storage is on a shared fabric such as iSCSI where multiple hosts
1586 -can access storage devices concurrently. _Please understand the implications
1587 -of force-importing a pool before enabling this option!_
1588 -
1589 -* `spl_hostid`: By default, the hostid used by the SPL module is read from
1590 -/etc/hostid inside the initramfs. This file is placed there from the host
1591 -system when the initramfs is built which effectively ties the ramdisk to the
1592 -host which builds it. If a different hostid is desired, one may be set in
1593 -this attribute and will override any file present in the ramdisk. The
1594 -format should be hex exactly as found in the `/etc/hostid` file, IE
1595 -`spl_hostid=0x00bab10c`.
1596 -
1597 -Note that changing the hostid between boots will most likely lead to an
1598 -un-importable pool since the last importing hostid won't match. In order
1599 -to recover from this, you may use the `zfs_force` option or boot from a
1600 -different filesystem and `zpool import -f` then `zpool export` the pool
1601 -before rebooting with the new hostid.
1602 -
1603 -How it Works
1604 -============
1605 -
1606 -The Dracut module consists of the following files (less Makefile's):
1607 -
1608 -* `module-setup.sh`: Script run by the initramfs builder to create the
1609 -ramdisk. Contains instructions on which files are required by the modules
1610 -and z* programs. Also triggers inclusion of `/etc/hostid` and the zpool
1611 -cache. This file is not included in the initramfs.
1612 -
1613 -* `90-zfs.rules`: udev rules which trigger loading of the ZFS modules at boot.
1614 -
1615 -* `parse-zfs.sh`: Run early in the initramfs boot process to parse kernel
1616 -command line and determine if ZFS is the active root filesystem.
1617 -
1618 -* `mount-zfs.sh`: Run later in initramfs boot process after udev has settled
1619 -to mount the root dataset.
1620 -
1621 -`module-setup.sh`
1622 ----------------
1623 -
1624 -This file is run by the Dracut script within the live system, not at boot
1625 -time. It's not included in the final initramfs. Functions in this script
1626 -describe which files are needed by ZFS at boot time.
1627 -
1628 -Currently all the various z* and spl modules are included, a dependency is
1629 -asserted on udev-rules, and the various zfs, zpool, etc. helpers are included.
1630 -Dracut provides library functions which automatically gather the shared libs
1631 -necessary to run each of these binaries, so statically built binaries are
1632 -not required.
1633 -
1634 -The zpool and zvol udev rules files are copied from where they are
1635 -installed by the ZFS build. __PACKAGERS TAKE NOTE__: If you move
1636 -`/etc/udev/rules/60-z*.rules`, you'll need to update this file to match.
1637 -
1638 -Currently this file also includes `/etc/hostid` and `/etc/zfs/zpool.cache`
1639 -which means the generated ramdisk is specific to the host system which built
1640 -it. If a generic initramfs is required, it may be preferable to omit these
1641 -files and specify the `spl_hostid` from the boot loader instead.
1642 -
1643 -`parse-zfs.sh`
1644 -------------
1645 -
1646 -Run during the cmdline phase of the initramfs boot process, this script
1647 -performs some basic sanity checks on kernel command line parameters to
1648 -determine if booting from ZFS is likely to be what is desired. Dracut
1649 -requires this script to adjust the `root` variable if required and to set
1650 -`rootok=1` if a mountable root filesystem is available. Unfortunately this
1651 -script must run before udev is settled and kernel modules are known to be
1652 -loaded, so accessing the zpool and zfs commands is unsafe.
1653 -
1654 -If the root=ZFS... parameter is set on the command line, then it's at least
1655 -certain that ZFS is what is desired, though this script is unable to
1656 -determine if ZFS is in fact available. This script will alter the `root`
1657 -parameter to replace several historical forms of specifying the pool and
1658 -dataset name with the canonical form of `zfs:pool/dataset`.
1659 -
1660 -If no root= parameter is set, the best this script can do is guess that
1661 -ZFS is desired. At present, no other known filesystems will work with no
1662 -root= parameter, though this might possibly interfere with using the
1663 -compiled-in default root in the kernel image. It's considered unlikely
1664 -that would ever be the case when an initramfs is in use, so this script
1665 -sets `root=zfs:AUTO` and hopes for the best.
1666 -
1667 -Once the root=... (or lack thereof) parameter is parsed, a dummy symlink
1668 -is created from `/dev/root` -> `/dev/null` to satisfy parts of the Dracut
1669 -process which check for presence of a single root device node.
1670 -
1671 -Finally, an initqueue/finished hook is registered which causes the initqueue
1672 -phase of Dracut to wait for `/dev/zfs` to become available before attempting
1673 -to mount anything.
1674 -
1675 -`mount-zfs.sh`
1676 -------------
1677 -
1678 -This script is run after udev has settled and all tasks in the initqueue
1679 -have succeeded. This ensures that `/dev/zfs` is available and that the
1680 -various ZFS modules are successfully loaded. As it is now safe to call
1681 -zpool and friends, we can proceed to find the bootfs attribute if necessary.
1682 -
1683 -If the root parameter was explicitly set on the command line, no parsing is
1684 -necessary. The list of imported pools is checked to see if the desired pool
1685 -is already imported. If it's not, and attempt is made to import the pool
1686 -explicitly, though no force is attempted. Finally the specified dataset
1687 -is mounted on `$NEWROOT`, first using the `-o zfsutil` option to handle
1688 -non-legacy mounts, then if that fails, without zfsutil to handle legacy
1689 -mount points.
1690 -
1691 -If no root parameter was specified, this script attempts to find a pool with
1692 -its bootfs attribute set. First, already-imported pools are scanned and if
1693 -an appropriate pool is found, no additional pools are imported. If no pool
1694 -with bootfs is found, any additional pools in the system are imported with
1695 -`zpool import -N -a`, and the scan for bootfs is tried again. If no bootfs
1696 -is found with all pools imported, all pools are re-exported, and boot fails.
1697 -Assuming a bootfs is found, an attempt is made to mount it to `$NEWROOT`,
1698 -first with, then without the zfsutil option as above.
1699 -
1700 -Ordinarily pools are imported _without_ the force option which may cause
1701 -boot to fail if the hostid has changed or a pool has been physically moved
1702 -between servers. The `zfs_force` kernel parameter is provided which when
1703 -set to `1` causes `zpool import` to be run with the `-f` flag. Forcing pool
1704 -import can lead to serious data corruption and loss of pools, so this option
1705 -should be used with extreme caution. Note that even with this flag set, if
1706 -the required zpool was auto-imported by the kernel module, no additional
1707 -`zpool import` commands are run, so nothing is forced.
1708 --
1709 1.7.5.4
1710