-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes for building debian (wheezy) packages from recent zfs git source #127
fixes for building debian (wheezy) packages from recent zfs git source #127
Conversation
… build more recent git versions of ZFS on Linux. See Also: openzfs/zfs#2863
BTW, pkg-spl currently has a merge conflict on the README.markdown between upstream and master/debian/wheezy (when following your directions). It's pretty trivial to fix so I didn't include a separate pull request for that, but it might affect others trying to build newer git releases in order to test out patches/fixes. |
I'm sorry, but you've wasted your time. You should have asked first.. Please see https://github.com/zfsonlinux/pkg-zfs/tree/snapshot/debian/wheezy/0.6.3-21_7b2d78_wheezy. Can't get any fresher than that... |
Awesome, though I swear that wasn't there last week. Thanks so much for your time and help. Is there a similar snapshot for spl as well? Thanks, Turbo Fredriksson notifications@github.com 2014-11-20 11:43:
|
It probably wasn't. I pushed that yesterday I think. But just slightly older have been there for a month or so...
Yes. Check with 'git tag -l' and then find the one that looks latest. currently that is:
|
Turbo Fredriksson notifications@github.com 2014-11-20 12:30:
Yeah, the bug we're trying to debug is more recent than that though
Der, I was looking in the branches view in github.
Perfect. Thanks so much. Cheers, |
Brian Kroth bpkroth@gmail.com 2014-11-20 14:40:
Hate to bug you again, but the build instructions seem to have changed Thanks, Grab the code: git clone https://github.com/zfsonlinux/pkg-spl.gitcd pkg-splgit checkout snapshot/debian/wheezy/0.6.3-13_917fef_wheezyMake a local branch: git checkout -b $local_branch_nameUpdate the git-buildpackage config file with $local_branch_name sed -i "s|master/debian/wheezy|$local_branch_name|" debian/gbp.confGenerate the control file (the various debian build scripts all seem to ./debian/rules override_dh_prep-base-deb-filesBuild the package with git-buildpackage instead of dpkg-buildpackage git-buildpackage -uc -usSimilar for pkg-zfs, except that I had to add dh-systemd to the |
You don't need to do that.
Nor this (because of the former).
I use:
But since I sign my packages, you probably need the "-uc -us" as well.
I know. I've missed that part. I have it in a local tag, but I didn't want to do a release Otherwise, all commands seems just fine.= |
Hi all, here are some patches to the Debian (wheezy) packaging system so that we can build more recent git versions of ZFS on Linux.
Let me know if you have any questions.
Thanks,
Brian
See Also: openzfs/zfs#2863