GRUB enhancements for ZFS on Linux
Shell
Switch branches/tags
v1.99 upstream/1.99 upstream/ubuntu/raring/2.00 upstream/ubuntu/precise/1.99 upstream/debian/2.00-22 upstream-2.02_beta2+7aa9f6 upstream-2.02_beta2 upstream-2.02_beta2+gitebb3d upstream-2.02_beta2+gitc0f52 upstream-2.02_beta2+gitbac5d upstream-2.02_beta2+git677dc upstream-2.02_beta2+git72ec3 upstream-2.00 upstream-1.99 upstream-1.98+20100804 upstream-1.98+20100802 upstream-1.98+20100722 upstream-1.98+20100720 upstream-1.98+20100710 upstream-1.98+20100706 upstream-1.98+20100705 upstream-1.98+20100702 upstream-1.98+20100617 upstream-1.98+20100614 upstream-1.98+20100602 upstream-1.98+20100527 upstream-1.98 upstream-1.97+20091210 upstream-1.97+20091130 upstream-1.97+20091125 upstream-1.97+20091115 upstream-1.97 upstream-1.96+20090826 upstream-1.96+20090808 upstream-1.96+20090725 upstream-1.96+20090721 upstream-1.96+20090709 upstream-1.96+20090702 upstream-1.96+20090611 upstream-1.96+20090603 upstream-1.96+20090523 upstream-1.96+20090504 upstream-1.96+20090402 upstream-1.96+20090401 upstream-1.96+20090317 upstream-1.96+20080724 upstream-1.96+20080512 upstream-1.96+20080203 upstream-1.95+20080128 upstream-1.95+20071101 upstream-1.95+20070604 upstream-1.95+20070520 upstream-1.95 upstream-1.94 upstream-1.92 upstream-1.91 upstream-0.6+20050203 turbo_test snapshot/ubuntu/raring/2.00-13ubuntu3+zfs2_raring_4.gbp959de7 snapshot/ubuntu/raring/2.00-13ubuntu3+zfs2_raring_3.gbp93155a snapshot/ubuntu/raring/2.00-13ubuntu3+zfs2_raring_2.gbp57c8a9 snapshot/debian/wheezy/2.02_beta2+gitebb3d-9.ZOL2 snapshot/debian/wheezy/2.02_beta2+gitbac5d-9.ZOL4 snapshot/debian/wheezy/2.02_beta2+gitbac5d-9.ZOL3 snapshot/debian/wheezy/2.02_beta2+gitbac5d-9.ZOL2 snapshot/debian/wheezy/2.02_beta2+gitbac5d-9.ZOL1 snapshot/debian/wheezy/2.02_beta2+git72ec3-9.ZOL2 snapshot/debian/wheezy/2.02_beta2+git72ec3-9.ZOL1 snapshot/debian/wheezy/2.02_beta2-9.ZOL1 snapshot/debian/wheezy/2.02-beta2.9-ZOL13-677dca-wheezy snapshot/debian/wheezy/2.02-beta2.9-ZOL12-7aa9f6-wheezy snapshot/debian/wheezy/2.02-beta2.9-ZOL11-7aa9f6-wheezy snapshot/debian/wheezy/2.02-beta2.9-ZOL10-7aa9f6-wheezy snapshot/debian/wheezy/2.02-beta2.9-ZOL9-7aa9f6-wheezy snapshot/debian/wheezy/2.02-beta2.9-ZOL8-7aa9f6-wheezy snapshot/debian/wheezy/2.02-beta2.9-ZOL7-7aa9f6-wheezy snapshot/debian/wheezy/2.02-beta2.9-ZOL6-7aa9f6 snapshot/debian/wheezy/2.02-beta2-gitbac5d-9.ZOL5 snapshot/debian/jessie/2.02_beta2+gitbac5d-9.ZOL2 snapshot/debian/jessie/2.02-beta2.9-ZOL12-7aa9f6 snapshot/debian/jessie/2.02-beta2.9-ZOL11-7aa9f6 snapshot/debian/jessie/2.02-beta2.9-ZOL10-7aa9f6 snapshot/debian/jessie/2.02-beta2.9-ZOL9-7aa9f6 snapshot/debian/jessie/2.02-beta2.9-ZOL8-7aa9f6 snapshot/debian/jessie/2.02-beta2.9-ZOL7-7aa9f6 snapshot/debian/jessie/2.02-beta2.9-ZOL6-7aa9f6-jessie snapshot/debian/jessie/2.02-beta2-gitbac5d-9.ZOL5-jessie snapshot/debian/jessie/2.02-beta2-gitbac5d-9.ZOL3-jessie master/ubuntu/raring/2.00-13ubuntu3+zfs3_raring master/ubuntu/raring/2.00-13ubuntu3+zfs2_raring master/ubuntu/precise/1.99-21ubuntu3.15 master/ubuntu/precise/1.99-21ubuntu3.15+zfs1 master/ubuntu/precise/1.99-21ubuntu3.14+zfs1 master/ubuntu/precise/1.99-21ubuntu3.11 master/ubuntu/precise/1.99-21ubuntu3.11+zfs1 master/ubuntu/precise/1.99-21ubuntu3.9+zfs1_precise1 master/debian/wheezy/2.00-22debian1+zfs3+0.6.3_wheezy master/debian/wheezy/2.00-22debian1+zfs3+0.6.3-2_wheezy master/debian/wheezy/2.00-22debian1+zfs3+0.6.3-1_wheezy master/debian/wheezy/2.00-22debian1+zfs3_wheezy
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
fix_includes-libspl.sh

