Commit Graph

2453 Commits

Author SHA1 Message Date
Brian Behlendorf f984d28e0c Cleanly handle --with-linux=NONE and --with-spl=NONE options
when used to generate source rpms.  These should not be fatal
because we actually don't need them until we build the source
rpm.  When doing mock build this is important because these
dependent rpms will only be installed if they are specificed
in the source rpms spec file.
2009-07-02 10:44:43 -07:00
Brian Behlendorf a80902b8ba Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-07-01 14:42:06 -07:00
Brian Behlendorf 6e50f53cb1 Drop --with-linux and --with-spl options from user build. 2009-07-01 14:35:38 -07:00
Brian Behlendorf 82b05a5f5e Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-07-01 12:57:24 -07:00
Brian Behlendorf 01ff9d82d5 Install zfs_config, zfs_unconfig, symbols in to correct location.
Provide a zfs.release file as part of the package.
2009-07-01 12:51:06 -07:00
Brian Behlendorf 94390a0793 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-07-01 11:11:27 -07:00
Brian Behlendorf ef0a712858 Distro friendly build system / packaging improvements.
These changes bring the zfs-0.4.4 tree in to compliance with
the spl-0.4.4 packaging changes.  The bottom line is 2 source
rpms and 4 binary rpms will now be generated when creating
packages there will be:

zfs-<version>.src.rpm
- Fully rebuildable source rpm for libzfs and utils.
zfs-modules-<version>.src.rpm
- Fully rebuildable source rpm for kernel modules.

zfs-<version>.<arch>.rpm
- Binary rpm for libzfs and utils.  The utils in this package are
  compatible with all zfs-module rpms of the same version.
zfs-devel-<version>.<arch>.rpm
- Binary rpm containing headers for building against libzfs libraries.

zfs-modules-<verion>-<kernel>.arch.rpm
- Binary rpm containing the kernel modules for a specific kernel build.
  The package name contains the kernel version and you should have one
  of these packages installed to match every kernel on your system.
zfs-modules-devel-<verion>-<kernel>.arch.rpm
- Binary rpm containing development header and module symbols needed
  for building additional kernel modules which are dependent on the
  zfs module stack.

Expect minor interations on these changes as I validate they work
properly on CHAOS, RHEL, Fedora, and SLES style distros.
2009-07-01 10:53:05 -07:00
Brian Behlendorf b7ce372906 Merge commit 'refs/remotes/origin/linux-zpios' into HEAD 2009-06-26 14:35:39 -07:00
Brian Behlendorf 4fbded409d Merge commit '0f1012be0aeb6f5f27966c80321db79a9b1aaec3' into zfs-branch 2009-06-26 14:33:53 -07:00
Brian Behlendorf 137276e3c9 Should be powerpc64 not powerpc (powerpc is unsupported) 2009-06-26 14:29:42 -07:00
Brian Behlendorf a013a22d95 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-06-09 16:32:19 -07:00
Brian Behlendorf 0f1012be0a Add basic zlib autoconf check for user space build. 2009-06-09 16:09:17 -07:00
Brian Behlendorf 580ec24fa5 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-06-09 14:46:41 -07:00
Brian Behlendorf 999035eb32 Only powerpc64 is currently supported not powerpc. 2009-06-09 14:20:44 -07:00
Brian Behlendorf cfdfd81eb1 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-06-08 16:29:43 -07:00
Brian Behlendorf 9c347d872f Core target arch support for conditional compilation of SUBDIRs
which is used by libspl for it's arch specific atomic implementations.
2009-06-08 16:07:43 -07:00
Brian Behlendorf 1256ffae8d Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-06-08 12:23:16 -07:00
Brian Behlendorf 4253416b7d Refresh for consistency with COPYRIGHT 2009-06-08 11:59:13 -07:00
Brian Behlendorf 8dcca1e68f Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-06-08 11:26:40 -07:00
Brian Behlendorf e8880abb13 Readd accidentally dropped COPYRIGHT, it just references the
OPENSOLARIS.LICENSE but it should still be in place.
2009-06-08 11:01:13 -07:00
Brian Behlendorf 2384f8a72f Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-05-22 16:38:21 -07:00
Brian Behlendorf e1d6e67473 Merge branch 'gcc-branch' into refs/top-bases/zfs-branch 2009-05-22 16:36:23 -07:00
Brian Behlendorf 9c53917bd5 Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-05-22 16:36:23 -07:00
Brian Behlendorf 9c59a63d91 Merge commit 'refs/top-bases/gcc-branch' into gcc-branch 2009-05-22 16:36:22 -07:00
Brian Behlendorf e56aa929e8 Merge branch 'gcc-cast' into refs/top-bases/gcc-branch 2009-05-22 16:36:22 -07:00
Brian Behlendorf 8e9605062a Explictly use signed char for portability. On x86/x86_64
systems the default char type is signed, on ppc/ppc64 systems
the default char type is unsigned.
2009-05-22 16:30:47 -07:00
Brian Behlendorf b0f211b851 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-05-22 14:56:48 -07:00
Brian Behlendorf 119a28815f - Update build system to SPL_META_VERSION not VERSION.
- ZFS_LINUX_COMPILE_IFELSE drop explicit CC and force the kernel build
  system to set it this ensure -m64 is set only when appropriate.
