From 3731306bf695d01a95b539d440544a7e74d29ef7 Mon Sep 17 00:00:00 2001 From: Jesus Alvarez Date: Fri, 18 Apr 2014 15:59:51 -0700 Subject: [PATCH] README: Add note about generating git patches --- README.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.rst b/README.rst index 7533ed2..35f8c33 100644 --- a/README.rst +++ b/README.rst @@ -95,5 +95,21 @@ How to use this Repository to push the package sources by version (specified by ``AZB_LINUX_VERSION``) to AUR. +#. Creating a GIT patch + + * Clone the ZFS and SPL sources + * Set the paths to the sources in conf.sh + * cd to ZFS git repo and create a new branch "patch_br" + * Use: git rebase -i to squash all of the commits until the last + release (tagged 0.6.2 currently). Use fixup to discard the commit log + messages. + * git format-patch -1 + * Edit the patch and remove uneeded messages or changes + * git co master + * mv 0001* $(git describe --long).patch + * rename the patch adding a "r": zfs-0.6.2-r* + * tar --xz -cvvf zfs.patch.tar.xz zfs.patch + * Copy the patches to the PKGBUILD directories + .. _burp: https://www.archlinux.org/packages/extra/x86_64/burp/ .. _clean-chroot-manager: https://aur.archlinux.org/packages/clean-chroot-manager