2010-08-26 18:22:58 +00:00
|
|
|
/*
|
|
|
|
* This file is part of the ZFS Linux port.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2009 Lawrence Livermore National Security, LLC.
|
|
|
|
* Produced at Lawrence Livermore National Laboratory
|
|
|
|
* Written by:
|
|
|
|
* Brian Behlendorf <behlendorf1@llnl.gov>,
|
|
|
|
* Herb Wartens <wartens2@llnl.gov>,
|
|
|
|
* Jim Garlick <garlick@llnl.gov>
|
|
|
|
* LLNL-CODE-403049
|
|
|
|
*
|
|
|
|
* CDDL HEADER START
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the terms of the
|
|
|
|
* Common Development and Distribution License, Version 1.0 only
|
|
|
|
* (the "License"). You may not use this file except in compliance
|
|
|
|
* with the License.
|
|
|
|
*
|
|
|
|
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
|
|
* or http://www.opensolaris.org/os/licensing.
|
|
|
|
* See the License for the specific language governing permissions
|
|
|
|
* and limitations under the License.
|
|
|
|
*
|
|
|
|
* When distributing Covered Code, include this CDDL HEADER in each
|
|
|
|
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
|
|
* If applicable, add the following below this CDDL HEADER, with the
|
|
|
|
* fields enclosed by brackets "[]" replaced with your own identifying
|
|
|
|
* information: Portions Copyright [yyyy] [name of copyright owner]
|
|
|
|
*
|
|
|
|
* CDDL HEADER END
|
|
|
|
*/
|
|
|
|
|
2015-03-12 18:09:19 +00:00
|
|
|
AC_INIT(m4_esyscmd(grep Name META | cut -d ':' -f 2 | tr -d ' \n'),
|
|
|
|
m4_esyscmd(grep Version META | cut -d ':' -f 2 | tr -d ' \n'))
|
2010-08-26 18:22:58 +00:00
|
|
|
AC_LANG(C)
|
|
|
|
ZFS_AC_META
|
|
|
|
AC_CONFIG_AUX_DIR([config])
|
2013-03-30 02:33:09 +00:00
|
|
|
AC_CONFIG_MACRO_DIR([config])
|
2010-08-26 18:22:58 +00:00
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
AM_MAINTAINER_MODE
|
2013-04-02 22:16:39 +00:00
|
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
2015-03-12 18:09:19 +00:00
|
|
|
AM_INIT_AUTOMAKE
|
2010-08-26 18:22:58 +00:00
|
|
|
AC_CONFIG_HEADERS([zfs_config.h], [
|
|
|
|
(mv zfs_config.h zfs_config.h.tmp &&
|
2010-09-04 20:26:23 +00:00
|
|
|
awk -f ${ac_srcdir}/config/config.awk zfs_config.h.tmp >zfs_config.h &&
|
2010-08-26 18:22:58 +00:00
|
|
|
rm zfs_config.h.tmp) || exit 1])
|
|
|
|
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_LIBTOOL
|
|
|
|
AM_PROG_AS
|
|
|
|
|
|
|
|
ZFS_AC_LICENSE
|
|
|
|
ZFS_AC_PACKAGE
|
|
|
|
ZFS_AC_CONFIG
|
|
|
|
ZFS_AC_DEBUG
|
2012-03-20 23:00:17 +00:00
|
|
|
ZFS_AC_DEBUG_DMU_TX
|
2010-08-26 18:22:58 +00:00
|
|
|
|
|
|
|
AC_CONFIG_FILES([
|
|
|
|
Makefile
|
2011-08-05 19:22:58 +00:00
|
|
|
udev/Makefile
|
|
|
|
udev/rules.d/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
etc/Makefile
|
2011-03-17 22:02:28 +00:00
|
|
|
etc/init.d/Makefile
|
|
|
|
etc/zfs/Makefile
|
2014-01-19 14:36:49 +00:00
|
|
|
etc/systemd/Makefile
|
|
|
|
etc/systemd/system/Makefile
|
|
|
|
etc/modules-load.d/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
man/Makefile
|
2013-03-12 19:40:55 +00:00
|
|
|
man/man1/Makefile
|
2012-04-21 00:32:30 +00:00
|
|
|
man/man5/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
man/man8/Makefile
|
|
|
|
lib/Makefile
|
2010-08-26 18:50:56 +00:00
|
|
|
lib/libspl/Makefile
|
|
|
|
lib/libspl/asm-generic/Makefile
|
|
|
|
lib/libspl/asm-i386/Makefile
|
|
|
|
lib/libspl/asm-x86_64/Makefile
|
|
|
|
lib/libspl/include/Makefile
|
2010-09-04 20:26:23 +00:00
|
|
|
lib/libspl/include/ia32/Makefile
|
|
|
|
lib/libspl/include/ia32/sys/Makefile
|
|
|
|
lib/libspl/include/rpc/Makefile
|
|
|
|
lib/libspl/include/sys/Makefile
|
|
|
|
lib/libspl/include/sys/sysevent/Makefile
|
|
|
|
lib/libspl/include/sys/dktp/Makefile
|
|
|
|
lib/libspl/include/util/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
lib/libavl/Makefile
|
|
|
|
lib/libefi/Makefile
|
|
|
|
lib/libnvpair/Makefile
|
|
|
|
lib/libunicode/Makefile
|
|
|
|
lib/libuutil/Makefile
|
|
|
|
lib/libzpool/Makefile
|
2014-06-06 23:23:22 +00:00
|
|
|
lib/libzfs/libzfs.pc
|
|
|
|
lib/libzfs/libzfs_core.pc
|
2010-08-26 18:22:58 +00:00
|
|
|
lib/libzfs/Makefile
|
2013-08-28 11:45:09 +00:00
|
|
|
lib/libzfs_core/Makefile
|
2011-07-02 19:34:05 +00:00
|
|
|
lib/libshare/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
cmd/Makefile
|
|
|
|
cmd/zdb/Makefile
|
2012-12-13 23:24:15 +00:00
|
|
|
cmd/zhack/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
cmd/zfs/Makefile
|
|
|
|
cmd/zinject/Makefile
|
|
|
|
cmd/zpool/Makefile
|
2012-08-29 19:23:12 +00:00
|
|
|
cmd/zstreamdump/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
cmd/ztest/Makefile
|
2010-08-26 18:58:00 +00:00
|
|
|
cmd/zpios/Makefile
|
2011-03-04 23:14:46 +00:00
|
|
|
cmd/mount_zfs/Makefile
|
2013-01-09 20:51:29 +00:00
|
|
|
cmd/fsck_zfs/Makefile
|
2011-02-22 10:58:44 +00:00
|
|
|
cmd/zvol_id/Makefile
|
2012-04-21 00:32:30 +00:00
|
|
|
cmd/vdev_id/Makefile
|
2013-06-07 04:33:01 +00:00
|
|
|
cmd/arcstat/Makefile
|
2013-10-25 20:58:45 +00:00
|
|
|
cmd/dbufstat/Makefile
|
2015-03-02 21:28:57 +00:00
|
|
|
cmd/arc_summary/Makefile
|
2014-01-21 21:30:03 +00:00
|
|
|
cmd/zed/Makefile
|
2014-07-18 23:45:49 +00:00
|
|
|
contrib/Makefile
|
|
|
|
contrib/bash_completion.d/Makefile
|
2015-07-09 18:41:14 +00:00
|
|
|
contrib/dracut/Makefile
|
|
|
|
contrib/dracut/90zfs/Makefile
|
Initramfs scripts for ZoL.
* Supports booting of a ZFS snapshot.
Do this by cloning the snapshot into a dataset. If this, the resulting
dataset, already exists, destroy it. Then mount it on root.
* If snapshot does not exist, use base dataset (the part before '@')
as boot filesystem instead.
* If no snapshot is specified on the 'root=' kernel command line, but there
is an '@', then get a list of snapshots below that filesystem and ask the
user which to use.
* Clone with 'mountpoint=none' and 'canmount=noauto' - we mount manually
and explicitly.
* For sub-filesystems, that doesn't have a mountpoint property set, we use
the 'org.zol:mountpoint' to keep track of it's mountpoint.
* Allow rollback of snapshots instead of clone it and boot from the clone.
* Allow mounting a root- and subfs with mountpoint=legacy set
* Allow mounting a filesystem which is using nativ encryption.
* Support all currently used kernel command line arguments
All the different distributions have their own standard on what to specify
on the kernel command line to boot of a ZFS filesystem.
* Extra options:
* zfsdebug=(on,yes,1) Show extra debugging information
* zfsforce=(on,yes,1) Force import the pool
* rollback=(on,yes,1) Rollback (instead of clone) the snapshot
* Only try to import pool if it haven't already been imported
* This will negate the need to force import a pool that have not been exported cleanly.
* Support exclusion of pools to import by setting ZFS_POOL_EXCEPTIONS in /etc/default/zfs.
* Support additional configuration variable ZFS_INITRD_ADDITIONAL_DATASETS
to mount additional filesystems not located under your root dataset.
* Include /etc/modprobe.d/{zfs,spl}.conf in the initrd if it/they exist.
* Include the udev rule to use by-vdev for pool imports.
* Include the /etc/default/zfs file to the initrd.
* Only try /dev/disk/by-* in the initrd if USE_DISK_BY_ID is set.
* Use /dev/disk/by-vdev before anything.
* Add /dev as a last ditch attempt.
* Fallback to using the cache file if that exist if nothing else worked.
* Use /sbin/modprobe instead of built-in (BusyBox) modprobe.
This gets rid of the message "modprobe: can't load module zcommon".
Thanx to pcoultha for finding this.
Signed-off-by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2116
Closes #2114
2014-01-30 16:26:48 +00:00
|
|
|
contrib/initramfs/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
module/Makefile
|
|
|
|
module/avl/Makefile
|
|
|
|
module/nvpair/Makefile
|
|
|
|
module/unicode/Makefile
|
|
|
|
module/zcommon/Makefile
|
|
|
|
module/zfs/Makefile
|
2010-08-26 18:58:00 +00:00
|
|
|
module/zpios/Makefile
|
2010-09-04 20:26:23 +00:00
|
|
|
include/Makefile
|
2011-01-18 19:42:25 +00:00
|
|
|
include/linux/Makefile
|
2010-09-04 20:26:23 +00:00
|
|
|
include/sys/Makefile
|
|
|
|
include/sys/fs/Makefile
|
|
|
|
include/sys/fm/Makefile
|
|
|
|
include/sys/fm/fs/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
scripts/Makefile
|
2010-09-04 20:26:23 +00:00
|
|
|
scripts/zpios-profile/Makefile
|
|
|
|
scripts/zpios-test/Makefile
|
|
|
|
scripts/zpool-config/Makefile
|
2010-08-26 18:22:58 +00:00
|
|
|
scripts/common.sh
|
2013-02-17 20:10:17 +00:00
|
|
|
rpm/Makefile
|
2015-03-25 23:59:17 +00:00
|
|
|
rpm/redhat/Makefile
|
|
|
|
rpm/redhat/zfs.spec
|
|
|
|
rpm/redhat/zfs-kmod.spec
|
|
|
|
rpm/redhat/zfs-dkms.spec
|
2013-02-17 20:10:17 +00:00
|
|
|
rpm/generic/Makefile
|
|
|
|
rpm/generic/zfs.spec
|
|
|
|
rpm/generic/zfs-kmod.spec
|
|
|
|
rpm/generic/zfs-dkms.spec
|
2010-09-04 20:26:23 +00:00
|
|
|
zfs-script-config.sh
|
2012-07-12 19:21:25 +00:00
|
|
|
zfs.release
|
2010-08-26 18:22:58 +00:00
|
|
|
])
|
|
|
|
|
|
|
|
AC_OUTPUT
|