2009-05-22 14:49:41 -07:00
Brian Behlendorf 2eb12f1ff8 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-05-22 09:39:02 -07:00
Brian Behlendorf d855b57b7c SLES Fixes (Part 1):
- ZFS_AC_KERNEL updated to exclude -obj entries in /usr/src/ when
  attempting to automatically detect your kernel source.
- ZFS_AC_KERNEL check for *-obj directory when attempting to
  detect the objects for your kernel source.
- ZFS_AC_SPL updated to additionally check for Modules.symvers build
  product.  This seems to be specific to SLES system, for Vanilla,
  Fedora, RHEL, and Chaos kernels the symbol file is just called
  Module.symvers.
- ZFS_CHECK_SYMBOL_EXPORT also should also check the exported SPL
  symbols in addition to the exported core kernel systems.
2009-05-22 09:26:36 -07:00
Brian Behlendorf b1c92da6bb Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-20 14:39:54 -07:00
Brian Behlendorf d83c361158 Prep for zfs-0.4.3 tag (Fix spelling) 2009-03-20 14:28:17 -07:00
Brian Behlendorf 4f1f00b7d0 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-20 14:24:13 -07:00
Brian Behlendorf a7da34e996 Prep for zfs-0.4.3 tag 2009-03-20 14:11:49 -07:00
Brian Behlendorf fa58082158 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-20 09:33:01 -07:00
Brian Behlendorf f53e5a851d Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-20 09:29:22 -07:00
Brian Behlendorf 0c88bc3ccd Merge branch 'feature-branch' into refs/top-bases/zfs-branch 2009-03-20 09:29:21 -07:00
Brian Behlendorf fe77fb7907 Merge commit 'refs/top-bases/feature-branch' into feature-branch 2009-03-20 09:29:17 -07:00
Brian Behlendorf 9476bd93ca Merge branch 'feature-pthreads' into refs/top-bases/feature-branch 2009-03-20 09:29:17 -07:00
Brian Behlendorf 13814fe220 Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads 2009-03-20 09:29:16 -07:00
Brian Behlendorf 99da5f93e8 Fix uninitialized variable error in ztest_dmu_commit_callbacks() 2009-03-20 09:20:49 -07:00
Brian Behlendorf aee87a5ab6 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-19 21:31:54 -07:00
Brian Behlendorf bd1685ee4e Merge commit 'refs/top-bases/zfs-branch' into zfs-branch 2009-03-19 21:28:51 -07:00
Brian Behlendorf 1769e10f17 Merge branch 'feature-branch' into refs/top-bases/zfs-branch 2009-03-19 21:28:50 -07:00
Brian Behlendorf a891a11671 Merge commit 'refs/top-bases/feature-branch' into feature-branch 2009-03-19 21:28:48 -07:00
Brian Behlendorf 6d883d7d40 Merge branch 'feature-pthreads' into refs/top-bases/feature-branch 2009-03-19 21:28:48 -07:00
Brian Behlendorf 63781842e3 Update mutex_lock to pthread_mutex_lock for zcl->zcl_callback_locks. 2009-03-19 21:21:35 -07:00
Brian Behlendorf 64684cadfa Merge commit 'refs/top-bases/feature-pthreads' into feature-pthreads 2009-03-19 21:19:28 -07:00
Brian Behlendorf fed604c844 Add extra () requested by gcc 2009-03-19 21:18:54 -07:00
Brian Behlendorf 665c272091 Merge commit 'refs/top-bases/linux-zpios' into linux-zpios 2009-03-19 21:11:35 -07:00