mirror of
https://github.com/valitydev/image-riak-base.git
synced 2024-11-06 10:15:24 +00:00
Makefile: stage3 repack has been added.
This commit is contained in:
parent
cd601080ce
commit
495de1d11d
6
Makefile
6
Makefile
@ -22,7 +22,11 @@ submodules: $(SUBTARGETS)
|
||||
repos: $(REPOS_TARGET)
|
||||
|
||||
.latest-stage3: build-utils/sh/getstage3.sh .git
|
||||
UTILS_PATH="$(UTILS_PATH)" build-utils/sh/getstage3.sh amd64 -hardened+nomultilib | tail -n 1 > .latest-stage3
|
||||
$(eval STAGE3 := $(shell UTILS_PATH="$(UTILS_PATH)" \
|
||||
build-utils/sh/getstage3.sh amd64 -hardened+nomultilib | tail -n 1))
|
||||
$(DOCKER) run -v `pwd`:/tmp/pwd busybox /bin/sh -c \
|
||||
"mkdir -p /tmp/repack; cd /tmp/repack; tar xjf /tmp/pwd/$(STAGE3); tar cjf /tmp/pwd/$(STAGE3) ."
|
||||
echo $(STAGE3) > $@
|
||||
|
||||
.state: .latest-stage3 $(PACKER) $(REPOS_TARGET) packer.json files/packer.sh files/portage.make.conf
|
||||
$(eval TAG := $(shell date +%s)-$(shell git rev-parse HEAD))
|
||||
|
Loading…
Reference in New Issue
Block a user