Merge pull request #702 from cyphar/install-to-sbin

Makefile: install to /usr/local/sbin
This commit is contained in:
Mrunal Patel 2016-04-12 12:12:08 -07:00
commit e874369984
1 changed files with 3 additions and 3 deletions

View File

@ -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