Skip to content

Instantly share code, notes, and snippets.

@b333z
Created May 19, 2013 04:13
Show Gist options
  • Select an option

  • Save b333z/5606656 to your computer and use it in GitHub Desktop.

Select an option

Save b333z/5606656 to your computer and use it in GitHub Desktop.

Revisions

  1. b333z renamed this gist May 19, 2013. 1 changed file with 0 additions and 0 deletions.
  2. b333z created this gist May 19, 2013.
    33 changes: 33 additions & 0 deletions ebuils_switch_repo..txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    # cd /etc/portage/env
    # find . -ls
    1040459 4 drwxr-xr-x 4 root root 4096 May 17 20:57 .
    1040460 4 drwxr-xr-x 2 root root 4096 May 17 21:00 ./sys-fs
    1044487 4 -rw-r--r-- 1 root root 501 May 17 21:00 ./sys-fs/zfs
    1044262 0 lrwxrwxrwx 1 root root 3 Oct 10 2012 ./sys-fs/zfs-kmod -> zfs
    1043259 4 drwxr-xr-x 2 root root 4096 Jan 30 22:40 ./sys-kernel
    1044264 4 -rw-r--r-- 1 root root 223 Sep 1 2012 ./sys-kernel/spl
    # cat ./sys-fs/zfs-kmod # This allows me to jump around people's repos and branches
    #!/bin/bash
    pre_pkg_setup() {
    #EGIT_REPO_URI="https://github.com/behlendorf/zfs.git"
    #EGIT_BRANCH="snapshotfix2"
    #EGIT_REPO_URI="https://github.com/b333z/zfs.git"
    #EGIT_BRANCH="diff"
    #EGIT_REPO_URI="https://github.com/behlendorf/zfs.git"
    #EGIT_BRANCH="swap"
    #EGIT_REPO_URI="https://github.com/dechamps/zfs.git"
    #EGIT_BRANCH="trim-clean"
    #EGIT_REPO_URI="https://github.com/nedbass/zfs.git"
    #EGIT_BRANCH="issue816"

    EGIT_REPO_URI="file:///zfs/zfs"
    EGIT_BRANCH="issue-1461"
    }
    # cat ./sys-kernel/spl # I've commented all lines out to use the normal ebuild values
    #!/bin/bash
    #pre_pkg_setup() {
    # EGIT_REPO_URI="https://github.com/b333z/spl.git"
    # EGIT_REPO_URI="https://github.com/zfsonlinux/spl.git"
    # EGIT_REPO_URI="https://github.com/behlendorf/spl.git"
    # EGIT_BRANCH="swap"
    #}