README.md

GRUB enhancements for ZFS on Linux

The home for this git repository is:

GRUB packages at https://launchpad.net/~zfs-native/+archive/grub (the PPA) and http://archive.zfsonlinux.org/debian/ are built from this repository using the git-buildpackage tool.

Casual Build Instructions

If you are using APT to install Grub, then just do quick builds like this:

$ apt-get source --build grub

This requires a corresponding deb-src line for each deb line in the /etc/apt/sources.list.d file for Grub.

Developer Build Instructions

  1. Clone this repository:

    $ git clone git://github.com/zfsonlinux/grub.git
    $ cd grub
    
  2. List the current releases by branch name:

    $ git branch --list 'master/*'
    
  3. Or list previous releases by tag name:

    $ git tag --list 'master/*'
    $ git tag --list 'snapshot/*'
    
  4. Before building the chosen tag/branch, because of limitations and faults with the current ZoL development package, you need to modify the includes. This is done using the command

    $ ./fix_includes-libspl.sh
    

This is, however, no longer need if using the 0.6.3-41-0f7d2a version or newer. It's now done when packaging that.

  1. Checkout the branch name or tag name that you want to build. For example, the latest code for Ubuntu 12.04 Raring is:

    $ git checkout master/ubuntu/raring/2.00-13ubuntu3+zfs3_raring
    
  2. Now compile it:

    $ git-buildpackage -uc -us
    
  3. And clean the working tree afterwards by doing this:

    $ git clean -df
    $ git reset --hard
    

Release Instructions

  1. Build a binary+source release like this:
    $ git-buildpackage --git-tag [-sa|-sd]
    

(The -sa switch means "upload a new upstream tarball" for an out-series build. The -sd switch means "only upload the new overlay" for an in-series builds.)

  1. Synchronize the release bucket to your working copy.

    $ s3cmd sync --dry-run s3://archive.zfsonlinux.org/ ./archive.zfsonlinux.org/
    $ s3cmd sync s3://archive.zfsonlinux.org/ ./archive.zfsonlinux.org/
    
  2. Update the release bucket like this:

    $ cd ./archive/zfsonlinux.org/debian/
    $ reprepro include wheezy /tmp/zfs-linux_${version}_amd64.changes
    
  3. Do a local installation in a clean sandbox to ensure that the Release and Sources are sensible.

  4. Give notice that you're touching the release bucket, and synchronize the new packages:

    $ s3cmd sync --dry-run ./archive.zfsonlinux.org/ s3://archive.zfsonlinux.org/
    $ s3cmd sync ./archive.zfsonlinux.org/ s3://archive.zfsonlinux.org/
    

(Ideally, you would sync the pool first, and then sync the meta to ensure the smallest possible window of inconsistency.)

Upstream Repositories

The upstream branch in this repository is an unmodified copy of the http://github.com/zfsonlinux/grub.git mainline.