[pve-devel] [zfsonlinux 1/2] Update to pkg-zfs/pkg-spl jessie/0.6.5.6-3

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Apr 15 10:36:20 CEST 2016


drop cherry-pick workarounds, use 0.6.5.6-3 tags instead.

drop unneeded/non-upstream pull requests in pkg-zfs:
- #1099: iSCSI support for ZoL
- #1476: Change sharesmb to use REGISTRY shares for better
  control by user/admin
- #2790: Rewrite of nfs.c to keep options per host separated.
- #3238: Allow "zfs unshare <proto> -a" much like "zfs share
  <proto> -a" (WIP)
---
Tested with zfs as root and non-root pool.

 Makefile                                      | 21 ++++-----------------
 zfs-patches/series                            |  1 +
 zfs-patches/skip-unneeded-pull-requests.patch | 21 +++++++++++++++++++++
 3 files changed, 26 insertions(+), 17 deletions(-)
 create mode 100644 zfs-patches/skip-unneeded-pull-requests.patch

diff --git a/Makefile b/Makefile
index 2376676..9220f1d 100644
--- a/Makefile
+++ b/Makefile
@@ -61,23 +61,10 @@ zfs ${ZFS_DEBS}: ${ZFSSRC}
 .PHONY: download
 download:
 	rm -rf pkg-spl pkg-zfs ${SPLSRC} ${ZFSSRC}
-	git clone https://github.com/zfsonlinux/pkg-spl.git
-	# list tags with:  git tag --list 'master/*'
-	cd pkg-spl; git fetch https://github.com/zfsonlinux/spl.git spl-0.6.5-release
-	cd pkg-spl; git checkout master/debian/jessie/0.6.5-1
-	# manual merge spl-0.6.5.6
-	cd pkg-spl; git merge --no-edit spl-0.6.5.6
-	git clone https://github.com/zfsonlinux/pkg-zfs.git
-	cd pkg-zfs; git fetch https://github.com/zfsonlinux/zfs.git zfs-0.6.5-release
-	cd pkg-zfs; git checkout master/debian/jessie/0.6.5.2-2
-	# manual cherry-pick relevant 0.6.5.3 updates
-	cd pkg-zfs; git cherry-pick cd887ab869bb506c88a66ba8c225ca42680b89d f9f5394f74f7bf421eb484e8d1653257d92f5ace 9aaf60b66d10cb01c3c1fc67fa094b17a83b002a
-	# manual cherry-pick relevant 0.6.5.4 updates
-	cd pkg-zfs; git cherry-pick e909a45d22be9645f8bca27bfc4db6912648e1be^..1ffc4c150e10310b319ab8a7d83f1f98f9a1e651
-	# manual cherry-pick relevant 0.6.5.5 updates
-	cd pkg-zfs; git cherry-pick a5dae61721fac617d37ac8585a9ed5fe5aa20d1d^..504ff597092ec6160675685db938dbd21043b690
-	# manual cherry-pick relevant 0.6.5.6 updates
-	cd pkg-zfs; git cherry-pick 63ce7b6fcfc417fc58cbfaca641d54d66eeaccab^..21f21fe85989004e60d316fca9bb4eb4cde10eb7
+	# clone pkg-spl and checkout 0.6.5.6-3
+	git clone -b master/debian/jessie/0.6.5.6-3 https://github.com/zfsonlinux/pkg-spl.git
+	# clone pkg-zfs and checkout 0.6.5.6-3
+	git clone -b master/debian/jessie/0.6.5.6-3 https://github.com/zfsonlinux/pkg-zfs.git
 	tar czf ${SPLSRC} pkg-spl
 	tar czf ${ZFSSRC} pkg-zfs
 
diff --git a/zfs-patches/series b/zfs-patches/series
index 735ea2d..1c9b404 100644
--- a/zfs-patches/series
+++ b/zfs-patches/series
@@ -1,2 +1,3 @@
 fix-control.patch
 fix-dh-installinit.patch
+skip-unneeded-pull-requests.patch
diff --git a/zfs-patches/skip-unneeded-pull-requests.patch b/zfs-patches/skip-unneeded-pull-requests.patch
new file mode 100644
index 0000000..62f5640
--- /dev/null
+++ b/zfs-patches/skip-unneeded-pull-requests.patch
@@ -0,0 +1,21 @@
+diff --git a/debian/patches/series b/debian/patches/series
+index ffafe6c..9823273 100644
+--- a/debian/patches/series
++++ b/debian/patches/series
+@@ -1,12 +1,12 @@
+ 0002-Prevent-manual-builds-in-the-DKMS-source.patch
+ 0005-Remove-userland-dist-rules.patch
+ libzfs-dependencies
+-PR1099.patch
+-PR1476.patch
++#PR1099.patch
++#PR1476.patch
+ PR1867.patch
+ PR2668.patch
+-PR2790.patch
+-PR3238.patch
++#PR2790.patch
++#PR3238.patch
+ PR3465.patch
+ PR3559.patch
+ PR3560.patch
-- 
2.1.4





More information about the pve-devel mailing list