Skip to content

Commit

Permalink
Merge pull request opencontainers#702 from cyphar/install-to-sbin
Browse files Browse the repository at this point in the history
Makefile: install to /usr/local/sbin
  • Loading branch information
Mrunal Patel committed Apr 12, 2016
2 parents 6460c26 + 534d7a8 commit e874369
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ test: runctestimage
localtest: all
go test -tags "$(BUILDTAGS)" ${TESTFLAGS} -v ./...

dbuild: runctestimage
dbuild: runctestimage
docker build -t $(RUNC_IMAGE) .
docker create --name=$(RUNC_INSTANCE) $(RUNC_IMAGE)
docker cp $(RUNC_INSTANCE):$(RUNC_BUILD_PATH) .
docker rm $(RUNC_INSTANCE)

install:
cp runc /usr/local/bin/runc
install -D -m0755 runc /usr/local/sbin/runc

uninstall:
rm -f /usr/local/bin/runc
rm -f /usr/local/sbin/runc

clean:
rm -f runc
Expand Down

0 comments on commit e874369

Please sign in to comment.