Skip to content

Commit

Permalink
add the git-remote-keybase binary to Linux packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Sep 18, 2017
1 parent bf4e010 commit 196e2e7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packaging/linux/build_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ build_one_architecture() {
return
fi

# Add the kbfs repo to our custom GOPATH.
ln -snf "$kbfs_repo" "$GOPATH/src/github.com/keybase/kbfs"

cp "$here/run_keybase" "$layout_dir/usr/bin/"

# In include-KBFS mode, create the /opt/keybase dir, and include post_install.sh.
Expand All @@ -103,10 +106,14 @@ build_one_architecture() {

# Build the kbfsfuse binary. Currently, this always builds from master.
echo "Building kbfs for $GOARCH..."
ln -snf "$kbfs_repo" "$GOPATH/src/github.com/keybase/kbfs"
go build -tags "$go_tags" -ldflags "$ldflags_kbfs" -o \
"$layout_dir/usr/bin/kbfsfuse" github.com/keybase/kbfs/kbfsfuse

# Build the git-remote-keybase binary, also from the kbfs repo.
echo "Building git-remote-keybase for $GOARCH..."
go build -tags "$go_tags" -ldflags "$ldflags_kbfs" -o \
"$layout_dir/usr/bin/git-remote-keybase" github.com/keybase/kbfs/kbfsgit/git-remote-keybase

# Build the kbnm binary
echo "Building kbnm for $GOARCH..."
go build -tags "$go_tags" -ldflags "$ldflags_kbnm" -o \
Expand Down

0 comments on commit 196e2e7

Please sign in to comment.