]> git.proxmox.com Git - mirror_zfs-debian.git/commit - copy-builtin
Add missing dependencies to ./copy-builtin
authorRichard Yao <ryao@cs.stonybrook.edu>
Sun, 29 Jul 2012 09:43:57 +0000 (05:43 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 6 Aug 2012 18:47:47 +0000 (11:47 -0700)
commit9a512dca97fec1afa5068b53621ce1dd7dbef578
tree18bf79c62649fe2c7de16b266c32b6898d1d7862
parent7c0e570888532b3cecf66459e55688df18946be0
Add missing dependencies to ./copy-builtin

ZFS depends on EFI_PARTITION, ZLIB_DEFLATE and ZLIB_INFLATE, but when
ZFS is integrated with the kernel source tree, menuconfig does not
enforce these dependencies. This can cause build failures in the case of
ZLIB_DEFLATE and ZLIB_INFLATE where symbols are not found. This can also
cause runtime failures in the case of EFI_PARTITION, where the kernel
will not understand GPT partitions when creating pools from raw disks.
We solve this by making menuconfig aware of these dependencies.

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #854
copy-builtin