zfs: 0.6.5.3 -> 0.6.5.4
This commit is contained in:
parent
fe53cb56d9
commit
d51204e8de
@ -20,13 +20,13 @@ assert buildKernel -> kernel != null && spl != null;
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}";
|
name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}";
|
||||||
|
|
||||||
version = "0.6.5.3";
|
version = "0.6.5.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zfsonlinux";
|
owner = "zfsonlinux";
|
||||||
repo = "zfs";
|
repo = "zfs";
|
||||||
rev = "zfs-${version}";
|
rev = "zfs-${version}";
|
||||||
sha256 = "1hq65kq50hzhd1zqgyzqq2whg1fckigq8jmhhdsnbwrwmx5y76lh";
|
sha256 = "10zf1kdgmdiaaa3zmz4sz5aj5ql6v24wcwixlxbwhwc51mr46k50";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./nix-build.patch ];
|
patches = [ ./nix-build.patch ];
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
diff --git a/Makefile.am b/Makefile.am
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
index 49b417a..f4af44d 100644
|
index f8abb5f..82e8fb6 100644
|
||||||
--- a/Makefile.am
|
--- a/Makefile.am
|
||||||
+++ b/Makefile.am
|
+++ b/Makefile.am
|
||||||
@@ -12,10 +12,10 @@ endif
|
@@ -11,10 +11,10 @@ endif
|
||||||
if CONFIG_KERNEL
|
if CONFIG_KERNEL
|
||||||
SUBDIRS += module
|
SUBDIRS += module
|
||||||
|
|
||||||
@ -28,10 +28,10 @@ index a94cad5..a160fe2 100644
|
|||||||
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
||||||
endif
|
endif
|
||||||
diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am
|
diff --git a/include/linux/Makefile.am b/include/linux/Makefile.am
|
||||||
index d00b1c8..3242d2e 100644
|
index 595d1db..d41375d 100644
|
||||||
--- a/include/linux/Makefile.am
|
--- a/include/linux/Makefile.am
|
||||||
+++ b/include/linux/Makefile.am
|
+++ b/include/linux/Makefile.am
|
||||||
@@ -17,6 +17,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
|
@@ -18,6 +18,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_KERNEL
|
if CONFIG_KERNEL
|
||||||
@ -40,10 +40,10 @@ index d00b1c8..3242d2e 100644
|
|||||||
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
||||||
endif
|
endif
|
||||||
diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
|
diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
|
||||||
index 7ddace0..8da3870 100644
|
index 77ecfb2..52b3612 100644
|
||||||
--- a/include/sys/Makefile.am
|
--- a/include/sys/Makefile.am
|
||||||
+++ b/include/sys/Makefile.am
|
+++ b/include/sys/Makefile.am
|
||||||
@@ -102,6 +102,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
|
@@ -114,6 +114,6 @@ libzfs_HEADERS = $(COMMON_H) $(USER_H)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_KERNEL
|
if CONFIG_KERNEL
|
||||||
@ -88,7 +88,7 @@ index 0859b9f..b0c6eec 100644
|
|||||||
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
||||||
endif
|
endif
|
||||||
diff --git a/module/Makefile.in b/module/Makefile.in
|
diff --git a/module/Makefile.in b/module/Makefile.in
|
||||||
index 686402b..9cbf598 100644
|
index d4ddee2..876c811 100644
|
||||||
--- a/module/Makefile.in
|
--- a/module/Makefile.in
|
||||||
+++ b/module/Makefile.in
|
+++ b/module/Makefile.in
|
||||||
@@ -18,9 +18,9 @@ modules:
|
@@ -18,9 +18,9 @@ modules:
|
||||||
@ -122,8 +122,9 @@ index 686402b..9cbf598 100644
|
|||||||
KERNELRELEASE=@LINUX_VERSION@
|
KERNELRELEASE=@LINUX_VERSION@
|
||||||
@# Remove extraneous build products when packaging
|
@# Remove extraneous build products when packaging
|
||||||
- kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
|
- kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
|
||||||
|
- if [ -n "$(DESTDIR)" ]; then \
|
||||||
+ kmoddir=@prefix@/$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
|
+ kmoddir=@prefix@/$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
|
||||||
if [ -n $$kmoddir ]; then \
|
+ if [ -n "@prefix@" ]; then \
|
||||||
find $$kmoddir -name 'modules.*' | xargs $(RM); \
|
find $$kmoddir -name 'modules.*' | xargs $(RM); \
|
||||||
fi
|
fi
|
||||||
- sysmap=$(DESTDIR)$(INSTALL_MOD_PATH)/boot/System.map-@LINUX_VERSION@; \
|
- sysmap=$(DESTDIR)$(INSTALL_MOD_PATH)/boot/System.map-@LINUX_VERSION@; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user